Wall inverter battery to external power supply