Fix charger.c