Comment 21 for bug 838543

Revision history for this message
Derduden (martin---007) wrote :

Forgot the dump:
Device: /org/freedesktop/UPower/devices/line_power_C23D
  native-path: /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/C23D
  power supply: yes
  updated: Wed Nov 30 19:38:29 2011 (241 seconds ago)
  has history: no
  has statistics: no
  line-power
    online: yes

Device: /org/freedesktop/UPower/devices/battery_C23F
  native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/C23F
  vendor: Hewlett-Packard
  model: Primary
  serial: 00630 2007/10/13
  power supply: yes
  updated: Wed Nov 30 19:42:04 2011 (26 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: fully-charged
    energy: 30.3807 Wh
    energy-empty: 0 Wh
    energy-full: 30.6915 Wh
    energy-full-design: 30.6915 Wh
    energy-rate: 0 W
    voltage: 12.624 V
    percentage: 98.9873%
    capacity: 100%
    technology: lithium-ion

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

After suspend this battery is added:

Device: /org/freedesktop/UPower/devices/battery_C23E
  native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/C23E
  power supply: no
  updated: Wed Nov 30 19:43:41 2011 (0 seconds ago)
  has history: no
  has statistics: no
  battery
    present: no
    rechargeable: no
    state: unknown
    energy: 0 Wh
    energy-empty: 0 Wh
    energy-full: 0 Wh
    energy-full-design: 0 Wh
    energy-rate: 0 W
    percentage: 0%

This is correct though, since the laptop supports two batteries, but it shouldn't cause untimely suspends and incorrect battery info in Gnome.