The battery is the part of a UPS that wears out. Most small units use sealed lead-acid batteries that last about 3 to 5 years in a cool room and much less in a hot one, so knowing how to judge, replace and dispose of them is part of owning a UPS.
A UPS's electronics can run for a decade. Its battery usually cannot. Standard VRLA (valve-regulated lead-acid) batteries age even when they are never used, and heat speeds that aging dramatically: a common rule from battery makers is that life roughly halves for every 8 to 10 °C (15 to 18 °F) of sustained temperature above 77 °F (25 °C). The result is that battery care, not the UPS itself, decides whether your backup works on the day you need it.
What this section covers
Choosing: battery chemistries (AGM, gel, flooded, LiFePO4, Li-ion), the standard block sizes and terminal types, and OEM cartridges versus aftermarket batteries, plus why a car or deep-cycle battery on a UPS takes days to recharge.
Living with: what determines lifespan, and how to store a UPS or spare battery without ruining it.
Replacing: the signs and tests that tell you a battery is done, and a safe step-by-step replacement procedure.
Safety and disposal: what to do about a swollen battery, and how to recycle lead-acid and lithium batteries properly.
Suggested reading path
Start with UPS battery types to understand what is inside your unit.
Stop using the UPS, switch it off, unplug it and ventilate the area. Do not force a swollen battery out of its compartment. See swollen UPS battery for what to do next.