I see now that it fails to suspend after all. The patch i've committed does add the option to suspend, and gnome-control-center correctly updates the setting in dconf. The critical power level notification also tells that the machine is going to "suspend very soon". But the machine shuts down instead of suspending. It seems this is related to bug #160200, and the underlaying issue is probably in acpi.
As for now, all other options than "shut down" seems useless. ** Changed in: gnome-control-center (Ubuntu) Status: In Progress => Confirmed ** Changed in: gnome-control-center (Ubuntu) Assignee: Joakim Langvand (jlangvand) => (unassigned) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-control-center in Ubuntu. https://bugs.launchpad.net/bugs/993440 Title: No suspend option for critical battery state in power settings UI Status in “gnome-control-center” package in Ubuntu: Confirmed Bug description: The gnome-control-center power UI offers 2 options for "When power is critically low": Hibernate and Power Off. There should be a 'Suspend' option as well, for a couple reasons: 1) Some people (like me) want their computer to suspend when it reaches a critical low-battery state 2) We offer 'Suspend' as an option for the lid closed action, so we should offer it as a critical battery option for consistency (Note that neither hibernate nor power off is selected by default in the "When power is critically low" combobox on a fresh install. Instead the combobox has no selection at all. This is probably a separate bug) To reproduce: 1) Launch the Power settings app 1a) Observe the "When power is critically low" combobox; nothing is selected 2) Click the "When power is critically low" combobox Expected results: Suspend is an option for critical-battery action Actual results: Suspend is not an option for critical-battery action ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: gnome-control-center 1:3.4.1-0ubuntu1 ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14 Uname: Linux 3.2.0-24-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.0.1-0ubuntu7 Architecture: amd64 Date: Wed May 2 13:46:02 2012 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1) ProcEnviron: TERM=xterm PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gnome-control-center UpgradeStatus: Upgraded to precise on 2012-01-26 (96 days ago) usr_lib_gnome-control-center: activity-log-manager-control-center 0.9.4-0ubuntu3 deja-dup 22.0-0ubuntu2 gnome-bluetooth 3.2.2-0ubuntu5 indicator-datetime 0.3.94-0ubuntu2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/993440/+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