So what are the things you need to do to be sure your smoke detectors are working?
Change the batteries at least once a year.
Replace any smoke detector that is over 10 years old.
Test alarms monthly.
Clean according to the alarm's instruction manual. Cobwebs and dust can interfere with how well the alarm works.