diff --git a/ArduPlane/GCS_Mavlink.pde b/ArduPlane/GCS_Mavlink.pde index 528cbcb652..bd954673d1 100644 --- a/ArduPlane/GCS_Mavlink.pde +++ b/ArduPlane/GCS_Mavlink.pde @@ -254,7 +254,7 @@ static NOINLINE void send_extended_status1(mavlink_channel_t chan) int16_t battery_current = -1; int8_t battery_remaining = -1; - if (battery.monitoring() == AP_BATT_MONITOR_VOLTAGE_AND_CURRENT) { + if (battery.has_current()) { battery_remaining = battery.capacity_remaining_pct(); battery_current = battery.current_amps() * 100; }