Battery Info
Instrument that informs about a device's battery.
This instrument can be obtained from a instrument providing device (such as a drone or a remote control) using:
device.getInstrument(BatteryInfo.class)
See also
com. parrot. drone. groundsdk. device. instrument. Instrument. Provider
Instrument.Provider#getInstrument(Class, Ref.Observer)
Functions
get Battery Cycle Count
Link copied to clipboard
Retrieves the device's current battery cycle count.
get Battery Health
Link copied to clipboard
Retrieves the device's current battery state of health, as an integer percentage of full health.
get Battery Level
Link copied to clipboard
Retrieves the device's current battery charge level, as an integer percentage of full charge.
is Charging
Link copied to clipboard
Tells whether the device is currently charging.