Member-only story

Fedora Linux Not Suspending When Laptop Lid is Closed

Adjusting systemd logind Settings for Proper Laptop Lid Closure Behavior in Fedora

Luca Berton
4 min readNov 23, 2023

Introduction

Fedora, a popular Linux distribution, is known for its stability and performance. However, like any operating system, users may encounter issues from time to time. One common problem that Fedora users may face is the laptop failing to suspend when the lid is closed. Fortunately, this issue can often be resolved through adjustments to the systemd logind configuration.

Identifying the Problem:

When a laptop lid is closed, the default behavior on many Linux distributions, including Fedora, is to suspend the system to save power. However, users may find that their Fedora laptop remains active even when the lid is closed, leading to potential battery drain and other inconveniences.

Solution:

To resolve the issue of Fedora not suspending when the laptop lid is closed, users can make adjustments to the systemd logind configuration. Follow the steps below to implement the necessary changes:

1. Open a terminal on your Fedora system.

2. Edit the logind.conf file using a text editor. You can use a command-line text editor like nano…

--

--

Luca Berton
Luca Berton

Written by Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday

No responses yet