The problem persists after sorting the oddity with the unity-settings-
daemon, which appears to have been a one-off problem. (See bug #1577906
for more detail.)
Now I find that suspend only works if "HandleLidSwitchDocked=suspend" is
in logind.conf.
Without that I return to the bug condition.
In the bug condition suspend works fine from the session indicator.
neilw@NWPS-LAP:~$ systemd-inhibit
Who: neilw (UID 1000/neilw, PID 1558/unity-settings-)
What: handle-power-key:handle-suspend-key:handle-hibernate-key
Why: GNOME handling keypresses
Mode: block
Who: NetworkManager (UID 0/root, PID 2267/NetworkManager)
What: sleep
Why: NetworkManager needs to turn off networks
Mode: delay
Who: Telepathy (UID 1000/neilw, PID 1797/mission-control)
What: shutdown:sleep
Why: Disconnecting IM accounts before suspend/shutdown...
Mode: delay
Who: neilw (UID 1000/neilw, PID 1558/unity-settings-)
What: sleep
Why: GNOME needs to lock the screen
Mode: delay
Who: Unity (UID 1000/neilw, PID 1566/compiz)
What: sleep
Why: Unity needs to lock the screen
Mode: delay
5 inhibitors listed.
** Attachment added: "As requested in post #22"
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+attachment/4655927/+files/journal.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1574120
Title:
Notebook doesn't suspend when lid is closed after update to 16.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs