-
Notifications
You must be signed in to change notification settings - Fork 422
App might not release power management assertions in some circumstances #3486
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
Comments
Does this happen right on after app startup or is there an activity that triggers this behavior? |
Note: the app intentionally blocks sleep in specific circumstances, like mode switch or reinitialization to prevent the system from entering to sleep when only one display is connected. This however should be temporary, not continuous. These are the events when the app attempts to prevent sleep for a while (for 10 seconds after trigger):
If you see the app continuously preventing sleep, then something must be wrong/stuck somehow, we should figure out what. |
Hmm. I was able to reproduce the issue. It seems like the sleep prevention assertion is not released properly in some situations. The OS should still let sleep back after about a minute or so anyway, but this is not ideal for sure:
|
Hi @waydabber, thanks for your fast support. Reading your first post I remembered that I wrote a hammerspoon script for restart BetterDisplay when computer sleep/wakeup for a issue with dummy displays in apple sillicon: https://ptb.discord.com/channels/903276571773771796/903276571773771799/1076823918557528137 Removing this script, BetterDisplay is in Preventing Sleep mode only a moment. |
Thanks for the additional info. Nevertheless, the fact remains that there is a bug in the app as the |
PreventUserIdleSystemSleep
assertion properly in some circumstances
PreventUserIdleSystemSleep
assertion properly in some circumstances
I'll release a stable update with a fix for this as it can actually be an annoying issue. Thanks @gonzalezcalleja for reporting this! |
The v3.1.2 fixing specifically this issue is now out. |
Hi,
After last updates (now v.3.1.1) with macOS 15.0.1, In activity Monitor, BetterDisplay is always "YES" in Preventing Sleep so I can't sleep my computer.
This issue has never happened before.
The text was updated successfully, but these errors were encountered: