Added support for turning off charger