Update charger/charger.c