Comment 35 for bug 467825

Revision history for this message
Mikael Hjelm (j-m-hjelm) wrote :

Have reported to the bugzilla but i think the error lies within upower.

As stated before the fix seems to remedy the issue that the battery status isn't updated at all and the gnome power manager reports this correctly. However when battery reaches critical there is no reaction from the gnome-power-manager.
Looking at the printout below i think this is due to the fact that the upower Daemon does not recognize that the computer runs on battery or that the battery is low. If someone that knows anything about the signalling could point out what upower is supposed to report to let gnome-power-manager react then i could try to debug it but the signalling between the processes feels like black art to me.

upower -d
Device: /org/freedesktop/UPower/devices/line_power_ACAD
  native-path: /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/ACAD
  power supply: yes
  updated: Tue Jun 28 07:56:42 2011 (7 seconds ago)
  has history: no
  has statistics: no
  line-power
    online: no

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT1
  vendor: SIMPLO
  model: UM08A73
  serial: 00A3
  power supply: yes
  updated: Tue Jun 28 07:56:47 2011 (2 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: fully-charged
    energy: 0.9768 Wh
    energy-empty: 0 Wh
    energy-full: 12.6984 Wh
    energy-full-design: 24.42 Wh
    energy-rate: 10.3452 W
    voltage: 10.222 V
    percentage: 7.69231%
    capacity: 52%
    technology: lithium-ion
  History (charge):
    1309240600 7.692 charging
    1309240585 7.955 discharging
    1309240555 8.829 discharging
    1309240525 9.441 discharging
  History (rate):
    1309240600 10.345 charging
    1309240585 10.578 discharging
    1309240555 10.279 discharging
    1309240525 10.268 discharging

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