Update charger.c