It is recommended that both batteries and hard-wired alarms should be replaced after 10 years.