getBatteryCycleCount

abstract fun getBatteryCycleCount(): OptionalInt

Retrieves the device's current battery cycle count.

Battery cycle count may be unsupported depending on the drone model and/or firmware versions. Hence, clients of this API should call isAvailable method on the returned value to check whether it can be considered valid before use.

Return

current battery cycle count

See also