In the event of a power outage, a lamp with rechargeable batteries automatically illuminates. The lamp may be a detachable flashlight that is mechanically and electrically connected to a pole lamp or a desk lamp, for instance, so that its batteries recharge when power is available for the pole lamp or desk lamp. A mechanical connection between the flashlight and the pole or desk lamp may be with threaded male and female connectors. An arm extension may be provided from the lamp to contain one of the mechanical connectors and one of the electrical connectors.