# Revision history [back]

### Laptop enters sleep/suspend mode when lid closes despite effort to stop

I have tried the power settings under the default gnome app, dconf-editor, and tried to edit logind.conf however nothing has worked. Everytime I close the lid, the laptop sleeps. I have been trying to convert old hardware to a cloud server. Which was successful except for this slight problem, if I close the lid the laptop sleeps and the server goes down, but comes back up when I open it.

Fedora 24 WS.

### Laptop enters sleep/suspend mode when lid closes despite effort to stop

I have tried the power settings under the default gnome app, dconf-editor, and tried to edit logind.conf however nothing has worked. Everytime I close the lid, the laptop sleeps. I have been trying to convert old hardware to a cloud server. Which was successful except for this slight problem, if I close the lid the laptop sleeps and the server goes down, but comes back up when I open it.

Fedora 24 WS.

Update:

I even tried disabling sleep/suspend and Hybernate entirely using

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target


but that didn't work. So after unmasking that, I tried a different desktop environment (XFCE) which does exactly what I need it to do, I dunno if its something in Gnome or what -- but XFCE works.