Charge controller/battery/inverter protections