@Nick: Thanks for the response, it is really helpful. Please try the following:
$ lshal -m > lshal.log.txt and attach lshal.log.txt to the bug report. This may be a problem with HAL/pm-utils. Since dbus-monitor could not determine that the AC power was unplugged/plugged in, I added pm-utils to the bug report. ** Also affects: pm-utils (Ubuntu) Importance: Undecided Status: New ** Description changed: Binary package hint: gnome-power-manager gnome-power-manager doesn't correctly detect the power state on my laptop (HP Pavilion dv6500t). When I pull the AC plug out it detects that it was unplugged because the battery icon shows up in the notification area. However when I hover over the icon it still says that it's running on AC power. This makes the "on battery" power management settings invalid since it still thinks it's running on AC. i.e. the screen doesn't dim, the screen doesn't turn off after 15 minutes as specified for "On battery power" etc. Steps to reproduce 1. Unplug AC power cord 2. Wait for battery icon to appear in the notification area 3. Hover over the icon with the mouse and notice it says that it's running on AC when it's clearly running on battery 4. Notice that none of the "on battery power" preferences take effect since it still thinks it's on AC power What should happen Batter icon should appear and indicate that it is running on battery power and "on battery power" preferences should be in effect. This might be specific to this model of laptop as I have another laptop I can't reproduce this on. ProblemType: Bug ACAdapter: Present Architecture: amd64 Battery: Present CPUScaling: Present DistroRelease: Ubuntu 9.04 LaptopPanel: Present NonfreeKernelModules: nvidia Package: gnome-power-manager 2.24.2-2ubuntu8 ProcEnviron: PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/zsh SourcePackage: gnome-power-manager Uname: Linux 2.6.28-11-generic x86_64 + + + $ dbus-monitor --session "type='signal',interface='org.freedesktop.PowerManagement'" + + signal sender=org.freedesktop.DBus -> dest=:1.242 serial=2 + path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; + member=NameAcquired string ":1.242" + + Disconnecting the power and reconnecting it doesn't give any output in + the dbus-monitor -- gnome-power-manager doesn't properly detect power state https://bugs.launchpad.net/bugs/375260 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs