The problem
Windows default power settings put the PC to sleep after a period of inactivity. When Pomotroid is used to time work that doesn't involve the PC — reading, writing, studying — the system may sleep mid-session, causing missed alerts and disrupted focus.
The solution
A new Power section in System settings with two toggles:
- Keep System Awake — prevents the PC from sleeping while a timer is running
- Keep Screen On — sub-option that also prevents the display from turning off
Both toggles activate only while the timer is running and release immediately on pause, reset, or completion.
Implementation:
Windows only. Uses SetThreadExecutionState (documented Win32 API, stable since Windows XP). No-op on other platforms — no behaviour change for macOS or Linux users.
The result:
Uninterrupted, focused, straightforward work for even more users of Pomotroid
The problem
Windows default power settings put the PC to sleep after a period of inactivity. When Pomotroid is used to time work that doesn't involve the PC — reading, writing, studying — the system may sleep mid-session, causing missed alerts and disrupted focus.
The solution
A new Power section in System settings with two toggles:
Both toggles activate only while the timer is running and release immediately on pause, reset, or completion.
Implementation:
Windows only. Uses SetThreadExecutionState (documented Win32 API, stable since Windows XP). No-op on other platforms — no behaviour change for macOS or Linux users.
The result:
Uninterrupted, focused, straightforward work for even more users of Pomotroid