I've encountered the same regression in 12.04. From a bit of digging it seems it's related to the implementation of gnome_rr_output_is_laptop() in gnome-desktop. g-s-d uses this function to determine whether an output is an internal or external display; g-s-d only wants to suspend if there are no external displays in use. The problem is that gnome_rr_output_is_laptop() doesn't work properly in some cases. One case is when the NVIDIA binary driver is present; another recently-fixed case was systems with eDP panels (bug 933710).
There is a patch in bug 949296 that fixes the problem for me (I have the NVIDIA driver case). -- 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/948844 Title: Closing laptop lid does not suspend Status in “gnome-settings-daemon” package in Ubuntu: Incomplete Bug description: I can't pinpoint exactly when this started (or rather, stopped) happening, but at some time in the last week suspend on lid close stopped working for me, in spite of the settings in the Power applet. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: gnome-power-manager 3.3.3-0ubuntu1 ProcVersionSignature: Ubuntu 3.2.0-18.28-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.94-0ubuntu2 Architecture: amd64 CheckboxSubmission: dd3689fa6394f60ec14dbe98d0bab891 CheckboxSystem: b633b4f40868d491c2ae5b50030ce6f3 Date: Wed Mar 7 10:30:05 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1) SourcePackage: gnome-power-manager UpgradeStatus: Upgraded to precise on 2012-01-13 (53 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/948844/+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