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

Windows 11: PreventStandby doesn't prevent standby any more #746

Closed
michaelherger opened this issue Jan 7, 2022 · 2 comments
Closed

Windows 11: PreventStandby doesn't prevent standby any more #746

michaelherger opened this issue Jan 7, 2022 · 2 comments

Comments

@michaelherger
Copy link
Member

See https://forums.slimdevices.com/showthread.php?115704-Anyone-running-LMS-on-Windows-11&p=1042620&viewfull=1#post1042620

[22-01-07 12:16:18.0093] Slim::Plugin::PreventStandby::Plugin::_playersBusy (159) Player Squeezebox is busy...
[22-01-07 12:16:18.0095] Slim::Plugin::PreventStandby::Plugin::checkClientA ctivity (109) Resetting idle counter. 20 minutes left in allowed idle period.
[22-01-07 12:16:18.0097] Slim::Plugin::PreventStandby::Plugin::checkClientA ctivity (126) Preventing System Standby...
[22-01-07 12:17:18.0075] Slim::Plugin::PreventStandby::Plugin::_playersBusy (159) Player Squeezebox is busy...
[22-01-07 12:17:18.0078] Slim::Plugin::PreventStandby::Plugin::checkClientA ctivity (109) Resetting idle counter. 20 minutes left in allowed idle period.
[22-01-07 12:17:18.0079] Slim::Plugin::PreventStandby::Plugin::checkClientA ctivity (126) Preventing System Standby...
[22-01-07 12:18:18.0274] Slim::Plugin::PreventStandby::Plugin::_playersBusy (159) Player Squeezebox is busy...
[22-01-07 12:18:18.0275] Slim::Plugin::PreventStandby::Plugin::checkClientA ctivity (109) Resetting idle counter. 20 minutes left in allowed idle period.
[22-01-07 12:18:18.0276] Slim::Plugin::PreventStandby::Plugin::checkClientA ctivity (126) Preventing System Standby...
[22-01-07 12:19:18.0146] Slim::Plugin::PreventStandby::Plugin::_playersBusy (159) Player Squeezebox is busy...
[22-01-07 12:19:18.0149] Slim::Plugin::PreventStandby::Plugin::checkClientA ctivity (109) Resetting idle counter. 20 minutes left in allowed idle period.
[22-01-07 12:19:18.0150] Slim::Plugin::PreventStandby::Plugin::checkClientA ctivity (126) Preventing System Standby...

at which point the PC goes to sleep.

@michaelherger
Copy link
Member Author

mherger added a commit that referenced this issue May 8, 2022
According to the docs we need to set another flag in order to successfully prevent standby on Windows.
@mherger
Copy link
Contributor

mherger commented May 17, 2022

This is fixed in 8.3

@mherger mherger closed this as completed May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants