Earlier quoted context omitted.
It's called a battery isolator, and it's basically a monster diode from the alternator to the battery. Very common setup for RV's, etc. I had one set up in my Jeep so that it would charge the deep cycle marine battery for my fishing pontoon's electric motor... way, way faster than anything you plug into the wall.
I think you might mean solenoid?? It's controlled by the ignition. When the key is on / car running both batteries are in parallel. When the ignition is cut, the solenoid isolates a few circuits that are wired on the backup battery side of the solenoid. This is what I have in my vanagon. I run the radio, fridge, interior lights and some 12v / USB outlets. http://www.gowesty.com/product-details.php?id=2418
https://en.wikipedia.org/wiki/Battery_isolator
https://www.amazon.com/NOCO-IGD140HP-140-Battery-Isolator/dp...