Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Notification: UPS ups battery is low

    Scheduled Pinned Locked Moved UPS Tools
    16 Posts 2 Posters 3.0k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dennypageD Offline
      dennypage @fjmp24
      last edited by

      @fjmp24 said in Notification: UPS ups battery is low:

      • runtime is equal to 0:01:41
      • battery charge is equal to 19%
        Why doesn't it send the message when runtime is equal to 0:05:00 ? I set override.ups.delay.shutdown = 300

      NUT initiates a shutdown when the UPS declares that the battery is low (LB). The decision regarding a low battery is made by the UPS itself. Some UPSs have configurable LB levels, and some have fixed LB levels. If your UPS has a configurable LB level, this is configured by the battery.charge.low variable. 20% is a common default.

      When performing a shutdown, one of the last steps is for the OS (pfSense) to instruction the UPS to cut the power. After receiving that command, the UPS waits a short period of time before it actually turns off the power. The purpose of this delay is to allow the OS to complete its shutdown before power is cut. Some UPSs have configurable delays, and some have fixed delays. If your UPS has a configurable delay, this is configured by the ups.delay.shutdown variable. 20 seconds is a common default.

      F 1 Reply Last reply Reply Quote 0
      • stephenw10S stephenw10 moved this topic from pfSense Packages on
      • F Offline
        fjmp24 @dennypage
        last edited by

        @dennypage Thank you for your help

        F 1 Reply Last reply Reply Quote 0
        • F Offline
          fjmp24 @fjmp24
          last edited by

          Hi,

          I did a test to see if my UPS is working properly. I could see that it wasn't :-(
          The UPS cuts the power very quickly (about 1 minute), which means, for example, my NAS doesn't have time to shut down properly.
          My setup was working before. I updated pfSense. The problem might be coming from there.

          UPS Detail

          Variable 	Value
          battery.charge	100
          battery.charge.low	20
          battery.runtime	1417
          battery.type	PbAc
          device.mfr	EATON
          device.model	Ellipse PRO 650
          device.serial	P354L18GBN
          device.type	ups
          driver.debug	0
          driver.flag.allow_killpower	0
          driver.flag.ignorelb	enabled
          driver.name	usbhid-ups
          driver.parameter.override.ups.delay.shutdown	90
          driver.parameter.pollfreq	30
          driver.parameter.pollinterval	2
          driver.parameter.port	auto
          driver.parameter.synchronous	auto
          driver.state	updateinfo
          driver.version	2.8.2
          driver.version.data	MGE HID 1.46
          driver.version.internal	0.53
          driver.version.usb	libusb-1.0.0 (API: 0x1000102)
          input.frequency	50.0
          input.transfer.high	285
          input.transfer.low	165
          input.voltage	229.0
          input.voltage.extended	no
          outlet.1.desc	PowerShare Outlet 1
          outlet.1.id	2
          outlet.1.status	on
          outlet.1.switchable	no
          outlet.2.desc	PowerShare Outlet 2
          outlet.2.id	3
          outlet.2.status	on
          outlet.2.switchable	no
          outlet.desc	Main Outlet
          outlet.id	1
          outlet.switchable	no
          output.frequency	50.0
          output.frequency.nominal	50
          output.voltage	230.0
          output.voltage.nominal	230
          ups.beeper.status	enabled
          ups.delay.shutdown	90
          ups.delay.start	30
          ups.firmware	01.16.0020
          ups.load	19
          ups.mfr	EATON
          ups.model	Ellipse PRO 650
          ups.power	114
          ups.power.nominal	650
          ups.productid	ffff
          ups.realpower	76
          ups.serial	P354L18GBN
          ups.status	OL
          ups.timer.shutdown	-1
          ups.timer.start	-1
          ups.vendorid	0463
          

          Extra Arguments to driver

          ignorelb
          override.ups.delay.shutdown = 90
          

          Do you have an idea ? Sorry I'm newbie Thanks.

          dennypageD 1 Reply Last reply Reply Quote 0
          • dennypageD Offline
            dennypage @fjmp24
            last edited by

            @fjmp24 How old is the battery? Have you done a calibration test?

            F 1 Reply Last reply Reply Quote 0
            • F Offline
              fjmp24 @dennypage
              last edited by

              @dennypage I changed the battery this year. I don't understand : "Have you done a calibration test" ?

              dennypageD 1 Reply Last reply Reply Quote 0
              • dennypageD Offline
                dennypage @fjmp24
                last edited by

                @fjmp24 said in Notification: UPS ups battery is low:

                I don't understand : "Have you done a calibration test" ?

                Most UPSs have a "battery calibration test", "runtime calibration test", etc. You are looking for a test that runs the load off of the battery (without cutting mains) to see how the battery behaves under actual load.

                Btw, you should remove the ignorelb directive from the Extra Arguments to driver section. Unless you have a very old UPS that signals low battery whenever the UPS is on battery. You almost certainly do not have such a UPS.

                F 1 Reply Last reply Reply Quote 0
                • F Offline
                  fjmp24 @dennypage
                  last edited by

                  @dennypage My UPD indicate runtime: 18:21

                  dennypageD 1 Reply Last reply Reply Quote 0
                  • dennypageD Offline
                    dennypage @fjmp24
                    last edited by

                    @fjmp24 said in Notification: UPS ups battery is low:

                    @dennypage My UPD indicate runtime: 18:21

                    Yes, but that may be completely inaccurate, especially with bad batteries. That's why you run a calibration test.

                    F 1 Reply Last reply Reply Quote 0
                    • F Offline
                      fjmp24 @dennypage
                      last edited by

                      @dennypage I can't run the test. But there's an automated system that does it every week. I tested it without override.ups.delay.shutdown. My UPS shuts down after 30 seconds, compared to 1 minute with the override.ups.delay.shutdown.

                      I don't understand anything :-((

                      dennypageD 1 Reply Last reply Reply Quote 0
                      • dennypageD Offline
                        dennypage @fjmp24
                        last edited by

                        @fjmp24 said in Notification: UPS ups battery is low:

                        @dennypage I can't run the test. But there's an automated system that does it every week. I tested it without override.ups.delay.shutdown. My UPS shuts down after 30 seconds, compared to 1 minute with the override.ups.delay.shutdown.

                        I didn't say you should remove the override.ups.delay.shutdown directive, I said you should remove the ignorelb directive.

                        Also, you do not have anything in the Advanced settings section, correct?

                        As to running a calibration test, consult your UPS manual or support from the manufacturer of your UPS.

                        F 1 Reply Last reply Reply Quote 0
                        • F Offline
                          fjmp24 @dennypage
                          last edited by

                          I didn't say you should remove the override.ups.delay.shutdown directive, I said you should remove the ignorelb directive.

                          Ok, I will test without ignorelb directive.

                          Also, you do not have anything in the Advanced settings section, correct?

                          Yes

                          As to running a calibration test, consult your UPS manual or support from the manufacturer of your UPS.

                          I find anything I will search tomorow

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.