When the voltage on the first battery goes above the trigger, the relay closes and connects the batteries. When the voltage drops below the trigger the relay opens separating the batteries. So the batteries are connected when charging and separated when not charging.