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
fix: register for connected standby changes #25076
Conversation
Release Notes Persisted
|
I was unable to backport this PR to "8-x-y" cleanly; |
I was unable to backport this PR to "9-x-y" cleanly; |
I have automatically backported this PR to "10-x-y", please check out #25111 |
@zcbenz / @codebytere |
/trop run backport-to 11-x-y |
The backport process for this PR has been manually initiated - |
I was unable to backport this PR to "11-x-y" cleanly; |
Description of Change
Close #24499.
For Windows 8 and later, a new "connected standby" mode has been added and we must explicitly register for its notifications to get the
suspend/resume
events.Checklist
npm test
passesRelease Notes
Notes: Fix
powerMonitor
not emittingsuspend
/resume
events on some Windows machines.