Skip to content

Instantly share code, notes, and snippets.

@StevenMacias
Created December 7, 2019 19:47
Show Gist options
  • Save StevenMacias/ced1a7e24bee8993a6218e4f98c57cb1 to your computer and use it in GitHub Desktop.
Save StevenMacias/ced1a7e24bee8993a6218e4f98c57cb1 to your computer and use it in GitHub Desktop.
Lenovo Y540 tries to go to sleep but wakes up inmediatly in Linux Mint/Ubuntu.
Check the lines that are enable:
cat /proc/acpi/wakeup
Disable one by one until sleep works:
echo [Device] | sudo tee /proc/acpi/wakeup
In my case this one was the problem:
echo XHC | sudo tee /proc/acpi/wakeup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment