I bet it was in the bottom of the Tower Block, a building that hasn't seen much investment in recent years.
When maintenance budgets were cut, one of the first maintenance routines to go was the regular checks that the backup batteries are holding their charge. They're there for when there's a power cut.
I leave you, dear reader, to work out the rest of this sorry tale for yourself...