mavlink / qgroundcontrol

Cross-platform ground control station for drones (Android, iOS, Mac OS, Linux, Windows)
http://qgroundcontrol.io
3.18k stars 3.52k forks source link

Warn user controller battery low! #11347

Open Publicano opened 4 months ago

Publicano commented 4 months ago

Read the battery status of the Android controller and alert the user if the battery is running low. This prevents an uncontrollable drone due to an empty controller.

Tell us a bit about the feature:

HTRamsey commented 4 months ago

Good references for this: Java Cpp

Publicano commented 2 months ago

Now try implementing one of the following solutions. https://falsinsoft.blogspot.com/2017/06/qml-get-android-battery-level-and-status.html https://github.com/FalsinSoft/QtExamples/tree/master/QML/AndroidBatteryLevel

Does anyone already have it working?