On Fri, 16 Apr 2021, Carlos E. R. wrote:
El 2021-04-16 a las 21:29 +0200, Roger Price escribió:
On Fri, 16 Apr 2021, Carlos E. R. wrote:
Isengard:~ # upsc Salicru battery.charge: 100 battery.voltage: 13.60 battery.voltage.high: 13.00 battery.voltage.low: 10.40 battery.voltage.nominal: 12.0 ...
I don't see variable battery.charge.low which specifies the charge below which the LB (Low Battery) status is raised, signalling that the time has come to shutdown.
Does the command "upsrw Salicru" list the variable battery.charge.low ?
Isengard:~ # upsrw Salicru Isengard:~ #
Nope...
If you are using the blazer_usb driver there is a workaround using extra arguments to the driver: * default.battery.voltage.high = value Maximum battery voltage that is reached after about 12 to 24 hours charging. If you want the driver to report a guesstimated battery.charge, you need to specify this (see BATTERY CHARGE). * default.battery.voltage.low = value Minimum battery voltage just before the UPS automatically shuts down. If you want the driver to report a guesstimated battery.charge, you need to specify this (see BATTERY CHARGE). See man blazer_usb Roger