<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="2">I would like to solicit some feedback re: the </font><font size="2">battery.runtime.low</font><font size="2"> configuration
settings through NUT. I was able to set the value using the
'upsrw' command but when I did a 'upsc' the configuration seems
incorrect. Please see below for details. Thank you</font></p>
<p><font size="2">OS name and version:<br>
Description: Debian GNU/Linux 12 (bookworm)<br>
Release: 12<br>
Codename: bookworm<br>
<br>
exact NUT version:<br>
Version: 2.8.0-7<br>
<br>
NUT installation method: <br>
apt install nut<br>
<br>
exact device name and related information:<br>
<a class="moz-txt-link-freetext" href="https://www.cyberpowersystems.com/product/ups/battery-backup/cst150uc/">https://www.cyberpowersystems.com/product/ups/battery-backup/cst150uc/</a><br>
device.model: CST150UC<br>
driver.version: 2.8.0<br>
driver.version.data: CyberPower HID 0.6<br>
driver.version.internal: 0.47<br>
driver.version.usb: libusb-1.0.26 (API: 0x1000109)<br>
ups.vendorid: 0764</font></p>
<p><font size="2">supported UPS variables (default values PRIOR to
configuration change attempt)<br>
upsrw CST150UC<br>
[battery.charge.low]<br>
Remaining battery level when UPS switches to LB
(percent)<br>
Type: STRING<br>
Maximum length: 10<br>
Value: 10<br>
<br>
[battery.runtime.low]<br>
Remaining battery runtime when UPS switches to LB
(seconds)<br>
Type: STRING<br>
Maximum length: 10<br>
Value: 300<br>
<br>
[ups.delay.shutdown]<br>
Interval to wait after shutdown with delay command
(seconds)<br>
Type: STRING<br>
Maximum length: 10<br>
Value: 20<br>
<br>
[ups.delay.start]<br>
Interval to wait before (re)starting the load
(seconds)<br>
Type: STRING<br>
Maximum length: 10<br>
Value: 30<br>
</font></p>
<p><font size="2">set UPS variables </font><font size="2">(system
will shutdown when 60 minutes of runtime is left)</font><br>
<font size="2"> upsrw -s battery.runtime.low=3600 -w
CST150UC@localhost <br>
SUCCESS</font></p>
<p><font size="2">upsc CST150UC@localhost<br>
battery.charge: 100<br>
battery.charge.low: 10<br>
battery.charge.warning: 20<br>
battery.mfr.date: CPS<br>
battery.runtime: 5125<br>
battery.runtime.low: 16<br>
battery.type: PbAcid<br>
battery.voltage: 25.8<br>
battery.voltage.nominal: 24<br>
device.mfr: CPS<br>
device.model: CST150UC<br>
device.serial: <br>
device.type: ups<br>
driver.name: usbhid-ups<br>
driver.parameter.offdelay: 60<br>
driver.parameter.pollfreq: 30<br>
driver.parameter.pollinterval: 2<br>
driver.parameter.port: auto<br>
driver.parameter.synchronous: auto<br>
driver.version: 2.8.0<br>
driver.version.data: CyberPower HID 0.6<br>
driver.version.internal: 0.47<br>
driver.version.usb: libusb-1.0.26 (API: 0x1000109)<br>
input.voltage: 122.0<br>
input.voltage.nominal: 120<br>
output.voltage: 122.0<br>
ups.beeper.status: disabled<br>
ups.delay.shutdown: 60<br>
ups.delay.start: -1<br>
ups.load: 10<br>
ups.mfr: CPS<br>
ups.model: CST150UC<br>
ups.productid: 0601<br>
ups.realpower.nominal: 900<br>
ups.serial: <br>
ups.status: OL<br>
ups.test.result: No test initiated<br>
ups.timer.shutdown: -60<br>
ups.timer.start: -60<br>
ups.vendorid: 0764</font></p>
<p><font size="2">The value changed to battery.runtime.low: 16,
instead of 3600. I don't understand why, because executing the
command resulted in SUCCESS.</font></p>
<p><font size="2">In comparison executing </font><font size="2">(never
powers on the load, even when main power returns)</font><br>
<font size="2">upsrw -s ups.delay.start=-1 -w CST150UC@localhost <br>
resulted in the correct value being set.</font></p>
<p><font size="2">I hope someone will be able to provide some
guidance. : )</font></p>
<p><font size="2">Thank you</font></p>
</body>
</html>