Cordless battery-powered lamps