It’s the same here in New Jersey, or at least the city I’m in. Recently a fire inspector came by the condo building I was living in & failed ~ 60% of the units because they still had the old style replaceable battery smoke detectors. Apparently going forward we are/were supposed to be using sealed battery smoke detectors & replace them entirely every ~10 years when they stop working.
EDIT: Not sure if that’s OP’s problem unless their alarm company is so cheap that they keep giving OP really old detectors to replace with.