This simple circuit connects in external battery to a load when the AC Power line fails. S1 can be used to turn off the circuit at day, if it is used to power a lamp. The circuit also keeps the battery under charge in the presence of the AC power line voltage.
Emergency Light