there is a wire that goes to the battery and another that goes to a switched power source. kind of like a car radio. one wire is always hot to keep the memory in the radio and when you turn the key, the radio turns on. there is no memory in the msd but this is how it works.