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.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/838543

Title:
  False battery warning +suspend

Status in “gnome-settings-daemon” package in Ubuntu:
  Incomplete

Bug description:
  I pulled the plug on my laptop with it's battery full:

  ubuntu@ubuntu:~$ cat /proc/acpi/battery/BAT1/state
  present:                 yes
  capacity state:          ok
  charging state:          charged
  present rate:            0 mA
  remaining capacity:      7200 mAh
  present voltage:         11100 mV
  ubuntu@ubuntu:~$ ubuntu-bug -w
  ubuntu@ubuntu:~$ cat /proc/acpi/battery/BAT1/info
  present:                 yes
  design capacity:         7200 mAh
  [...]

  And suddenly got a dialog saying that it was critically low (while the
  icon top-left appears, properly, as full) and the laptop did suspend
  shortly after that.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: gnome-control-center 1:3.1.5-0ubuntu4
  ProcVersionSignature: Ubuntu 3.0.0-9.15-generic 3.0.3
  Uname: Linux 3.0.0-9-generic x86_64
  Architecture: amd64
  CasperVersion: 1.280
  Date: Thu Sep  1 02:26:17 2011
  ExecutablePath: /usr/bin/gnome-control-center
  LiveMediaBuild: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110831)
  SourcePackage: gnome-control-center
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/838543/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to