When I close the lid on my laptop (HP EliteBook 5840w), laptop is not suspended. Suspend in other use-cases works ok (e.g. when invoked from system menu).
I've done some research and problem is, that gnome-settings daemon thinks that there are active external outputs - in such case suspend is skipped. Have a look at method do_lid_closed_action in gsd-power-manager.c. This method uses gnome_rr_output_is_laptop method from gnome-rr.c to find out, whether output is built-in or external. On my notebook output->name is "default" and hence output is considered to be an external one (even though there is no external output connected).
When I close the lid on my laptop (HP EliteBook 5840w), laptop is not suspended. Suspend in other use-cases works ok (e.g. when invoked from system menu).
I've done some research and problem is, that gnome-settings daemon thinks that there are active external outputs - in such case suspend is skipped. Have a look at method do_lid_ closed_ action in gsd-power- manager. c. This method uses gnome_rr_ output_ is_laptop method from gnome-rr.c to find out, whether output is built-in or external. On my notebook output->name is "default" and hence output is considered to be an external one (even though there is no external output connected).
ProblemType: Bug desktop- 3-2 3.3.91-0ubuntu1 [modified: usr/lib/ libgnome- desktop- 3.so.2. 1.2] ature: Ubuntu 3.2.0-18.29-generic 3.2.9 dules: nvidia
DistroRelease: Ubuntu 12.04
Package: libgnome-
ProcVersionSign
Uname: Linux 3.2.0-18-generic x86_64
NonfreeKernelMo
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Sat Mar 10 12:46:14 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
ProcEnviron:
TERM=xterm
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-desktop3
UpgradeStatus: No upgrade log present (probably fresh install)