A similar bug is affecting me, and maybe my situation can shed some
light. I actually DO have two batteries in my laptop. If one of the
batteries is depleted when I resume from sleep, I see this "battery is
critically low" warning followed by suspend, even though the other
battery has plenty of power. While the machine is running, the first
battery drains without any problem, so this seems to just be a wake-
from-sleep issue. Likewise, if I reboot the machine with one battery
drained, it boots fine.

So my uneducated guess is that there's some battery-low event handler
somewhere that gets triggered on wake and doesn't properly check the
total power in all batteries. It looks like other reporters are having
(an unrelated?) problems with phantom batteries, which could be leading
them to the same issue I'm having with real batteries.

-- 
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:
  Confirmed

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