An elderly acquaintance who couldn't cope with battery recharging was getting through dry cells rapidly by leaving their torch switched on, so I built the following LED torch circuit which switches off automatically after about five minutes. Switching the torch off manually then resets the circuit.
View attachment 55877
Operation
On closing the switch G1 output goes high and the capacitor charges slowly through R2. The high output of G3 provides base current for Tr1 via...