do hard wired smoke detectors have a battery