Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created February 13, 2018 20:00
Show Gist options
  • Save cleverca22/4fdc90eccecf3dba5f373b5af9ad3a58 to your computer and use it in GitHub Desktop.
Save cleverca22/4fdc90eccecf3dba5f373b5af9ad3a58 to your computer and use it in GitHub Desktop.
[root@system76:~]# cat /proc/acpi/wakeup | grep -i lid | grep enabled && echo yes
LID0 S3 *enabled platform:PNP0C0D:00
yes
[root@system76:~]# echo LID0 > /proc/acpi/wakeup
[root@system76:~]# cat /proc/acpi/wakeup | grep -i lid | grep enabled && echo yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment