<div dir="ltr"><div>Adding to that reply, for collection of UPS data from NUT you may want to use the `upslog` client which takes care of running in a loop at a frequency you would want, and reporting the data points you may be interested in. Then you can use that wall of text as CSV for graphing, etc.</div><div><br></div><div>Jim</div><div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Sep 9, 2025 at 7:37 PM Greg Troxel via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net">nut-upsuser@alioth-lists.debian.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Bruce Pleat via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net" target="_blank">nut-upsuser@alioth-lists.debian.net</a>><br>
writes:<br>
<br>
> Over time and houses, I have accumulated several UPS of different brands<br>
> and capabilities.<br>
> I've been trying to figure out a way to test them in a somewhat<br>
> standardized way. (Test ~ see how long they last and how quickly the<br>
> decline on a given load so that I can determine how the batteries will<br>
> perform in "real life", at least relative to each other.)<br>
> I was wondering if I missed any obvious existing references on the topic,<br>
> and/or if anybody has any thoughts on the matter?<br>
<br>
Your logic seems sound.<br>
<br>
The real question is what load do you care about.<br>
<br>
<br>
When doing this, use an outlet strip as the input and turn it off, don't<br>
unplug it, so the UPS still has ground.  Use a good one with UL etc<br>
ratings, rated for 1500 W.  It's it's a 1500VA UPS, think harder and ask<br>
your electrician how to do this safely.<br>
<br>
While the discharge test is running, stay in the room.  Better yet, do<br>
it outside, and also the recharge.  But not if raining :-)  Seriously,<br>
think about the safety issues.<br>
<br>
> To date, my thought was, wait for temps to stay below 30/86 (hahaha), run<br>
> an Edison bulb off one outlet (bought a 300W for this purpose), and monitor<br>
> via NUT.<br>
<br>
Easy! It was 8 outside when I woke up.  But indeed, depends...<br>
<br>
> For each UPS:<br>
> Charge fully<br>
> Take readings (via NUT of course)<br>
> Plug in bulb, monitor readings<br>
<br>
"charge fully" is tricky; I'd say plug it in and leave it powered on for<br>
a week.<br>
<br>
> Run to 0%<br>
<br>
so you mean<br>
<br>
  don't configure nut to do FSD/power-off when battery becomes critical.<br>
  monitor only<br>
<br>
  check configuration of the UPS to be sure it's in "run as long as you<br>
  can" mode<br>
<br>
  just let it run until the UPS itself powers off<br>
<br>
> Go to the next UPS<br>
> Repeat the set<br>
> (If >5% difference between runs on any, run a 3rd set; if 2nd and 3rd<br>
> align, throw away data from 1st)<br>
<br>
I suppose you can repeat but you really need to let it sit plugged in a<br>
very long time to get recharged.  I really mean a week.    I'd say after<br>
2 tests on each UPS, step back and if they aren't close, post here and<br>
let's talk about it.   This is bad for the batteries; some amount of<br>
validation is necessary.<br>
<br>
> Then repeat down to just 50% instead of 0%<br>
<br>
Why?  What you really care about is runtime, and '50% is just some<br>
measure of what the UPS thinks is 50%, not truly meaning same time<br>
before/after.<br>
<br>
Publish graphs of %/time-remaining/voltage during each discharge.  Go<br>
nuts and make a blog post of it.<br>
<br>
> Then test to see if the lightbulb is still consuming energy at the same<br>
> rate.<br>
<br>
Sure, but probably that's ok.   Keep logs of output voltage too.<br>
<br>
> Please chime in on a better (and less energy-wasting) process if you have?<br>
<br>
No, you really have to extract energy to see if you can extract energy.<br>
It's not really that much.<br>
<br>
> My original planning notes:<br>
> - UPS include 550VA to 1500VA/900W, some others; APC, CyberPower, Amazon<br>
> basics, other brands. Record info on all...<br>
> - Check all for any acid/leak due to age/storage. Do outside of house, just<br>
> in case...<br>
<br>
good!<br>
<br>
> - test which allow muting of beeping, schedule accordingly (family, calls,<br>
> sanity). Quick test...<br>
> - Normalize thermals for at least 48 hours before testing<br>
> - Test that all can be monitored in NUT; preferably all USB, all recognized<br>
> as such in NUT UPS by USB driver, to avoid any variability in drivers or<br>
> other. Configure/Test...<br>
> - Use a fixed-rate load to avoid any variability; tech equipment itself<br>
> might not be best, maybe a curling iron or iron or light bulb? Be aware of<br>
> heat. Brightest bulb I can find is 300W, will that drain all my UPS<br>
> sufficiently for this test? Is this a valid substitute for tech gear or is<br>
> the consumption different enough? Research...<br>
<br>
Get a power mere and measure your actual loads.  Look at the VA reported<br>
by NUT for your actual loads.  For me, it's 61 VA and 134 VA on two<br>
units, each rated for 660 VA.   I use a 60W bulb for load testing.<br>
<br>
<br>
If your 1500 VA unit feeds 300W, and your 550 VA unit feeds 60W,<br>
consider having a "big UPS" and a "small UPS" test.<br>
<br>
> - Run high-power extension cord outside, bulb should run outside. Make sure<br>
> cord and fixture support lengthy durations at this power. Does outside<br>
> temperature matter significantly? Research...<br>
<br>
Bulb and outside probably not.<br>
<br>
> - Linux or Windows NUT? Linux: N150 or Raspberry or my heavyweight Laptop?<br>
> Local, VM, LXC, Container? Likely not relevant. Ask NUT User group...<br>
<br>
> - Focus on 10%+ variances, not the tiny variances.<br>
> - not scientific, just ballparking, but don't want to rely on bad batteries.<br>
<br>
Sure, just don't get upset at 75min runtime and then 60min as a bad<br>
test.  Could be batteries harmed by test.<br>
<br>
As for scientific, there's nothing like figuring out what the UPS will<br>
see when it really gets used and doing that.  Then you have tested your<br>
equipment, as opposed to varying lots of things and figuring out<br>
patterns.<br>
<br>
<br>
Another thing you can do is test batteries separately, but that's not<br>
the same thing.<br>
<br>
See the end of<br>
<br>
  <a href="https://s1.lexort.com/topics/ham-battery-howto/" rel="noreferrer" target="_blank">https://s1.lexort.com/topics/ham-battery-howto/</a><br>
<br>
for tests of new Raion 12V 9Ah batteries.<br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
</blockquote></div>