I've been experiencing the same problem since friday on a Dell XPS 9560 laptop on Bionic. I created a different user account to test and laptop doesn't suspend, but if I switch that user to a Mate Desktop session it works fine.
These are the relevant lines on my logind.conf file: ~ cat /etc/systemd/logind.conf |grep -i lid HandleLidSwitch=ignore #HandleLidSwitchDocked=ignore #LidSwitchIgnoreInhibited=yes Curiously, I can see this config file was changed last (presumably due to an update?) just last friday june the 8th, which is perhaps too much of a coincidence: /etc/systemd ~ ll total 36K -rw-r--r-- 1 root root 1.1K Apr 2 20:25 journald.conf -rw-r--r-- 1 root root 1017 Jun 8 13:33 logind.conf drwxr-xr-x 2 root root 4.0K Oct 4 2017 network -rw-r--r-- 1 root root 601 Apr 12 12:12 resolved.conf drwxr-xr-x 21 root root 4.0K Jun 11 08:18 system -rw-r--r-- 1 root root 1.7K Apr 2 20:25 system.conf -rw-r--r-- 1 root root 604 Apr 2 20:25 timesyncd.conf drwxr-xr-x 3 root root 4.0K May 10 15:52 user -rw-r--r-- 1 root root 1.2K Jul 12 2017 user.conf This happens on: * Ubuntu gnome session * Vanilla gnome session * Unity 7 session Suspend on lid closed works correctly on * Mate session I do not mix DE's on the same user, always create a new one to use with it to avoid home folder pollution. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-signed in Ubuntu. https://bugs.launchpad.net/bugs/1776113 Title: Laptop does not suspend when lid is closed Status in linux-signed package in Ubuntu: New Bug description: $ lsb_release -rd Description: Ubuntu 18.04 LTS Release: 18.04 In Tweaks > Power, "Suspend when laptop lid is closed" is ON, but my laptop does not suspend when the lid is closed. The laptop is a Thinkpad P50. When closing the laptop lid, no events show up in dmesg. This is my /etc/systemd/login.conf: [Login] #NAutoVTs=6 #ReserveVT=6 #KillUserProcesses=no #KillOnlyUsers= #KillExcludeUsers=root #InhibitDelayMaxSec=5 #HandlePowerKey=poweroff #HandleSuspendKey=suspend #HandleHibernateKey=hibernate HandleLidSwitch=suspend HandleLidSwitchDocked=suspend #PowerKeyIgnoreInhibited=no #SuspendKeyIgnoreInhibited=no #HibernateKeyIgnoreInhibited=no #LidSwitchIgnoreInhibited=yes #HoldoffTimeoutSec=30s #IdleAction=ignore #IdleActionSec=30min #RuntimeDirectorySize=10% #RemoveIPC=yes #InhibitorsMax=8192 #SessionsMax=8192 #UserTasksMax=33% ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: linux-image-4.15.0-22-generic 4.15.0-22.24 ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17 Uname: Linux 4.15.0-22-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.9-0ubuntu7.1 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sun Jun 10 14:16:10 2018 InstallationDate: Installed on 2018-03-26 (76 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1) ProcEnviron: PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: linux-signed UpgradeStatus: Upgraded to bionic on 2018-05-17 (24 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1776113/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp