# Power Management Issues

# HandleLidSwitch status being ignored

**OS:** Fedora 40 (GNOME)

**Hardware:** Asus ROG, NVIDIA graphics

**Issue:**

I edited `logind.conf` to ignore HandleLidSwitch but every time, closing the lid would log me out of the session.

**Solution:**

See [Weird green and blue artifacts after opening and closing laptop lid](https://log.citrus.garden/books/solved-issues/page/weird-green-and-blue-artifacts-after-opening-and-closing-laptop-lid "Weird green and blue artifacts after opening and closing laptop lid")

# Closing laptop lid causes laptop to suspend (want it do nothing)

**OS:** Fedora 40 (GNOME)

**Hardware:** Asus ROG, NVIDIA graphics

**Issue:**

When I close the laptop lid, I don't want anything to happen. When I open it, the screen should be the same as when I closed it.

**Solution:**

Edit `/etc/systemd/logind.conf` so that it contains the following:

```
LidSwitchIgnoreInhibited=yes
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore
HandleLidSwitchExternalPower=ignore
```