battery charge controller and load diverter