Prevents System Sleep
See original GitHub issueDescribe the bug
When running, even when not “active”, Google Assistant prevents the system from sleeping.
To Reproduce Steps to reproduce the behavior:
- Run Google Assistant
- After any amount of time, with Google Assistant minimized to tray, open Powershell and run
powercfg.exe -requests
You will likely see:
An audio stream is currently in use
- Quit Google Assistant
- Open Powershell and run
powercfg.exe -requests
You’ll see that the audio stream is no longer in use:
Expected behavior
The audio stream should only be active while Google Assistant is shown. If using a “Listen for ‘Hey Google’” type of feature (which I don’t see exists?), it should not prevent computer from sleeping.
Desktop (please complete the following information):
- OS: Win 10 Build 20H2
- Version 1.0.0-rc.2
Additional context
I searched to see if there were any issues or PRs related to this and didn’t see any. If this has been fixed, please let me know and I’ll build from source and report back.
Notes
None of the settings in the current build seem to affect the output of powercfg.exe -requests
. I tried disabling all the audio/mic options and ran into the same issues.
I’ve also tried using variations of powercfg -REQUESTSOVERRIDE DRIVER "USB\VID_046D&PID_082D&MI_02\8&82b3bcc&0&0002" SYSTEM DISPLAY AWAYMODE
as a workaround, but that hasn’t seem to have helped.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (11 by maintainers)
@mdrichardson @coder-lg Duplicate of #30
This issue has already been reported and has been fixed. For bug details, refer https://github.com/Melvin-Abraham/Google-Assistant-Unofficial-Desktop-Client/issues/30#issuecomment-718846607
The fix will be available in the next release of this app. Till then if you want to test it, you can clone this repo and run it locally (see How to build?).
It worked, like after 30 seconds, it was not showing in powercfg. Thanks a lot!