HOW DOES AN INVERTER COMMUNICATE WITH A BATTERY