In a circuit having an array of light emitting diodes operable on AC mains power and on DC power from a battery when mains power is unavailable, battery charging and charge maintenance circuitry, a current limited source, and a boost converter circuit having an output capacitor and being driven by a transister having a base, the light emitting diode array and the battery being connected across the output of the output capacitor to connect the light emitting diode array and the battery in series, the circuit further comprising means for identifying the presence of AC power on the circuit, the identifying means comprising a diode and a smoothing capacitor located in the circuit between the source of mains power and the light emitting diode array, the diode and the smoothing capacitor holding the base of the transistor below emitter potential during AC current flow, thereby allowing the current limited source to operate the LED array on AC mains power with simultaneous charging and maintenance of charge of the battery through the same current path.