← BACK TO GUIDES

Fix Thinkfan Service Stopping on Wake

Configuring systemd-sleep hooks to automatically restart thinkfan upon wake from suspend.

#THERMAL#SYSTEM
If Thinkfan annoyingly stops working after waking your Ubuntu ThinkPad from suspend, your fan curves won't load. Here is how to automatically restart the thinkfan service on wake using systemd.
Here's what to do:
ant@alderlakel13:~$ sudo systemctl edit thinkfan
Then add the following lines to the override file:
[Service] Restart=always RestartSec=5s
Save, exit, then reload the daemon:
ant@alderlakel13:~$ sudo systemctl daemon-reload