isCharging

abstract fun isCharging(): Boolean

Tells whether the device is currently charging.

Return

true if the device is charging, false otherwise