Skip to content

Add option to prevent system sleep while active - #49

Open
veerlinx wants to merge 1 commit into
diglet48:masterfrom
veerlinx:feature/prevent-sleep-wakepy
Open

Add option to prevent system sleep while active#49
veerlinx wants to merge 1 commit into
diglet48:masterfrom
veerlinx:feature/prevent-sleep-wakepy

Conversation

@veerlinx

Copy link
Copy Markdown

Adds a "Prevent system sleep while active" preference (default on). When enabled, restim inhibits OS sleep for as long as playback is active. This uses the wakepy library which provides cross-platform support.

@veerlinx

veerlinx commented Aug 31, 2026

Copy link
Copy Markdown
Author

@diglet48 Wasn't sure of the dev process, hope this unsolicited PR is ok?

I've only tested on macOS. It uses the wakepy library for Windows & Linux support also.

Screenshot 2026-08-31 at 17 30 06

Adds a "Prevent system sleep while active" preference (default on).
When enabled, restim inhibits OS sleep for as long as playback is
active. This uses the wakepy library which provides cross-platform
support.
@veerlinx
veerlinx force-pushed the feature/prevent-sleep-wakepy branch from fc34f0e to 40a5d53 Compare August 31, 2026 09:28
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

Successfully merging this pull request may close these issues.

1 participant