Rhynio

UPS runtime estimate drops on battery? Compare the outage log before judging battery life

Your UPS showed plenty of time before the outage, then the reading fell or your NAS went into protection. Compare two readings and trace the last confirmed event to see what the record can tell you.

Compare the reading with the event

A drop from 40 to 20 minutes is a change in estimated time remaining. To work out what happened during the outage, use the timestamps and check the UPS, host and monitoring records for their last confirmed events.

Pair the last online and first on-battery samples

  1. Find the last fresh online reading and the first fresh on-battery reading for the same UPS in the same incident. Record the timestamps, time zone and polling interval. Line up clocks before comparing records from different devices. If clock differences are uncertain, leave close events unordered.
  2. Write down runtime with its original unit, plus load and battery charge if logged. Convert both estimates to the same unit before subtracting. A changed load or charge is context for the comparison. If the unit, reading or device identity is missing, leave the numeric comparison unresolved.
  3. Record any independently timestamped transfer event. With periodic samples alone, the transfer is bracketed by the last online and first on-battery poll, assuming the readings are fresh and capture the same transition.

Network UPS Tools (NUT) 2.8.4 defines battery.runtime in seconds, battery.charge in percent and ups.load in percent. Read OL as online, OB as on battery and LB as low battery. Flags such as OB LB can appear together. NUT 2.8.3’s default upslog format omits runtime. Mark any missing field as unrecorded. NUT variables · NUT status flags · upslog manual

Schneider Electric says the Smart-UPS estimate varies with connected load, battery charge and battery age, and describes the on-battery estimate as more accurate for that line. It also documents possible inaccuracy under light load on SMC, SMT, SMX and SRT models. Use the documentation for your exact UPS to interpret its estimate. Smart-UPS runtime estimates · Smart-UPS LCD accuracy

Worked example with fictional readings

· OL
2,400 seconds estimated
25% load · 100% charge
· OB
1,200 seconds estimated
25% load · 99% charge

The estimate fell by 20 minutes (40 − 20). The samples were 30 seconds apart. Their displayed loads were equal and reported charge fell by one percentage point.

The first on-battery sample was at . The last fresh sample was still OB at , and the monitor stopped updating. That is 4 elapsed minutes between those samples. The transfer itself might have preceded the first battery sample, and the shutdown time, mains return, UPS output and battery capacity remain unknown.

Find what ended the incident or the record

Mains returned
Look for a fresh return to OL or a dated UPS input-restored event. Use that timestamp for mains return. With a poll, report when mains was first seen back.
The host entered protection or shut down
Check the policy in effect at the time and record its trigger, delay and action. Then look for a host event stating which action started and any separate record of completion. A configured timer gives an expected trigger. A protected-state record establishes the stated host state. For instance, a fictional policy event at 10:02 and NAS safe-state confirmation at 10:03 can coexist with a fresh on-battery UPS reading at 10:04.
The UPS stopped supplying output
Look for a UPS event that identifies output loss or a fresh OFF flag in ups.status from a driver that reports it. Check which output or outlet group the event covers. The cause can remain open even when the output state is known.
The record ended or monitoring lost contact
Write down the last fresh reading and any explicit communication error. Without a separate host, mains or output event, write “endpoint unknown.” A flat dashboard value can be the last value the monitor received.

In NUT 2.8.4, an upsmon COMMBAD notice indicates lost communication. A SHUTDOWN notice describes local shutdown in progress. Check which machine recorded it before drawing a conclusion about another host. upsmon notifications

If you contact support, include the exact UPS model, both timed estimates, load and charge if available, the configured policy and the last confirmed event. State which endpoint is missing so support can ask for the relevant log.

Open the printable outage worksheet

UPS outage worksheet

Open this section before printing from your browser, or copy it into a document. Write “unknown” beside any field the record cannot establish.

  1. Incident date, time zone, clock differences and logging interval
  2. UPS model, host and log sources
  3. Last online sample — time, status, runtime and unit, load, charge
  4. First on-battery sample — time, status, runtime and unit, load, charge
  5. Change in reported estimate and whether the samples are comparable
  6. Policy in effect — trigger, delay and action
  7. Host event — time, source and whether action started or completed
  8. Mains return — time and source
  9. UPS output loss — time, source and outlet group if known
  10. Last fresh sample or communication failure — time and source
  11. Elapsed time — start and end events, their times and what the interval measures
  12. What the evidence establishes and what is still unknown