Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!
Adding the WorkAround to the Description. ** Changed in: gnome-power Status: New => Invalid ** Changed in: gnome-power-manager (Ubuntu) Status: Incomplete => Confirmed ** Description changed: When my laptop is on mains it sleeps in accordance with gnome-power- manager's settings. That is, if I've set it to sleep after 20 minutes of inactivity, it does precisely that. However, while on battery power this does not happen. The screen is blanked, but the computer never goes into suspend. The weird thing is that the screensaver never kicks in (instead the screen goes blank whether gpm is running or not), so this might actually be a problem with gnome-screensaver. I'm not sure. For testing purposes I set gnome-screensaver to activate the screensaver after 1 minute of inactivity, and gpm to suspend the computer after 2 minutes of inactivity. I will attach the output of LC_ALL="en_US.utf8" gnome-power-manager --no-daemon --debug power --verbose & sleep 4m && killall gnome-power-manager && gnome- screensaver-command -p Please do tell me if and how I can provide additional information. This bug is really annoying as it has resulted in me returning to my laptop several times only to find it completely drained on battery. I'm currently on an up-to-date hardy install. + + WORKAROUND: + Looking through gconf, I saw that /apps/gnome-power-manager/actions/sleep_type_battery is set to 'nothing' instead of 'suspend'. Setting it to suspend caused the computer to sleep after 2 minutes idle. -- laptop will not sleep after idle time https://bugs.launchpad.net/bugs/188639 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs