CHARGING BATTERY WHILE CONNECTED TO INVERTER