dmitry-s93 / MControlCenter

An application that allows you to change the settings of MSI laptops running Linux
GNU General Public License v3.0
265 stars 66 forks source link

Detect sleep using QTimer and reapply Advanced Fan Mode after wakeup #181

Closed Jiogo18 closed 5 months ago

Jiogo18 commented 5 months ago

This is a workaround to detect if the device got into sleep mode (for at least 5 seconds). When a wake-up is detected, Advanced Fan Mode is re-applied if needed.

This should fix #151, but there might be a better way to solve this issue.