HELP! battery charger circuit design

I have a circuit that is connect to a battery and a charger See picture below.

What I need is when I disconnect the battery the charger is also disconnected from the circuit. How can I do this?

Does the circuit include a voltage regulator? Or maybe it can handle a certain amount of overvoltage in some other way? What type of battery is it?

Depending on the answers to the previous questions, you may be able to detect that the battery is disconnected by detecting excessive voltage output from the charger, and use that to disconnect the circuit.

Yes it does include a voltage regulator from the charger to the circuit. However, is this only accomplished with an increase in voltage detection?

What I need is when I disconnect the battery the charger is also disconnected from the circuit. How can I do this?

Perhaps a DPST switch, one pole for the battery and one pole for the charger?

Lefty

Perhaps a DPST switch, one pole for the battery and one pole for the charger?

What DPST switch (an image would help) can I use that once I remove the battery the power is cut off to the circuit. I was thinking of a relay however it keeps latching which is not good.

baligena:

Perhaps a DPST switch, one pole for the battery and one pole for the charger?

What DPST switch (an image would help) can I use that once I remove the battery the power is cut off to the circuit. I was thinking of a relay however it keeps latching which is not good.

You mean like this?

http://www.kpsec.freeuk.com/symbols/swdpst.gif

http://images.wikia.com/guitarbuilding/images/6/6a/DPST_Switch.jpg

Lefty