-
-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto Dark Mode prevents system from going to sleep #317
Comments
Hello! Thank you for your report, thank you for following the bug template, and thank you for providing all the log files. Why the bug occurredAfter every theme application, Auto Dark Mode retrieves the current theme from a windows API endpoint. For some reason, that endpoint's return value is not matching the current Windows theme, even though it was reported as applied correctly. I am unsure what is causing this behavior and have seen it on some computers, including mine, but not to that extent (goes away on its own within minutes. Basically, the Windows API never returns the correct theme path in your case. How to fix itIn the newer Auto Dark Mode betas, there is already an option availalbe to disable theme validation. |
Thanks very much for the quick response! The new beta build appears to have fixed the sleep issue but also seems to have introduced a regression - Automatic theme switching doesn't seem to work any more. Nor does it work when I force the theme from the system tray. Log: service.log |
Hmm I am unable to reproduce this. |
- less strict switch criteria in theme manager - improve force theme with disabled monitor - add debug logging to disabled active monitor state - unrelated: improve tray icon hide message
Please try again with Beta 0.1.52. If it still doesn't work, please open the config file, enable the Debug flag under the Tunable section, delete the service.log file, restart the service and post the entire output after attempting to switch themes automatically and manually. |
That seems to have done the trick! Thanks again for the lightning-fast turn-around on this issue :) I'll keep an eye out for any other bugs. PS: I hope that the Paypal link displayed in-app sends the proceeds to both developers (I didn't want to set up a GitHub Sponsers account). |
Awesome! Glad it works now! |
Description
Having the Auto Dark Mode service running in the background prevents Windows from going to sleep. I've had this issue for quite some time now (system not going to sleep) but didn't manage to figure out what was causing it until just now.
Strangely enough, nothing shows up in the system logs or
powercfg /requests
that would indicate that that the service was the root cause.Expected behavior
The system automatically goes to sleep as configured in the Windows power management settings.
Log Data
service.log
Commit Hash and Version
The text was updated successfully, but these errors were encountered: