Should display wake up overnight when a program runs?

Page 4 of 4 FirstFirst ... 234

  1. Posts : 3,274
    Win10
       #31

    I, get a wake source if for eg. I put the "PC" to Sleep, and then wake it using the power button:

    Code:
    powercfg lastwake
    Wake History Count - 1
    Wake History [0]
      Wake Source Count - 1
      Wake Source [0]
        Type: Fixed Feature
        Power Button
    Also there is more info. here :
    https://learn.microsoft.com/en-us/wi...ption_lastwake

    /lastwake Reports information about what woke the system from the last sleep transition.

    But I don't get such output after waking the PC from Hibernation using the power button.
      My Computers


  2. Posts : 16,949
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #32

    I also find no wake source is recorded when I wake from hibernate.
    Code:
    Wake History Count - 1
    Wake History [0]
      Wake Source Count - 0
    {And Event viewer records Wake source - Unknown even though it was woken using the power button.}
    but is if I wake from S3 Sleep
    Code:
    Wake History Count - 1
    Wake History [0]
      Wake Source Count - 1
      Wake Source [0]
        Type: Fixed Feature
        Power Button
    {And Event viewer records Wake source - Power button even though it was woken using the touchpad button.}
    {This computer had previously been woken from S3 Sleep at least twice before these two tests.}

    PowerCfg was, like other Windows commands, developed years before Windows 10 and is not necessarily 100% Windows 10-compatible.


    All the best,
    Denis
      My Computer


  3. Posts : 478
    Windows 10
    Thread Starter
       #33

    I spent a few hours today building a circuit that will detect the level of illumination and count the occurrences and their durations.

    Briefly tested OK so I’ll run it overnight.

    Also now running blank (black) screen saver after 1 minute of non-use.

    Terry

    - - - Updated - - -

    My circuit reported these six occasions overnight when the screen came ON after I left the room in darkness at around 22:00. All were short, presumably resulting from the blank Win 10 screen saver setting of 2 minutes idle time.

    Became light Became dark Light duration
    hh:mm:ss.s hh:mm:ss.s mm:ss (rounded)
    ------------ ----------- ---------------
    22:12:47.039 22:14:41.550 01:54
    22:41:37.963 22:43:31.186 01:53
    02:41:37.967 02:43:32.206 01:54
    05:00:06.067 05:02:04.650 01:58
    06:41:38.761 06:43:33.253 01:54
    07:30:06.102 07:32:01.450 01:55

    That formatting got scrambled in the preview so here's an image:

    Should display wake up overnight when a program runs?-monitor-circuitresults-1.jpg

    However I have not been able to associate those times with any cause. SecondCopy had only one run and that was around 04:00. And using Event Viewer to identify possible 'wake up' source (thanks again to Denis for the link) also drew a blank.

    Tonight I'll run the circuit again, but I'll first set Win 10
    Settings > Display > Power & sleep > Screen > When plugged in, turn off after >
    to 'Never'.

    I'll also switch off the screen saver, which is apparently independent and overrides Settings.

    Terry
      My Computer


  4. Posts : 3,274
    Win10
       #34

    Does this cmmand show up anything ?
    powercfg /waketimers
      My Computers


  5. Posts : 478
    Windows 10
    Thread Starter
       #35

    das10 said:
    Does this cmmand show up anything ?
    powercfg /waketimers
    Yes, but darned if I know how to interpret them!

    --------------------
    C:\WINDOWS\system32>powercfg /waketimers
    Timer set by [SERVICE] \Device\HarddiskVolume6\Program Files\Macrium\Common\MacriumService.exe (MacriumService) expires at 06:00:00 on 29/01/23.

    Timer set by [SERVICE] \Device\HarddiskVolume6\Windows\System32\svchost.exe (SystemEventsBroker) expires at 02:59:30 on 29/01/23.
    Reason: Windows will execute 'NT TASK\Microsoft\Windows\UpdateOrchestrator\Schedule Wake To Work' scheduled task that requested waking the computer.
    --------------------
      My Computer


  6. Posts : 3,274
    Win10
       #36

    I have limited experience with Task Scheduler during Sleep durations (as I have always disabled Wake by Real Time Clock in the BIOS and I have also set my Updates Active Hours to a few Daylight hours). Hopefully, Denis or other members who use the Task Scheduler during such Sleep periods may be able to offer a suitable solution.
      My Computers


  7. Posts : 16,949
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #37

    Terry,

    The Update orchestrator task is a Windows update component
    [you'll see it in
    Task scheduler,
    Task scheduler library,
    Microsoft,
    Windows,
    UpdateOrchestrator]
    and I am not at all surprised about it being shown as a wake timer.
    It would not be a waste of time to see if UpdateOrchestrator tasks ran in Task scheduler at the times you recorded for screen turn on.

    I only have the free Macrium {for experimenting with} & I do not use it in a scheduled manner but am not surprised to see it listed in your wake timers.


    I'm a bit concerned that I've been wandering off the point a bit.
    I think you have already said that you do not sleep or hibernate your computer [because of your display problems] so we are not investigating mysterious wake ups but merely mysterious display turning on occurrences.
    So we are looking for something that ran at the relevant times that demanded use of the display.
    You might be able to find a match for the times in Task scheduler's summary screen - Task scheduler (Local), Task status section.
    Should display wake up overnight when a program runs?-task-scheduler-local-task-status-section.png
    Looking though each of the many, many entries here will be time-consuming & very tedious.
    - You'll have to double-click / drag on the dividing lines between columns to read the full times. I expanded the Consolidator task group in my diagram just to show you how poorly displayed it is at first.
    - You'll have to double-click on the + sign for each group in turn in the list to see its entries [with times for each] rather than just the untimed group headings you can see in my diagram for e.g. my CoreFilesBackup task.
    And I don't know if it will be successful. I think the chances are good but I cannot be sure.

    All the best,
    Denis
      My Computer


  8. Posts : 478
    Windows 10
    Thread Starter
       #38

    Overnight results from light detecting circuit
    I'd expected these would be similar to the previous night, with possibly longer light durations. But surprisingly, apart from a possible minute or less at the start, there were none. A dark period of 12 hours 9 mins.

    Task Scheduler info
    Very puzzling.Should display wake up overnight when a program runs?-notasks-2.jpg
      My Computer


  9. Posts : 16,949
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #39

    Terry,

    If you look at the right hand side you will see an entry Enable all tasks history. Perhaps it is required for that Task status section to be populated.
    I've always enabled task history as soon as I've installed Windows and was remiss in not mentioning that to you before.


    All the best,
    Denis
      My Computer


  10. Posts : 478
    Windows 10
    Thread Starter
       #40

    Try3 said:
    Terry,

    If you look at the right hand side you will see an entry Enable all tasks history. Perhaps it is required for that Task status section to be populated.
    I've always enabled task history as soon as I've installed Windows and was remiss in not mentioning that to you before.
    Thanks, duly enabled and looks promising as after a Refresh I now get the single entry:

    RefreshCache (last run succeeded at 29/01/23 14:01:22)

    I'll use my light circuit again tonight.

    - - - Updated - - -

    Terrypin said:
    Thanks, duly enabled and looks promising as after a Refresh I now get the single entry:

    RefreshCache (last run succeeded at 29/01/23 14:01:22)

    I'll use my light circuit again tonight.
    Taks Scheduler now reports fully, Dennis. (VERY fully!)

    But for second night running the room stayed dark overnight. So whatever it was that prompted this discussion remains a puzzle which I'll set aside for now. If I resume the forensics in future and find anything interesting I'll report back. Meanwhile thanks to all.

    Terry
      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 18:25.
Find Us




Windows 10 Forums