Several companies make Automatic Charging Relays (ACR). When one battery has a charging voltage and the other does not, they get connected together. When the charging source goes away, they get separated. It is automatic and avoids the voltage los...