Be glad it's only chirping.
When I bought my house, I didn't realize the "hard wired" smoke detectors also needed batteries - and when the battery died on one, the alarms ALL went off. At 0200.
I was not happy.
Same thing happened at about the 9 year mark when one of the detectors reached it's end-of-life.
New batch has lasted ~13 years so far, so I'm on borrowed time . . .