I needed a way to keep memory in an in dash head unit at my bench so that I could shut down my large power supply. So I used a very low current power supply and a relay to switch between the two. Though the voltage does drop to zero momentarily while the relay switches the head unit doesn't notice and effectively retains memory. The light represents the head unit.