Skip to content

Instantly share code, notes, and snippets.

@elissonmichael
Created January 11, 2024 19:59
Show Gist options
  • Save elissonmichael/c5c08f20161c0a06c5fc0855bc708152 to your computer and use it in GitHub Desktop.
Save elissonmichael/c5c08f20161c0a06c5fc0855bc708152 to your computer and use it in GitHub Desktop.
Fix Ubuntu 23.10 Dont Suspend - /usr/lib/systemd/system-sleep
#! /bin/bash
case $1 in
pre)
echo GPP0 > /proc/acpi/wakeup
;;
esac
@elissonmichael
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment