247-IT Guide
Replacing UPS batteries: when is it time?
The battery is the wear part of every UPS, and it ages unnoticed. How long it lasts, how to tell it needs replacing, what the self-test misses and how to plan the swap without leaving the servers unprotected.
Why UPS batteries age
Most UPS units contain sealed lead-acid batteries (VRLA). They age even if the UPS never switches to battery: the constant float charge slowly corrodes the plates. The datasheet states a design life according to Eurobat, such as “3–5 years” or “10–12 years”. That value applies at 20 °C. A battery is usually considered at the end of its life when it delivers only 80 % of its rated capacity.
Temperature has the biggest influence. As a rule of thumb, life roughly halves for every 10 °C above 20 to 25 °C:
| Ambient temperature | Share of design life | Example: 5-year battery |
|---|---|---|
| 20–25 °C (air-conditioned server room) | full | about 5 years |
| 30–35 °C (network cabinet without cooling) | about half | about 2–3 years |
| 40–45 °C (storage room in summer) | about a quarter | about 1 year |
Deep discharges and frequent short transfers, for example on an unstable grid, add to this. Lithium-ion UPS units last considerably longer but need monitoring just the same.
How to tell that the battery needs replacing
| Warning sign | Source | What to do |
|---|---|---|
| UPS reports “replace battery” | APC “Replace Battery” indicator, Eaton cards (MGE), NUT status RB | schedule a replacement |
| Self-test failed | test result via SNMP (RFC 1628) or NUT | repeat after a full charge, then replace |
| “Battery bad” alarm | the UPS alarm table (RFC 1628, Eaton) | replace immediately |
| Runtime drops at the same load | history of runtime and discharge | capacity is fading, schedule a replacement |
| Battery older than its design life | installation date in the network card, battery.date in NUT | replace as a precaution |
| Battery swollen, hot or smelling | visual inspection | replace immediately |
The most dangerous warning sign is the one nobody sees: the UPS shows “replace battery” on its display in the server room, but nobody looks. That message belongs in an alert.
What the self-test shows and what it does not
- Self-test — the UPS switches to battery for a few seconds. That finds defective blocks and connection faults, but not how much capacity is left. An aged battery often still passes the test but lasts only a fraction of the expected time in a real outage.
- Runtime calibration — the UPS largely discharges the battery under real load and measures the actual runtime. Only afterwards is the displayed runtime accurate again. Calibration stresses the battery and leaves it half empty for hours. Only run it in a maintenance window with a fully charged battery, and no more than once or twice a year.
A regular self-test, for example monthly, still makes sense: it fails before the next power outage does. How runtime relates to load and age is covered in the guide Calculating UPS runtime.
Planning the battery replacement
- Same specification — capacity, form factor and design life as stated in the UPS manual, original battery packs or approved replacement types.
- All blocks of a string at once — a new block next to old ones gets dragged down by them.
- Choose the time — many rack UPS units allow hot swapping. During the swap, however, the UPS does not protect the load. No swap when a storm is forecast, and only in a maintenance window for UPS units without hot swap.
- After the swap — let the battery charge fully, enter the installation date in the network card, run a self-test and calibrate the runtime later.
- Check the thresholds — with a new battery the runtime is accurate again. Adjust the shutdown thresholds to the measured runtime.
- Disposal — old batteries do not belong in household waste. Resellers and manufacturers take them back.
Monitoring battery health with the UPS Hyper-V Shutdown Monitor
The UPS Hyper-V Shutdown Monitor polls the UPS regularly anyway and evaluates the battery state along the way:
- “Replace battery” alert — when the UPS reports that the battery needs replacing or a self-test failed, an alert goes out over the configured channels, by email and SNMP trap in every edition.
- UPS alarms on the dashboard — active alarms such as “battery bad” from the UPS alarm table, via SNMP and NUT.
- Battery health trend — in the Reports tab, compares the discharge rate of the older and the more recent half of the period and shows the self-test history. A simple, traceable heuristic, not a prediction.
- Scheduled self-test — manually or weekly or monthly, via SNMP or NUT. The test only starts on mains power, without bypass and with sufficient battery charge.
Which values a UPS provides depends on the vendor and the network card. The software evaluates the “replace battery” indicator for APC, for Eaton cards of the MGE series and via NUT.
UPS battery checklist
- Installation date known — entered in the network card and noted in the maintenance plan.
- Temperature in view — the UPS does not sit in the warmest corner of the room.
- Alert set up — “replace battery” and “self-test failed” reach a person or the ticket system.
- Regular self-test — about monthly, with the result evaluated.
- Runtime measured — the thresholds match the actual runtime, not the datasheet value.
- Replacement planned — well before the end of the design life, not after the first outage.
Frequently asked questions
How long does a UPS battery last?
Mainly that depends on the design life in the datasheet and on temperature. A lead-acid battery rated 3–5 years lasts about that long at 20 to 25 °C, but only about half as long at 30 to 35 °C.
Is a passed self-test proof enough?
No. The self-test finds defective blocks but does not measure the remaining capacity. Only a runtime calibration or a real outage shows the actual runtime.
Can I replace the UPS battery while it is running?
With many rack UPS units, yes, if the manual allows hot swapping. During the swap, however, the load is not protected. For UPS units without that option, replace in a maintenance window.
Do I have to replace all battery blocks at once?
Yes, all blocks of a string. A new block next to aged ones gets dragged down by them and ages faster.
More guides
Hyper-V on Server Core
Protecting hosts without a desktop via WinRM or a web interface.
Restarting after a power outage
Starting servers, storage and VMs automatically when power returns.
Eaton IPM alternative for Hyper-V
Node licensing, editions and Hyper-V integration compared.
Shutting down Hyper-V VMs in a power outage
Stop action, shutdown order and time budget for an orderly shutdown.
SNMPv3 on a UPS network card
authPriv with SHA and AES instead of a plain-text community.
NUT on Windows
Query a UPS via Network UPS Tools from a NAS or Linux server.
Hyper-V failover cluster power outage
Coordinating quorum, CSV and live migration.
Active Directory & power outages
The USN rollback myth and the real risks for domain controllers.
SQL Server & Exchange on Hyper-V
Protecting databases during a power outage.
Calculating UPS runtime
Why the datasheet runtime rarely holds.
PowerChute alternative for Hyper-V
UPS shutdown without vendor lock-in.
Monitoring UPS units from multiple vendors
One tool instead of several silos.
Keep an eye on the UPS battery
30 days free, every feature included. With a replace-battery alert, battery health trend and scheduled self-test.