Debian- Laptop stops working after closing the laptop lid
To disable the Lid Switch:
Open the file
1 |
/etc/systemd/logind.conf |
as root.
Find this: HandleLidSwitch
If it’s commented, uncomment and change the value to ignore. The line after editing should be:
1 |
HandleLidSwitch=ignore |
Restart computer and your problem should be gone. Or better restart logind service:
1 |
sudo service systemd-logind restart |