getBatteryStatistics

abstract suspend fun getBatteryStatistics(updateProgress: suspend (progress: Progress) -> Unit = {}): BatteryStatistics

Get battery statistics from sensor.

Return

Battery statistics BatteryStatistics

Parameters

updateProgress

Progress of the operation