I got around to unplugging my UPS and I found it doesn't last nearly as long as estimated. Is the "upsmon[1446]: UPS desktop_ups at localhost battery is low" logged when "battery.runtime:" = "battery.runtime.low: 120"? Does any make better batteries that don't go down faster when they get old? battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 50 battery.date: not set battery.mfr.date: 2015/09/19 battery.runtime: 6448 battery.runtime.low: 120 battery.type: PbAc battery.voltage: 13.5 battery.voltage.nominal: 12.0 device.mfr: APC device.model: Back-UPS ES 550G device.serial: 4B1538P22406 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.parameter.synchronous: no driver.version: 2.7.4 driver.version.data: APC HID 0.96 driver.version.internal: 0.41 input.sensitivity: medium input.transfer.high: 139 input.transfer.low: 92 input.voltage: 121.0 input.voltage.nominal: 120 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.firmware: 904.W1 .D ups.firmware.aux: W1 ups.load: 5 ups.mfr: APC ups.mfr.date: 2015/09/19 ups.model: Back-UPS ES 550G ups.productid: 0002 ups.serial: 4B1538P22406 ups.status: OL ups.timer.reboot: 0 ups.timer.shutdown: -1 ups.vendorid: 051d Sep 6 17:27:00 x upsmon[1446]: UPS desktop_ups at localhost on battery Sep 6 17:39:35 x upsmon[1446]: UPS desktop_ups at localhost battery is low Sep 6 17:39:35 x upsmon[1446]: Executing automatic power-fail shutdown Sep 6 17:39:35 x upsmon[1446]: Auto logout and shutdown proceeding
On 07/09/2019 08.28, James wrote:> I got around to unplugging my UPS and I found it doesn't last nearly as long as estimated. > > Is the "upsmon[1446]: UPS desktop_ups at localhost battery is low" logged when "battery.runtime:" = "battery.runtime.low: 120"? > > Does any make better batteries that don't go down faster when they get old?In my experience batteries die after about 4 years. No UPS that I owned could tell that the batteries are bad, I find this when the UPS power is disconnected and the UPS shuts down soon (often in seconds). You can test the condition of the battery by periodically removing the power input and see how long it actually runs down to, say, 20%. Vendor software usually has a "test" feature, don't know if nut has this. HTH [trim] -- Eyal at Home (eyal at eyal.emu.id.au)
On 2019-09-06 7:02 p.m., Eyal Lebedinsky wrote:> On 07/09/2019 08.28, James wrote: >> I got around to unplugging my UPS and I found it doesn't last nearly >> as long as estimated. >> >> Is the "upsmon[1446]: UPS desktop_ups at localhost battery is low" logged >> when "battery.runtime:" = "battery.runtime.low: 120"? >> >> Does any make better batteries that don't go down faster when they get >> old? > > In my experience batteries die after about 4 years. > > No UPS that I owned could tell that the batteries are bad, I find this > when the UPS power is > disconnected and the UPS shuts down soon (often in seconds). > > You can test the condition of the battery by periodically removing the > power input and see how long > it actually runs down to, say, 20%. > > Vendor software usually has a "test" feature, don't know if nut has this. > > HTH > > [trim] >It runs down in 10 minutes yet takes a long time to charge to full (it estimates another 5 hours (it's already been 4 hours)). I did a test: $ upscmd -u xxxx -p xxxx desktop_ups test.panel.start $ upsc desktop_ups ups.status: OL CHRG I think it thinks it is ok.
On Sep 6, 2019, at 6:28 PM, James wrote:> > I got around to unplugging my UPS and I found it doesn't last nearly as long as estimated.The estimates are typically less accurate when the load is light (output is showing 5%). Also, as Eyal mentioned, five years is getting old for a lead-acid battery.> > Is the "upsmon[1446]: UPS desktop_ups at localhost battery is low" logged when "battery.runtime:" = "battery.runtime.low: 120"?To first approximation, yes. Technically, upsmon is looking for the LB flag in ups.status, which is usually sent in a status bit from the UPS. But "battery.runtime.low" is one of the things that triggers LB (the other being "battery.charge" going below "battery.charge.low"). There are also ways for NUT drivers (see "ignorelb") to make that decision in the driver code rather than looking at the UPS status bit, though generally APC seems to get this right. On Sep 6, 2019, at 7:02 PM, Eyal Lebedinsky wrote:> No UPS that I owned could tell that the batteries are bad, I find this when the UPS power is > disconnected and the UPS shuts down soon (often in seconds).APC, Tripp-Lite, and MGE/Eaton typically do periodic tests that can detect this. Sometimes it isn't on the entry-level models, and sometimes you have to trigger the test manually, but it's definitely out there. (Getting a notification from NUT in time to replace the battery is sometimes another issue entirely, since it isn't easy to simulate battery failures.)> > You can test the condition of the battery by periodically removing the power input and see how long > it actually runs down to, say, 20%. > > Vendor software usually has a "test" feature, don't know if nut has this.test.battery* instant commands: https://networkupstools.org/docs/user-manual.chunked/apcs02.html (I don't know if test.panel.start is exactly the same.) More detailed status is typically reported in the "ups.test.result" variable: https://networkupstools.org/docs/user-manual.chunked/apcs01.html (The driver should pick up on this and also include "RB" (replace battery) in "ups.status", but again, this is hard to test.) James: in your case, this might be due to your APC model not showing the full set of variables over the standard USB HID interface. (Search the web for "APC" and "Modbus" for details.)
I tested my batteries using a load I bought from Amazon - KKmoon Multi-Functional Constant Current Electronic Load 9.99A 60W 30V Discharge Power Supply Battery Capacity Tester Module https://www.amazon.co.uk/dp/B071NG9M3V/ref=cm_sw_r_cp_api_i_c25CDb7WCFQQZ <https://www.amazon.co.uk/dp/B071NG9M3V/ref=cm_sw_r_cp_api_i_c25CDb7WCFQQZ> - was about £18. I set the load to 2A and the cut-off point at which it beeped to 9.5V. I tested a brand new 7A/h battery and it gave 2A for over 3.5 hours - which beats the spec as at 2A discharge it should give between 5A/h and 6A/h I tested a 4 year old 12 A/h battery and it gave 2.5A for over 5 hours - again beating spec. I recommend the load but I didn’t use it’s capability to measure the A/h directly - I preferred to test with my own voltmeter and ammeter. So if you want to really know your battery capacity, that’s one option. Regards, Philip.> On 7 Sep 2019, at 15:46, Charles Lepple <clepple at gmail.com> wrote: > > On Sep 6, 2019, at 6:28 PM, James wrote: >> >> I got around to unplugging my UPS and I found it doesn't last nearly as long as estimated. > > The estimates are typically less accurate when the load is light (output is showing 5%). Also, as Eyal mentioned, five years is getting old for a lead-acid battery. > >> >> Is the "upsmon[1446]: UPS desktop_ups at localhost battery is low" logged when "battery.runtime:" = "battery.runtime.low: 120"? > > To first approximation, yes. Technically, upsmon is looking for the LB flag in ups.status, which is usually sent in a status bit from the UPS. But "battery.runtime.low" is one of the things that triggers LB (the other being "battery.charge" going below "battery.charge.low"). There are also ways for NUT drivers (see "ignorelb") to make that decision in the driver code rather than looking at the UPS status bit, though generally APC seems to get this right. > > On Sep 6, 2019, at 7:02 PM, Eyal Lebedinsky wrote: >> No UPS that I owned could tell that the batteries are bad, I find this when the UPS power is >> disconnected and the UPS shuts down soon (often in seconds). > > APC, Tripp-Lite, and MGE/Eaton typically do periodic tests that can detect this. Sometimes it isn't on the entry-level models, and sometimes you have to trigger the test manually, but it's definitely out there. (Getting a notification from NUT in time to replace the battery is sometimes another issue entirely, since it isn't easy to simulate battery failures.) > >> >> You can test the condition of the battery by periodically removing the power input and see how long >> it actually runs down to, say, 20%. >> >> Vendor software usually has a "test" feature, don't know if nut has this. > > test.battery* instant commands: https://networkupstools.org/docs/user-manual.chunked/apcs02.html > > (I don't know if test.panel.start is exactly the same.) > > More detailed status is typically reported in the "ups.test.result" variable: https://networkupstools.org/docs/user-manual.chunked/apcs01.html > > (The driver should pick up on this and also include "RB" (replace battery) in "ups.status", but again, this is hard to test.) > > James: in your case, this might be due to your APC model not showing the full set of variables over the standard USB HID interface. (Search the web for "APC" and "Modbus" for details.) > > > > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20190907/b52b8215/attachment.html>
On 2019-09-07 10:46 a.m., Charles Lepple wrote:> On Sep 6, 2019, at 6:28 PM, James wrote: >>>> You can test the condition of the battery by periodically removing the power input and see how long >> it actually runs down to, say, 20%.After recharging it says "battery.runtime: 27000".>> >> Vendor software usually has a "test" feature, don't know if nut has this. > > test.battery* instant commands: https://networkupstools.org/docs/user-manual.chunked/apcs02.html > > (I don't know if test.panel.start is exactly the same.)I don't have a test.battery. $ upscmd -l desktop_ups Instant commands supported on UPS [desktop_ups]: beeper.disable - Disable the UPS beeper beeper.enable - Enable the UPS beeper beeper.mute - Temporarily mute the UPS beeper beeper.off - Obsolete (use beeper.disable or beeper.mute) beeper.on - Obsolete (use beeper.enable) load.off - Turn off the load immediately load.off.delay - Turn off the load with a delay (seconds) shutdown.reboot - Shut down the load briefly while rebooting the UPS shutdown.stop - Stop a shutdown in progress test.panel.start - Start testing the UPS panel test.panel.stop - Stop a UPS panel test> > More detailed status is typically reported in the "ups.test.result" variable: https://networkupstools.org/docs/user-manual.chunked/apcs01.htmlI don't have that variable.> > (The driver should pick up on this and also include "RB" (replace battery) in "ups.status", but again, this is hard to test.) > > James: in your case, this might be due to your APC model not showing the full set of variables over the standard USB HID interface. (Search the web for "APC" and "Modbus" for details.)The apcsmart driver doesn't start.