how to prevent debian from suspending when lid closed

note: this how to applies to any linux using systemd

just edit /etc/systemd/logind.conf to contain the following:


to reload without reboot issue: systemctl restart systemd-logind

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.