Views:
7,006
Votes: 7
✅ Solution
Tags:
16.04
suspend
shutdown
lid
Link:
🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
URL:
https://askubuntu.com/q/831765
Title:
Laptop lid close doesn't suspend then the battery dies
ID:
/2016/09/30/Laptop-lid-close-doesn_t-suspend-then-the-battery-dies
Created:
September 30, 2016
Upload:
November 23, 2025
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
Looking at the link you followed to lock the screen on lid close you need to follow these steps to have a regular suspend when the lid is closed.
Set Ubuntu Power Settings
From the Launcher select the cog for System Settings. Click the icon Power and this screen appears:
Look at the line When lid is closed and set the options as they appear above to Suspend.
Close the window.
Set systemd logind.conf settings
Invoke the Terminal by pressing Ctrl+Alt+T. Edit the systemd logind.conf file by typing:
gksu gedit /etc/systemd/logind.conf
Look for these two lines and change them to look like this:
HandleLidSwitch=suspend
HandleLidSwitchDocked=suspend
You might have to change ignore or lock to read suspend. You might have to remove a leading #.
Save the file and quit gedit. After ensuring no applications (like word processor, spreadsheet, etc.) have files open type into the terminal:
sudo reboot
Voila! everything is reversed and your system will operate as you expect.
