Fedora won’t suspend/hibernate when closing laptop

shape
shape
shape
shape
shape
shape
shape
shape

There is a configuration file in Fedora that, by default, prevents the Notebook from going into sleep mode or hibernating when you close the Notebook.

To solve these problems:

  1. Edit the file “/etc/systemd/logind.conf
  2. Removes the comment from the line “#HandleLidSwitchDocked=suspend”
  3. Restart the service “systemctl restart systemd-logind

That’s it! Now when you close your notebook, it will go into sleep mode.

If you want to hibernate the notebook instead of suspending it, simply replace “suspend” with “hibernate”.

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest news

Latest news directly from our blog.