Skip to content

Prevent system sleep while remote access is enabled - #465

Merged
SDSLeon merged 3 commits into
masterfrom
poracode/keen-zebra-d1491466
Aug 2, 2026
Merged

Prevent system sleep while remote access is enabled#465
SDSLeon merged 3 commits into
masterfrom
poracode/keen-zebra-d1491466

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Tickets: none

  • Add a "Prevent sleep during remote access" setting (default on) so the OS stays awake while the remote access server is active, not just while threads are working.
  • Consolidate the sleep decision into a single policy that keeps the system awake when either a working thread or enabled remote access requires it.
  • Update the systemd inhibitor to use a generic "Poracode is active" wake reason covering both cases.
  • Add the toggle to the Remote Access settings section and the settings search index, with a new shared setting synced across processes.
  • Localize the new strings in all 12 non-English catalogs and add tests for the setting defaults, sleep policy, inhibitor, and settings UI.

SDSLeon added 3 commits August 1, 2026 21:23
- Add `remoteAccessPreventSleep` shared setting and a toggle in RemoteAccessSettings
- Introduce sleepPolicy to centralize sleep-prevention decisions for active threads and remote access
- Refresh the power save blocker when the remote controller enables
- Update systemd-inhibit reason string to "Poracode is active"
- Localize the new setting across all locale catalogs and add/extend tests
@SDSLeon
SDSLeon merged commit 31f25c9 into master Aug 2, 2026
8 checks passed
@SDSLeon
SDSLeon deleted the poracode/keen-zebra-d1491466 branch August 2, 2026 05:20
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