That used to be the case but there are so many old smoke detectors around that were designed for lead acid batteries, now everyone puts lithium batteries in them that have almost no voltage drop when they are low on power and they can beep and be functional a year.
What do you think happens? 🤣