We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 422c10c commit 5d5611cCopy full SHA for 5d5611c
ArduSub/GCS_Mavlink.cpp
@@ -205,7 +205,8 @@ NOINLINE void Sub::send_extended_status1(mavlink_channel_t chan)
205
int8_t battery_remaining = -1;
206
207
if (battery.has_current() && battery.healthy()) {
208
- battery_remaining = battery.capacity_remaining_pct();
+ // percent remaining is not necessarily accurate at the moment
209
+ //battery_remaining = battery.capacity_remaining_pct();
210
battery_current = battery.current_amps() * 100;
211
}
212
0 commit comments