upowerd spamming syslog - value "120.000000" out of range for percentage

Richard Hughes hughsient at gmail.com
Fri Feb 17 02:32:23 PST 2012


On 17 February 2012 10:06, Arnaud Quette <aquette.dev at gmail.com> wrote:
> we, in NUT, have a workaround for this, clamping any value higher than 100 %:

Great, I'll do the same in upower. Thanks:

commit 2c02598806425bf60244d60f45c578e23bf08152
Author: Richard Hughes <richard at hughsie.com>
Date:   Fri Feb 17 10:30:47 2012 +0000

    Clamp the UPS percentage from 0 to 100 to fix syslog spam

    This device bug seems to happen with CPS UPS units.

Richard.


More information about the devkit-devel mailing list