[Nut-upsuser] Low Battery Problems

Mike Dillinger miked at softtalker.com
Thu Jun 18 17:27:10 BST 2020


Hello,

I am having a heck of a time with false low battery alarms right now.  It has been going on for the last couple of months.  I originally started getting them with a UPS that was 1-2 years old so I thought it was time to change it out and buy a new one.  I'm still getting the false alarms with the brand new one.  The status is "OL LB" which is strange to me.

I have a CyberPower 1500VA running on Debian (testing) Linux connected via USB.  This was also the same model I had before, so I've used this for a long time with no problems until recently.

I have tried to play with the low battery settings in ups.conf to no avail.  Here is my ups.conf as of now:
[myups1]
     driver = usbhid-ups
     port = auto
     vendorid = 0764
     desc = "CyberPower 1500VA"
     pollinterval = 10
     ignorelb
     override.battery.charge.low = 60
     override.battery.charge.warning = 80
     override.battery.runtime.low = 600

Here is some information regarding my system.

$ uname -a
Linux rockenfield 5.6.0-2-amd64 #1 SMP Debian 5.6.14-1 (2020-05-23) x86_64 GNU/Linux

$ dpkg --list | grep -E "\bnut"
ii  nut 2.7.4-12                                     all          network UPS tools - metapackage
ii  nut-client 2.7.4-12                                     amd64        network UPS tools - clients
ii  nut-server 2.7.4-12                                     amd64        network UPS tools - core system

$ systemctl --lines=0 status nut-client.service nut-server.service nut-monitor.service nut-driver.service
● nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller
      Loaded: loaded (/lib/systemd/system/nut-monitor.service; enabled; vendor preset: enabled)
      Active: active (running) since Mon 2020-06-15 10:46:21 PDT; 2 days ago
    Main PID: 1741 (upsmon)
       Tasks: 2 (limit: 18777)
      Memory: 4.8M
      CGroup: /system.slice/nut-monitor.service
              ├─1740 /lib/nut/upsmon
              └─1741 /lib/nut/upsmon

● nut-server.service - Network UPS Tools - power devices information server
      Loaded: loaded (/lib/systemd/system/nut-server.service; enabled; vendor preset: enabled)
      Active: active (running) since Mon 2020-06-15 10:46:21 PDT; 2 days ago
    Main PID: 1738 (upsd)
       Tasks: 1 (limit: 18777)
      Memory: 1.4M
      CGroup: /system.slice/nut-server.service
              └─1738 /lib/nut/upsd

● nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller
      Loaded: loaded (/lib/systemd/system/nut-monitor.service; enabled; vendor preset: enabled)
      Active: active (running) since Mon 2020-06-15 10:46:21 PDT; 2 days ago
    Main PID: 1741 (upsmon)
       Tasks: 2 (limit: 18777)
      Memory: 4.8M
      CGroup: /system.slice/nut-monitor.service
              ├─1740 /lib/nut/upsmon
              └─1741 /lib/nut/upsmon

● nut-driver.service - Network UPS Tools - power device driver controller
      Loaded: loaded (/lib/systemd/system/nut-driver.service; static; vendor preset: enabled)
      Active: active (running) since Mon 2020-06-15 10:46:20 PDT; 2 days ago
    Main PID: 1680 (usbhid-ups)
       Tasks: 1 (limit: 18777)
      Memory: 1.3M
      CGroup: /system.slice/nut-driver.service
              └─1680 /lib/nut/usbhid-ups -a myups1

$ upsc myups1
Init SSL without certificate database
battery.charge: 100
battery.charge.low: 60
battery.charge.warning: 80
battery.mfr.date: CPS
battery.runtime: 1530
battery.runtime.low: 600
battery.type: PbAcid
battery.voltage: 24.0
battery.voltage.nominal: 24
device.mfr: CPS
device.model: LX1500GU
device.serial: DAGJY2000603
device.type: ups
driver.flag.ignorelb: enabled
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 10
driver.parameter.port: auto
driver.parameter.synchronous: no
driver.parameter.vendorid: 0764
driver.version: 2.7.4
driver.version.data: CyberPower HID 0.4
driver.version.internal: 0.41
input.voltage: 119.0
input.voltage.nominal: 120
output.voltage: 136.0
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.delay.start: 30
ups.load: 30
ups.mfr: CPS
ups.model: LX1500GU
ups.productid: 0501
ups.realpower.nominal: 900
ups.serial: DAGJY2000603
ups.status: OL
ups.test.result: No test initiated
ups.timer.shutdown: -60
ups.timer.start: -60
ups.vendorid: 0764

Any help is greatly appreciated.  I have some automation (openHAB, system scripts, etc) that react accordingly.  I'm also getting trampled on console sessions will wall messages.

Thanks!
-MikeD



More information about the Nut-upsuser mailing list