Here in Scotland mains powered smoke alarms have been mandatory in all new builds and alterations or extensions requiring Building Warrant since approx. 1992.