bool isBatteryCharging()

Detects if the device battery is charging or not.

Return

True if the device battery is charging, false otherwise.