If that really is the way you hooked it up, be aware that the cigarette lighter is a switched source, i.e., it is live only when the ignition is ON.