Created
January 11, 2024 19:59
-
-
Save elissonmichael/c5c08f20161c0a06c5fc0855bc708152 to your computer and use it in GitHub Desktop.
Fix Ubuntu 23.10 Dont Suspend - /usr/lib/systemd/system-sleep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
case $1 in | |
pre) | |
echo GPP0 > /proc/acpi/wakeup | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From - https://askubuntu.com/questions/1395148/pc-wakes-up-immediately-after-suspend
First Check -
cat /proc/acpi/wakeup | grep enabled
After Script -
sudo chmod 755 /usr/lib/systemd/system-sleep/disable-GPP0