Question: are battery operated smoke detectors legal?
Answer: Hardwired. Homes built before 1992 generally aren't required to have hardwired smoke detectors. However, they still need to have smoke detectors installed, although battery-powered ones are adequate. ... This law also applies to homes built before 1992 that have been through major renovation projects.