I have a similar problem on 18.04 on a Lenovo V330.
Suspend works fine without external monitor, but no matter what I do it's 
inhibited when its connected. I want it to suspend always.

$ grep -i lid /etc/systemd/logind.conf
#HandleLidSwitch=suspend
HandleLidSwitchDocked=suspend
#LidSwitchIgnoreInhibited=yes

$ dconf read 
/org/gnome/settings-daemon/plugins/power/lid-close-suspend-with-external-monitor
true

$ systemd-inhibit --list --mode=block
<snip>
     Who: gdm (UID 121/gdm, PID 5935/gsd-power)
    What: handle-lid-switch
     Why: Multiple displays attached
    Mode: block

     Who: gaute (UID 1000/gaute, PID 1713/gsd-power)
    What: handle-lid-switch
     Why: Multiple displays attached
    Mode: block

Only the second of these goes away when monitor is unplugged, but lid
close still works.

This is possibly due to a bug in gsd-power which is mentioned in the following 
guthub issues.
https://github.com/systemd/systemd/issues/7137
https://github.com/linuxmint/cinnamon-settings-daemon/issues/224
https://github.com/linuxmint/Cinnamon/issues/7347


** Bug watch added: github.com/linuxmint/cinnamon-settings-daemon/issues #224
   https://github.com/linuxmint/cinnamon-settings-daemon/issues/224

** Bug watch added: github.com/linuxmint/Cinnamon/issues #7347
   https://github.com/linuxmint/Cinnamon/issues/7347

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to