Yes it should prevent it. I have used a 9V battery and an adapter that plugs into the cigarette lighter to keep cars from reseting when changing out the battery.