Help determing why PC won't enter sleep mode

Page 1 of 2 12 LastLast

  1. Posts : 58
    Windows 10 Pro
       #1

    Help determing why PC won't enter sleep mode


    I have a webcam that is apparently preventing my computer from sleeping.

    I have the following listed when I run powercfg /requests:

    C:\WINDOWS\system32>powercfg /requests
    DISPLAY:
    None.

    SYSTEM:
    [DRIVER] HD Webcam C615 (USB\VID_046D&PID_082C&MI_00\7&3772e1ad&0&0000)
    An audio stream is currently in use.
    [DRIVER] Legacy Kernel Caller

    AWAYMODE:
    None.

    EXECUTION:
    None.

    PERFBOOST:
    None.

    ACTIVELOCKSCREEN:
    None.


    I then added a request override to prevent the webcam from blocking sleep:

    C:\WINDOWS\system32>powercfg /requestsoverride DRIVER "HD Webcam C615 (USB\VID_046D&PID_082C&MI_00\7&3772e1ad&0&0000)" SYSTEM

    I then verified the override was present by running the following:

    C:\WINDOWS\system32>powercfg /requestsoverride
    [SERVICE]

    [PROCESS]

    [DRIVER]
    HD Webcam C615 (USB\VID_046D&PID_082C&MI_00\7&3772e1ad&0&0000) SYSTEM


    The override appears to exist, yet every time I wake up in the morning my computer is fully on, i.e. all GPU and motherboard lights are on, and touching the mouse or keyboard immediately wakes up the monitor and brings me to the desktop with everything exactly as I left it. Prior to plugging in the webcam, I would wake up in the morning to find all of my computer's lights off, and touching the mouse or keyboard would make the computer go through the boot up process again, but would then restore my desktop as I had left it before.

    I then ran the following to look at the diagnostics:

    C:\WINDOWS\system32>powercfg /systemsleepdiagnostics
    System Sleep Timeline report saved to file path C:\WINDOWS\system32\system-sleep-diagnostics.html.


    I cannot quite figure out how to interpret the results. Here is a screen capture from last night (technically early this morning):



    The "TIME USER WENT IDLE", 01:56:22, is correct based on when I left my computer to go to bed. The "IDLE DURATION" implies that something woke my computer up at around 5:45 AM. I live alone and know that no one touched the computer at this time, and from looking at the report the "Power Requests" from "HD Webcam C615" are highlighted in red, along with the /Dev below it. Does that mean the webcam woke my PC up? Did my PC even go to sleep to begin with? The "System Idle Events" at the bottom of the screenshot shows a lot of events with the description "The system idle time was reset because: The system detected user input.", all of which correspond to times I was actually at my computer.

    The next session in the diagnostics file is as follows:



    It appears the computer went idle again after being woken up at the end of the previous session, but was then woken up at around 7:30 AM. Again, no one physically touched the computer at this time. When looking at "Power Requests", I again see "HD Webcam C615" and "\Dev" listed in red, and a VS background service listed in yellow. What is the difference between a red entry and a yellow entry?

    Also the "System Idle Events" says "The system idle time was reset because: The system detected user input." at 05:45:26, but again I live alone and was not awake at that time.

    Can anyone help me interpret these results and figure out how to make Windows ignore the webcam for purposes of putting the PC to sleep, other than manually unplugging and replugging it every time?

    Windows version: 1909 (OS Build 18363.900)
      My Computer


  2. Posts : 30,192
    Windows 11 Pro x64 Version 23H2
       #2

    Hi.

    What kind of device is this, laptop or desktop. Sounds like desktop.

    If you disconnect webcam is all resolved?

    If you run powercfg /requests again, camera connected, is any thing new showing?

    If you tell machine to sleep does it? Start > Power > Sleep


    When you wake up in the morning and find machine on, assuming it did go to sleep, if you run command

    powercfg /lastwake

    What device or process is listed as cause?


    Ken
      My Computer


  3. Posts : 58
    Windows 10 Pro
    Thread Starter
       #3

    Caledon Ken said:
    Hi.

    What kind of device is this, laptop or desktop. Sounds like desktop.
    Yes, it's a desktop.

    Caledon Ken said:
    If you disconnect webcam is all resolved?
    Correct.

    Caledon Ken said:
    If you run powercfg /requests again, camera connected, is any thing new showing?
    With the camera disconnected, all categories show "None." when powercfg /requests is run.

    If the camera is plugged back in and powercfg /requests is run, the result is as shown in my original post.



    Caledon Ken said:
    If you tell machine to sleep does it? Start > Power > Sleep
    Yes.

    Caledon Ken said:
    When you wake up in the morning and find machine on, assuming it did go to sleep, if you run command

    powercfg /lastwake

    What device or process is listed as cause?
    If the webcam was plugged in and I run your command the next morning I see the following:

    C:\WINDOWS\system32>powercfg /lastwake
    Wake History Count - 0


    If the webcam is not plugged in, or if I wake up the computer after manually putting it to sleep then I see the following:


    C:\WINDOWS\system32>powercfg /lastwake
    Wake History Count - 1
    Wake History [0]
    Wake Source Count - 1
    Wake Source [0]
    Type: Device
    Instance Path: PCI\VEN_8086&DEV_A2AF&SUBSYS_10473842&REV_00\3&11583659&0&A0
    Friendly Name: Intel(R) USB 3.0 eXtensible Host Controller - 1.0 (Microsoft)
    Description: USB xHCI Compliant Host Controller
    Manufacturer: Generic USB xHCI Host Controller
      My Computer


  4. Posts : 30,192
    Windows 11 Pro x64 Version 23H2
       #4

    What apps are allowed to access your MIC in Privacy?

    In Cortana Settings is Hey Cortana enabled?
      My Computer


  5. Posts : 30,192
    Windows 11 Pro x64 Version 23H2
       #5

    Additionally is your Webcam starting any software every time your device is booted?
      My Computer


  6. Posts : 30,192
    Windows 11 Pro x64 Version 23H2
       #6

    Searching Logitech's site I stumbled onto this?

    Are you using a USB3 or 2 port?


    Help determing why PC won't enter sleep mode-image.png
      My Computer


  7. Posts : 58
    Windows 10 Pro
    Thread Starter
       #7

    Caledon Ken said:
    What apps are allowed to access your MIC in Privacy?
    "Allow apps to access your microphone" is set to "On".

    The following Microsoft Store apps can access the microphone:

    3D Viewer
    Camera
    Feedback Hub
    Messaging
    Microsoft Edge
    Microsoft Photos
    Microsoft Store
    Mixed Reality Portal
    OneNote for Windows 10
    Skype
    Take a Test
    Voice Recorder
    Xbox Console Companion
    Xbox Game Bar

    "Allow desktop apps to access your microphone" is set to "On".

    There is a note below that that says "Some desktop apps might not appear in the following list or are not affected by this setting. Find out why"

    The list contains the following desktop apps:

    VirtualBox Manager (Currently in use)
    Zoom Meetings
    Windows host process (Rundll32)

    Caledon Ken said:
    In Cortana Settings is Hey Cortana enabled?
    Do mean in Start->Settings->Cortana? I don't even see the words "Hey Cortana" listed there and I seem to remember disabling all of the Cortana stuff when I first installed Windows 10, although I don't remember the exact method I used. I would guess it's disabled.

    - - - Updated - - -

    Caledon Ken said:
    Additionally is your Webcam starting any software every time your device is booted?
    Is there a way to determine this conclusively? When I look at the Processes tab of Task Manager I see the following that are probably related to the webcam:

    Logitech RightSight Service
    Logitech VC ServiceLayer

    - - - Updated - - -

    Caledon Ken said:
    Searching Logitech's site I stumbled onto this?

    Are you using a USB3 or 2 port?


    Help determing why PC won't enter sleep mode-image.png
    It's USB3. Do you have a link to that article? I can't seem to find it through my searching.
      My Computer


  8. Posts : 30,192
    Windows 11 Pro x64 Version 23H2
       #8

    Sorry no on article, actually there is no article.

    That was taken from their support site.

    Went there started typing C615 and it pops up

    Help determing why PC won't enter sleep mode-image.png


    Did you try on USB2 port?


    Doesn't sound like any apps are present, they would be in Notification area of task bar.


    This does not seem to be a common issue, all my searching came up blank except for that FAQ item I posted.


    When you removed Cortana was that just for this user, you, or did you get down into the system and eliminated.


    Maybe their forum, with more people using C615 would have answers.

    I wonder if a repair install would correct. Downside it might install features you don't want.
      My Computer


  9. Posts : 58
    Windows 10 Pro
    Thread Starter
       #9

    I did some more troubleshooting and determined the following:

    If I reboot the computer and then run powercfg /requests, nothing is listed under the SYSTEM section and the computer goes to sleep as expected once the idle timeout is reached.

    Launching VirtualBox (an actual virtual machine, not just the base application) and then running powercfg /requests shows the "[DRIVER] HD Webcam C615 (USB\VID_046D&PID_082C&MI_00\7&3772e1ad&0&0000)" and "[DRIVER] Legacy Kernel Caller" entries to show up as shown in my original post. As long as these entries are present, the computer will not enter sleep mode.

    If I then close the VirtualBox virtual machine, and then run powercfg /requests, nothing is listed under the SYSTEM section anymore and the computer once again goes to sleep as expected once the idle timeout is reached.

    Plugging the webcam into a USB 2.0 port doesn't change the behavior described above.

    I still have no idea why Windows is ignoring the powercfg /requestsoverride I setup.
      My Computer


  10. Posts : 30,192
    Windows 11 Pro x64 Version 23H2
       #10

    Think I would be asking what in virtualbox is overriding Windows ?


    Nice bit of detective work.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:27.
Find Us




Windows 10 Forums