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
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 h=suspend Docked= suspend eInhibited= yes
#HandleLidSwitc
HandleLidSwitch
#LidSwitchIgnor
$ 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. /github. com/systemd/ systemd/ issues/ 7137 /github. com/linuxmint/ cinnamon- settings- daemon/ issues/ 224 /github. com/linuxmint/ Cinnamon/ issues/ 7347
https:/
https:/
https:/