X-Series seems to have an issue with the fan control on suspend. In particular when thinkfan is active during suspending, the fan will continue to run indefinitely, even in suspended state.
The systemd configuration used here simply stops thinkfan right before going to sleep, and reactivates it upon wakeup.
The solution adapts a comment made on thinkfan's github page, vmatare/thinkfan#181 (comment)
-
Install thinkfan as per usual instructions
-
Copy the ./etc/systemd files in this repository to their corresponding directories in /etc/ on your system
-
Restart thinkfan