HOW DOES A LITHIUM BATTERY WORK WITH AN INVERTER