Question: are battery operated smoke alarms legal?
Answer: 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.