Master da Web
Back to Blog

Fedora won't suspend/hibernate when closing laptop

LucasMay 18, 20171 min readUpdated on November 4, 2023

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”.

Tags#fedora
Share

Need Hosting or Servers?

Discover our VPS, dedicated servers and professional hosting solutions

Related Articles

View all articles