Change connected to isCharging