Relay controls battery charge and discharge current