Abstract: A lamp device with power outage sensing abilities to detect when a primary power source is interrupted and to energize primary LEDs when primary power source is ON, and to energize backup LEDs when the primary power source is OFF. The power outage sensing circuit may also detect a light switch condition allowing for greater efficiency in emergency power supply usage. A battery charging system may provide battery thermal protection and multiple charge rates to improve battery charging as a function of the temperature in the lighting device.