"You have a laptop not connected to an external display and configured in settings to suspend on lid close (battery/ac) but it doesn't suspend when you close the lid? Suspending through the menu works though and settings HandleLidSwitchDocked=suspend makes it suspend on lid close"
Yes, that's an absolutely correct summary of the problem and the conditions under which it occurs.
I've now also tested from a vt login (Ctrl-Alt-F1) and again the system doesn't suspend on lid closed unless HandleLidSwitchDocked=suspend is set
I note that I didn't have to log in when resuming the vt, whereas using the gui I need to go through the normal graphical greeter/login. When I closed the vt and returned to the Unity gui after this test, the Unity gui presented me with the greeter/login. I expect to see this login page and have to enter my password after a suspend, this is consistent with my settings.
@seb128
"You have a laptop not connected to an external display and configured in settings to suspend on lid close (battery/ac) but it doesn't suspend when you close the lid? Suspending through the menu works though and settings HandleLidSwitch Docked= suspend makes it suspend on lid close"
Yes, that's an absolutely correct summary of the problem and the conditions under which it occurs.
I've now also tested from a vt login (Ctrl-Alt-F1) and again the system doesn't suspend on lid closed unless HandleLidSwitch Docked= suspend is set
I note that I didn't have to log in when resuming the vt, whereas using the gui I need to go through the normal graphical greeter/login. When I closed the vt and returned to the Unity gui after this test, the Unity gui presented me with the greeter/login. I expect to see this login page and have to enter my password after a suspend, this is consistent with my settings.