Skip to content
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

Listening key events are preventing system from going to sleep #190

Open
guzelonur opened this issue Jun 22, 2024 · 0 comments
Open

Listening key events are preventing system from going to sleep #190

guzelonur opened this issue Jun 22, 2024 · 0 comments

Comments

@guzelonur
Copy link

guzelonur commented Jun 22, 2024

Hi,

I don't know if there is anyone experiencing the issue, if I reference this library and run some piece of demo code after compilation, Windows ignores timeout values about power saving that defined in various power schemes such as "turn off display after xxx minutes" or "go standby after xxx minutes" and the system never goes to sleep or turns off the display as long as the demo program is running.

If I close the program (the program has reference to this library), everything goes back to normal. I experienced that on an old XP SP3 machine which lacks parameterized usage of "powercfg /requests" that would reveal the program (the program that is breaking the system idling sequence) on higher versions of Windows if you try with the same powercfg command (with /requests switch).

I would like to get feedback if anyone else is experiencing the identical problem.

Best regards.

@guzelonur guzelonur changed the title Listening key events preventing system from going to sleep Listening key events are preventing system from going to sleep Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant