Another simple task; your detectors should have a “test” button. If the alarm sounds, you’re good to go. If not, replace batteries immediately and test again. If it still doesn’t sound, it’s possible there’s simply corrosion on the battery terminal, and it won’t detect new batteries.  Clean it and try again. If it still doesn’t work, you’ll likely need a new detector.