mavBatteryStatusFlagsCapacityRelativeToFull top-level constant

MavBatteryStatusFlags const mavBatteryStatusFlagsCapacityRelativeToFull

Battery capacity_consumed and capacity_remaining values are relative to a full battery (they sum to the total capacity of the battery). This flag would be set for a smart battery that can accurately determine its remaining charge across vehicle reboots and discharge/recharge cycles. If unset the capacity_consumed indicates the consumption since vehicle power-on, as measured using a power monitor. The capacity_remaining, if provided, indicates the estimated remaining capacity on the assumption that the battery was full on vehicle boot. If unset a GCS is recommended to advise that users fully charge the battery on power on.

MAV_BATTERY_STATUS_FLAGS_CAPACITY_RELATIVE_TO_FULL

Implementation

const MavBatteryStatusFlags mavBatteryStatusFlagsCapacityRelativeToFull =
    262144;