I switched my desktop with my raspberry pi because I thought my desktop ups had a larger capacity. Now the ups.load of each is not what it was (it should be). The battery.runtime is better for my desktop (it's supposed to be worse) and my raspberry pi is worse (I hoped for hours better). What am I seeing? I switched them for longer raspberry pi time and the APC battery is getting old. :-) This is before the switch: /bin/upsc desktop_ups battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 20 battery.mfr.date: CPS battery.runtime: 2730 (~ 45 minutes) battery.runtime.low: 300 battery.type: PbAcid battery.voltage: 13.5 battery.voltage.nominal: 12 device.mfr: CPS device.model: UPS CP850AVRLCD 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: CyberPower HID 0.4 driver.version.internal: 0.41 input.transfer.high: 140 input.transfer.low: 90 input.voltage: 120.0 input.voltage.nominal: 120 output.voltage: 121.0 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.delay.start: 30 ups.load: 19 ups.mfr: CPS ups.model: UPS CP850AVRLCD ups.productid: 0501 ups.realpower.nominal: 510 ups.status: OL ups.test.result: Done and passed ups.timer.shutdown: -60 ups.timer.start: 0 ups.vendorid: 0764 --- /bin/upsc pi_ups at 192.168.1.14 battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 50 battery.date: not set battery.mfr.date: 2015/09/19 battery.runtime: 5920 (~ 98 minutes) battery.runtime.low: 120 battery.type: PbAc battery.voltage: 13.6 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: 6 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 ------ After the switch: /bin/upsc desktop_ups battery.charge: 78 battery.charge.low: 10 battery.charge.warning: 50 battery.date: not set battery.mfr.date: 2015/09/19 battery.runtime: 8846 (~ 147 minutes, not charged) battery.runtime.low: 120 battery.type: PbAc battery.voltage: 13.6 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: 119.0 input.voltage.nominal: 120 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.firmware: 904.W1 .D ups.firmware.aux: W1 ups.load: 3 ups.mfr: APC ups.mfr.date: 2015/09/19 ups.model: Back-UPS ES 550G ups.productid: 0002 ups.serial: 4B1538P22406 ups.status: OL CHRG ups.timer.reboot: 0 ups.timer.shutdown: -1 ups.vendorid: 051d --- /bin/upsc pi_ups battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 20 battery.mfr.date: CPS battery.runtime: 5190 (~ 86 minutes) battery.runtime.low: 300 battery.type: PbAcid battery.voltage: 13.5 battery.voltage.nominal: 12 device.mfr: CPS device.model: UPS CP850AVRLCD 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: CyberPower HID 0.4 driver.version.internal: 0.41 input.transfer.high: 140 input.transfer.low: 90 input.voltage: 119.0 input.voltage.nominal: 120 output.voltage: 119.0 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.delay.start: 30 ups.load: 9 ups.mfr: CPS ups.model: UPS CP850AVRLCD ups.productid: 0501 ups.realpower.nominal: 510 ups.status: OL ups.test.result: Done and passed ups.timer.shutdown: -60 ups.timer.start: 0 ups.vendorid: 0764
On Apr 2, 2019, at 9:42 PM, James wrote:> > I switched my desktop with my raspberry pi because I thought my desktop ups had a larger capacity. > Now the ups.load of each is not what it was (it should be).Note that ups.load is a percentage of "full load", which is up to each UPS vendor to define. (Some vendors use different margins, and I don't know that we have done a thorough check to see how well the load percentage tracks Watts or VA ratings when those are available.) If I am reading the model numbers correctly, you have an 850 VA CPS UPS, and a 550 VA APC, so at the very least, you would need to convert to a unit like VA to be able to compare the two directly. Or you can compare the numbers on one UPS with the two different loads. The APC starts out with a load of 6 and a runtime of 98 minutes. It then changes to a load of 3 and a runtime of 147 minutes (not quite double). If nothing is plugged in, do you get a load of 0? If so, consider that the control electronics will require a certain amount of current from the battery just to keep the output running, and it may be in the same ballpark as a load of 3-6%. Bear in mind the precision and accuracy of these measurements are not guaranteed by the vendor. Two points may determine a line, but this is an inverse relationship, so a small change in load means a larger change in runtime. You could add a dummy load and see if it tracks linearly up from there. The CPS UPS seems to be in a similar situation. Starting with a load of 19%, it estimates a runtime of 45 minutes. A load of 9% yields 86 minutes, or nearly double. In both cases, you may want to check the owner's manual to see if the vendor has typical runtimes. The UPS electronics are probably sized for 20-100% load, given the use case of several minutes on battery to let a generator kick in, or allow an orderly shutdown.
On 2019-04-02 10:35 p.m., Charles Lepple wrote:> On Apr 2, 2019, at 9:42 PM, James wrote: >> >> I switched my desktop with my raspberry pi because I thought my desktop ups had a larger capacity. >> Now the ups.load of each is not what it was (it should be). > > Note that ups.load is a percentage of "full load", which is up to each UPS vendor to define. (Some vendors use different margins, and I don't know that we have done a thorough check to see how well the load percentage tracks Watts or VA ratings when those are available.) If I am reading the model numbers correctly, you have an 850 VA CPS UPS, and a 550 VA APC, so at the very least, you would need to convert to a unit like VA to be able to compare the two directly. Or you can compare the numbers on one UPS with the two different loads. > > The APC starts out with a load of 6 and a runtime of 98 minutes. It then changes to a load of 3 and a runtime of 147 minutes (not quite double). If nothing is plugged in, do you get a load of 0? If so, consider that the control electronics will require a certain amount of current from the battery just to keep the output running, and it may be in the same ballpark as a load of 3-6%. > > Bear in mind the precision and accuracy of these measurements are not guaranteed by the vendor. Two points may determine a line, but this is an inverse relationship, so a small change in load means a larger change in runtime. You could add a dummy load and see if it tracks linearly up from there. > > The CPS UPS seems to be in a similar situation. Starting with a load of 19%, it estimates a runtime of 45 minutes. A load of 9% yields 86 minutes, or nearly double. > > In both cases, you may want to check the owner's manual to see if the vendor has typical runtimes. The UPS electronics are probably sized for 20-100% load, given the use case of several minutes on battery to let a generator kick in, or allow an orderly shutdown.Since I can't rely on the estimated runtime, is it reasonable to assume that my raspberry pi will run longer on the CPS compared to the APC? Is there a way to see the time elapsed between when the pi goes on UPS and when it shuts down?