Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
fix brightness waking up from sleep/suspend
For waking up from suspension, I create the following script /etc/pm/sleep.d/brightness:
```shell
#!/bin/sh
case "$1" in
resume|thaw)
echo 170 > /sys/class/backlight/intel_backlight/brightness
;;
esac
```
And the permission of the script is -rwxr-xr-x. This should also solve your problem.
But if the screen is dimmed, the brightness is set to maximum after recovering from the dimming.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.