Uses method channel for getting charging status.
static Future<bool> get isCharging async { return await _methodChannel.invokeMethod('getChargingStatus'); }