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

question #11

Open
thewh1teagle opened this issue Apr 16, 2024 · 2 comments
Open

question #11

thewh1teagle opened this issue Apr 16, 2024 · 2 comments

Comments

@thewh1teagle
Copy link

Does it keep the screen on?
If so, is there a way to keep the computer awake without keeping the display on?

@pevers
Copy link
Owner

pevers commented Apr 17, 2024

Does it keep the screen on? If so, is there a way to keep the computer awake without keeping the display on?

There is a way but it is not (yet) part of this library. macOS supports kIOPMAssertionTypeNoIdleSleep for example to prevent the system from sleeping without preventing the display to sleep.

I haven't looked yet into support from the other platforms.

@thewh1teagle
Copy link
Author

Maybe you can follow https://github.com/segevfiner/keepawake-rs

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

2 participants