Even better, in California, it's mandated you have to install smoke alarms with 10-year batteries. Well worth it!
(checked the grandparent's homes on either side of the family some years back and there were 40+ year old smoke alarms, well beyond their 10-year expiration and with dead batteries!)