BatteryStatusProvider

interface BatteryStatusProvider

Interface providing battery status.

Functions

Link copied to clipboard
abstract fun getBatteryLevel(): Int

Get the client battery level.

Link copied to clipboard
open fun isApproximateLevel(): Boolean?

Returns a level measured as approximate or not

Link copied to clipboard
abstract fun isCharging(): Boolean?

Returns whether charging or not.