Closing lid does not suspend laptop

I'm on a Lenovo T400 laptop.

In the past I had suspend problems on every second version of Ubuntu (at least it feels like it), but in 11.04 it was working perfectly. Now, after the upgrade to 11.10 closing the laptop lid does no longer initialize suspension.

When I choose 'Suspend' from the shutdown menu it works perfectly, so this does not seem to be an issue with suspend itself.

The options in System Settings>Power are of course set to suspend in case of closing the lid (both for battery and AC poer).

Note: I have no idea if this is of any importance, but I'm running the gnome-session-fallback stuff, as I just hate the Unity desgin.


Lid Close Action

To set up the Laptop Lid Close Action you have to install Advanced Setting (or the Gnome Tweak Tool). It is in the USC (Ubuntu Software Center) under either tweak or Advanced Settings. If installed press the super button and type in tweak or advanced and choose the Advanced Settings. When it opens choose the shell tab;

Advanced Settings Before

Press the arrows and choose you desired on both on AC and on battery;

Advanced Setting After

Default buttons behavior

Install dconf-tools:

sudo apt-get install dconf-tools

Press alt+f2 and open dconf-editor (or in a terminal type dconf-editor)

Navigate to org.gnome.settings-daemon.plugins.power and set your default button-power action there:

enter image description here

On some systems you will also need to mark the item suppress-logout-restart-shutdown.


I think this is bug https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/863834


I'm having the same problem. this might relate to the gnome 3 power mgmt politics.

http://blogs.gnome.org/hughsie/2011/02/02/is-gnome-3-going-to-melt-your-laptop/

I'm using an external monitor so this might be the case. I just switched from closing lid to the keyboard power-down button.