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

johnm s2 at forceway.com
Sun Feb 12 14:01:20 PST 2012


Hi,

My system log is getting spammed with messages like this:

dbus-daemon[1345]: (upowerd:3587): GLib-GObject-WARNING **: value
"120.000000" of type `gdouble' is invalid or out of range for property
`percentage' of type `gdouble'
dbus-daemon[1345]: (upowerd:3587): GLib-GObject-WARNING **: value
"120.000000" of type `gdouble' is invalid or out of range for property
`percentage' of type `gdouble'

...There are about a zillion of them per day. I believe it is because my
new UPS reports a battery charge of 120%. This is what apcupsd/gapcmon
shows. It seems upowerd doesn't like this value though. As you can see
below, upower -d reports 0%. Any fix for this?

thanks,
-johnm


upower -v
UPower client version 0.9.14
UPower daemon version 0.9.14

upower -d
Device: /org/freedesktop/UPower/devices/ups_hiddev0
  native-path:
/sys/devices/pci0000:00/0000:00:12.0/usb4/4-1/4-1:1.0/usb/hiddev0
  vendor:               CPS
  model:                CP1350PFCLCD
  serial:               CRCA102-3I1
  power supply:         yes
  updated:              Sun Feb 12 12:55:46 2012 (10 seconds ago)
  has history:          yes
  has statistics:       yes
  ups
    present:             yes
    state:               empty
    time to empty:       17.5 minutes
    percentage:          0%

Daemon:
  daemon-version:  0.9.14
  can-suspend:     yes
  can-hibernate    yes
  on-battery:      no
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:  no
  is-docked:       no


More information about the devkit-devel mailing list