This question already has an answer here:

I have Ubuntu 18.04 installed on my Lenovo Thinkpad L560. When I close the lid nothing happens. I want the system to suspend. The settings for this are turned on. So when I close my lid and reopen it nothing has happened. I'm not logged out or anything.

Can you help me?

marked as duplicate by karel, Eric Carvalho, WinEunuuchs2Unix, waltinator, clearkimura Oct 21 '18 at 7:09

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


These instructions follows this tips page:

Enable automatic shutdown, hibernate, or do nothing when laptop lid is closed.

  1. Edit the logind.conf file

    sudo gedit /etc/systemd/logind.conf
  2. Uncomment the following line (delete the # character):



  3. Save the file and finally restart the systemd service:

    sudo systemctl restart systemd-logind.service
  • Not working on Lenovo T430, sadly – Chaim Eliyah May 16 at 21:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.