Measure the inverter battery capacity