isChargerConnected

abstract fun isChargerConnected(): Boolean

Returns the charger plugin state

Return

true if the charges is plugged in, false otherwise