After resuming from suspend fan is working full speed. Running this as sudo fixes it: for x in /sys/class/thermal/cooling_device*/cur_state; do echo 0 > $x;.

Where should I put the hook script in order to run on resume? I tried /lib/systemd/system-sleep and /etc/pm/sleep.d to no avail.

  • The answer given here by @SpmP works on Loki without installing additional packages.
    – RTbecard
    Apr 29, 2018 at 8:58

1 Answer 1


This is me answering my question: simply place the script in /etc/pm/sleep.d and install pm-utils with sudo apt-get install pm-utils

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.