Comment 0 for bug 800339

Revision history for this message
Tanzbaer (tanzbaer) wrote :

Binary package hint: upower

1.) Ubuntu Natty
2.) upower 0.9.9-4
3.) I expected my notebook to display the correct battery status and to detect the ac-adapter being removed. It should then adjust backlight etc..
4.) My battery state is not displayed correctly and the system does not detect whether the ac-adapter is plugged in or not.

$upower -d # without ac adapter
Device: /org/freedesktop/UPower/devices/line_power_ADP1
  native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:03/PNP0C09:00/ACPI0003:00/power_supply/ADP1
  power supply: yes
  updated: Tue Jun 21 20:24:58 2011 (3 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/PNP0A08:00/device:03/PNP0C09:00/PNP0C0A:00/power_supply/BAT1
  vendor: MSI Corp.
  model: MS-1221
  power supply: yes
  updated: Tue Jun 21 20:25:01 2011 (0 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: charging
    energy: 2824.61 Wh
    energy-empty: 0 Wh
    energy-full: 3530.59 Wh
    energy-full-design: 70.1868 Wh
    energy-rate: 82.7858 W
    voltage: 27.198 V
    time to full: 8.5 hours
    percentage: 80.004%
    capacity: 100%
  History (charge):
    1308680604 0.000 unknown
    1308680627 98.432 charging
    1308680629 0.000 fully-charged
    1308680630 83.925 charging
    1308680632 98.040 charging
    1308680633 0.000 fully-charged
    1308680650 9.822 charging
    1308680651 0.000 fully-charged
    1308680652 6.685 charging
    1308680654 0.000 fully-charged
    1308680655 71.770 charging
    1308680685 0.000 fully-charged
    1308680698 80.396 charging
    1308680700 0.000 fully-charged
    1308680701 80.004 charging
  History (rate):
    1308680604 0.000 unknown
    1308680627 69.646 charging
    1308680629 0.000 fully-charged
    1308680630 82.786 charging
    1308680633 0.000 fully-charged
    1308680650 55.154 charging
    1308680651 0.000 fully-charged
    1308680652 55.154 charging
    1308680654 0.000 fully-charged
    1308680655 41.961 charging
    1308680685 0.000 fully-charged
    1308680698 69.646 charging
    1308680700 0.000 fully-charged
    1308680701 82.786 charging

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

Device: /org/freedesktop/UPower/devices/line_power_ADP1
  native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:03/PNP0C09:00/ACPI0003:00/power_supply/ADP1
  power supply: yes
  updated: Tue Jun 21 20:24:10 2011 (45 seconds ago)
  has history: no
  has statistics: no
  line-power
    online: no

$upower -d # ac-adapter is plugged in
Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:03/PNP0C09:00/PNP0C0A:00/power_supply/BAT1
  vendor: MSI Corp.
  model: MS-1221
  power supply: yes
  updated: Tue Jun 21 20:24:45 2011 (10 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: fully-charged
    energy: 0 Wh
    energy-empty: 0 Wh
    energy-full: 3530.59 Wh
    energy-full-design: 70.1868 Wh
    energy-rate: 0 W
    voltage: 10 V
    percentage: 0%
    capacity: 100%
  History (charge):
    1308680604 0.000 unknown
    1308680627 98.432 charging
    1308680629 0.000 fully-charged
    1308680630 83.925 charging
    1308680632 98.040 charging
    1308680633 0.000 fully-charged
    1308680650 9.822 charging
    1308680651 0.000 fully-charged
    1308680652 6.685 charging
    1308680654 0.000 fully-charged
    1308680655 71.770 charging
    1308680685 0.000 fully-charged
  History (rate):
    1308680604 0.000 unknown
    1308680627 69.646 charging
    1308680629 0.000 fully-charged
    1308680630 82.786 charging
    1308680633 0.000 fully-charged
    1308680650 55.154 charging
    1308680651 0.000 fully-charged
    1308680652 55.154 charging
    1308680654 0.000 fully-charged
    1308680655 41.961 charging
    1308680685 0.000 fully-charged

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

The issue is not present when using a Fedora 15 LiveCD.