[Nut-upsuser] Adding support for NUMERIC UPS

Arjen de Korte nut+users at de-korte.org
Sun Mar 7 20:16:33 UTC 2010


Citeren Holla <holla.net op gmail.com>:

[...]

> But now, both battery.charge and battery.runtime are wrong.
>
> tej nut-monitor-1.1 # upsc Numeric
> battery.charge: nan    <===============
> battery.lowbatt: 25
> battery.runtime: 0

This is probably due to some broken integer dividing, resulting in  
loss of precision. Just fixed in the trunk.

Best regards, Arjen
-- 
Please keep list traffic on the list




More information about the Nut-upsuser mailing list