Laptop Close Lid Behavior
From Amahi Wiki
To change the way Fedora behaves when closing the lid on laptop, perform the following steps as root user:
- Edit /etc/systemd/logind.conf
- Find test #HandleLidSwitch=suspend
- Change suspend to ignore and remove the #
- Save file with changes
- Restart the login service:
systemctl restart systemd-logind.service
Ref: How do I make my system suspend when I close the laptop lid