Inverter/charger/switch question