DellFanManagement
DellFanManagement copied to clipboard
Manual mode stops working after laptop wakes up from sleep or hibernate
Thanks for great tool. I've noticed that when my laptop hibernates and wakes up, the fans are always off. It works fine after I enable and disable EC fan control
That's normal. Going out of wake will reset everything, that's expected.
A simple event sub to https://docs.microsoft.com/en-us/dotnet/api/microsoft.win32.systemevents.powermodechanged?redirectedfrom=MSDN&view=dotnet-plat-ext-6.0
That reapply everything when waken back from sleep will do the trick, I do the same in an other app.
Another nice (optional) feature would be to put fans to manual-off mode automatically before putting laptop to sleep
@bedrin you can't reliably execute code "before" going to sleep from a dotnet app as far as I know. You can catch the event, but your process will get paused at any given point when the sleep state will come active. You can't "hold" it back to execute code.