solar inverter with battery charging control