BatteryState
This is a ROS message definition.
Source
float32 voltage -1.0 # [V]
float32 current -1.0 # [A]
float32 percentage -1.0
# Watt-hours drained since the last full charge. This is a measure of the energy consumed by the battery,
# and can be used to estimate the remaining flight time based on the current power consumption.
float32 wh_drained -1.0