[Nut-upsuser] Setting Battery Runtime Low

Poulton, Stuart W.L. swlp1 at leicester.ac.uk
Tue Dec 14 10:14:17 UTC 2010


> This is a configurable value, setting the runtime remaining on battery
> before the low battery warning is raised.
> 
> It looks like the driver uses the UPS-MIB::upsConfigLowBattTime OID
> for this. According to IETF 1628, the units of this value is minutes.
> So in order to correctly display this in the units NUT uses (seconds)
> we need to multiply by 60 (similar to the
> UPS-MIB::upsEstimatedMinutesRemaining that is used for
> battery.runtime).
> 
> So I guess what the UPS is trying to tell you, is that the runtime
> remaining is before it will report battery low, is 60 seconds.
> Depending on your UPS you might be able to change this value though
> the 'upsrw' command (see 'man 8 upsrw'). Remember to input this value
> in minutes for the time being, until we have fixed this.

rcs-manage-1:/var/log # upsrw  phys-eaton
[battery.runtime.low]
Remaining battery runtime when UPS switches to LB (seconds)
Type: UNKNOWN (unrecognized)

I suspect from this that it may not be configurable.

Thoughts ?

Cheers

Stuart



More information about the Nut-upsuser mailing list