Sleep mode issue


Amos

New member
Local time
12:42 PM
Posts
25
OS
Windows 11
Hi

My monitor/computer (NUC) are inconsistent with their sleeping habits.
I wake up in the morning, and sometimes both the monitor and the computer are awake and sometimes both are asleep (as expected). I set the monitor to sleep after 1hour and the computer to fall asleep after 2hours.

What am I missing here? What is there to check that can explain this phenomena?
Thanks
 
Windows Build/Version
Windows 11 Pro 22000.593

My Computer

System One

  • OS
    Windows 11

cereberus

Well-known member
Pro User
VIP
Local time
10:42 AM
Posts
3,011
OS
Windows 10 Pro + others in VHDs
Hi

My monitor/computer (NUC) are inconsistent with their sleeping habits.
I wake up in the morning, and sometimes both the monitor and the computer are awake and sometimes both are asleep (as expected). I set the monitor to sleep after 1hour and the computer to fall asleep after 2hours.

What am I missing here? What is there to check that can explain this phenomena?
Thanks
It could be something as simple as mouse moving due to vibration, through to automatic updates.

Also, you may have something running in background that prevents pc sleeping in first place.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0

Amos

New member
Thread Starter
Local time
12:42 PM
Posts
25
OS
Windows 11
Sometimes I only have edge running when that happens (both sleep/unsleep).
Automatic updates are off and I update it manually.
How can I know/check what is causing it? Thanks
 

My Computer

System One

  • OS
    Windows 11

FreeBooter

Well-known member
Power User
VIP
Local time
1:42 PM
Posts
1,064
Location
Adana
OS
Windows 11
A lot of things can keep your computer from going to sleep, like downloading a file, opening a file on the network, or even a disconnected printer with an open job. Windows O/S have an easy method for finding out what the problem is.

Open the Command Prompt by typing cmd.exe into Start Menu, right-click on Cmd.exe, and open it as an administrator.


Within the Command Prompt type:

Code:
Powercfg  -requests

4VhXDQJ.png


It'll let you know if anything is keeping the computer awake.


Execute below command to identify the event or device that is responsible for the last waking process. Once the results are shown, check the “Instance Path:” to see where it originated from (the USB or PCI port for instance) and look under “Type:” for the nature of the cause, typically a device or a wake timer.

Code:
powercfg   /lastwake
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Try3

Well-known member
Power User
VIP
Local time
10:42 AM
Posts
1,006
Location
The proper part of London
OS
Windows 11 Home x64 Version 21H2 Build 22000.1219
Amos,

I suggest you also post the results of this command to identify your available sleep states.
PowerCfg -a

All the best,
Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 21H2 Build 22000.1219

Amos

New member
Thread Starter
Local time
12:42 PM
Posts
25
OS
Windows 11
A lot of things can keep your computer from going to sleep, like downloading a file, opening a file on the network, or even a disconnected printer with an open job. Windows O/S have an easy method for finding out what the problem is.

Open the Command Prompt by typing cmd.exe into Start Menu, right-click on Cmd.exe, and open it as an administrator.


Within the Command Prompt type:

Code:
Powercfg  -requests

4VhXDQJ.png


It'll let you know if anything is keeping the computer awake.


Execute below command to identify the event or device that is responsible for the last waking process. Once the results are shown, check the “Instance Path:” to see where it originated from (the USB or PCI port for instance) and look under “Type:” for the nature of the cause, typically a device or a wake timer.

Code:
powercfg   /lastwake
Nice! thanks. Now my monitor went to sleep (there wasn't enough time for the computer to fall asleep) so running this command shows None for all requests. I will run it again if again it won't fall asleep, hopefully it will show the problem.
 

My Computer

System One

  • OS
    Windows 11

Amos

New member
Thread Starter
Local time
12:42 PM
Posts
25
OS
Windows 11
Amos,

I suggest you also post the results of this command to identify your available sleep states.
PowerCfg -a

All the best,
Denis
C:\WINDOWS\system32>PowerCfg -a
The following sleep states are available on this system:
Standby (S3)
Hibernate
Hybrid Sleep
Fast Startup

The following sleep states are not available on this system:
Standby (S1)
The system firmware does not support this standby state.

Standby (S2)
The system firmware does not support this standby state.

Standby (S0 Low Power Idle)
The system firmware does not support this standby state.
 

My Computer

System One

  • OS
    Windows 11

Try3

Well-known member
Power User
VIP
Local time
10:42 AM
Posts
1,006
Location
The proper part of London
OS
Windows 11 Home x64 Version 21H2 Build 22000.1219
Amos,

OK. You do not have S0 confusing the issue so that potential complication need not be considered.

You can see the transitions to & from sleep [and hibernate] in Event viewer if you want to check that what you think is happening is actually happening whilst you investigate your problem.
Unzip this file then import its files into Event viewer using the control on the right, Import Custom view [you'll be asked to give each view a name and I suggest using the names I gave the files]. You have to import each one singly.
EventViewer.zip - re-attached following reports of problems downloading it
- It is always difficult to know what is significant in Event viewer results but, in general, read the General pane for whatever details it gives when sleep occurs and also when wakeup occurs because that might give further info on the sleep event itself.
- Note also that waking from hibernate is only identified in the Details pane [the tab next to the General pane] by values greater than zero for these entries: HiberWriteDuration, HiberReadDuration, HiberPagesWritten
- I included the Start, shutdowns Custom view as well just out of habit.
- When I find specific entries that seem significant, I also run NirSoft's FullEventLogView because that makes it easy to see everything in chronological order enabling the events before & after the event of interest to be considered.


Denis
 

Attachments

  • EventViewer.zip
    1.8 KB · Views: 5
Last edited:

My Computer

System One

  • OS
    Windows 11 Home x64 Version 21H2 Build 22000.1219

Amos

New member
Thread Starter
Local time
12:42 PM
Posts
25
OS
Windows 11
Amos,

OK. You do not have S0 confusing the issue so that potential complication need not be considered.

You can see the transitions to & from sleep [and hibernate] in Event viewer if you want to check that what you think is happening is actually happening whilst you investigate your problem.
Unzip this file then import its files into Event viewer using the control on the right, Import Custom view [you'll be asked to give each view a name and I suggest using the names I gave the files]. You have to import each one singly.
EventViewer.zip
- It is always difficult to know what is significant in Event viewer results but, in general, read the General pane for whatever details it gives when sleep occurs and also when wakeup occurs because that might give further info on the sleep event itself.
- Note also that waking from hibernate is only identified in the Details pane [the tab next to the General pane] by values greater than zero for these entries: HiberWriteDuration, HiberReadDuration, HiberPagesWritten
- I included the Start, shutdowns Custom view as well just out of habit.
- When I find specific entries that seem significant, I also run NirSoft's FullEventLogView because that makes it easy to see everything in chronological order enabling the events before & after the event of interest to be considered.


Denis
Thanks for your detailed explanation, just one thing confuses me, you're saying that I can see transitions from/to sleep but the problem is that the monitor never goes to sleep (so the computer for sure isn't), meaning something is stopping it.

Even a small mouse movement (not my case for sure, I myself is asleep at that time) can prevent it from falling asleep and this won't be recorded in the event viewer. I need something that records whatever prevents the sleep mode. for now I have the command from the previous reply.
 

My Computer

System One

  • OS
    Windows 11

Try3

Well-known member
Power User
VIP
Local time
10:42 AM
Posts
1,006
Location
The proper part of London
OS
Windows 11 Home x64 Version 21H2 Build 22000.1219
Sorry if I confused you.
- You said in your first post that it sometimes slept and sometimes did not so I thought being able to see when it did happen might be useful for you.

Perhaps you could disconnect your mouse when you go to bed to eliminate it as a cause of staying awake. Whilst it might not be a 'solution' it might help you move towards one.

Best of luck,
Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 21H2 Build 22000.1219

glasskuter

Well-known member
Pro User
VIP
Local time
4:42 AM
Posts
2,955
Location
Paris in the Lone Star State of Texas
OS
Windows 11 Pro 22H2 22621.819

My Computers

System One System Two

  • OS
    Windows 11 Pro 22H2 22621.819
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 m.2 2230-256+1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 21H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell factory
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Internet Speed
    still not telling
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium

Amos

New member
Thread Starter
Local time
12:42 PM
Posts
25
OS
Windows 11
My computer fell asleep as expected so I woke it up by pressing the space key. I got the following:
C:\WINDOWS\system32>Powercfg -requests
DISPLAY:
None.

SYSTEM:
None.

AWAYMODE:
None.

EXECUTION:
None.

PERFBOOST:
[DRIVER] Legacy Kernel Caller
Power Manager

ACTIVELOCKSCREEN:
None.


C:\WINDOWS\system32>powercfg /lastwake
Wake History Count - 1
Wake History [0]
Wake Source Count - 0


1. what does the following means?
PERFBOOST:
[DRIVER] Legacy Kernel Caller
Power Manager

2. lastwake command seems to show irrelevant information, am I missing something?

Thanks
 

My Computer

System One

  • OS
    Windows 11

glasskuter

Well-known member
Pro User
VIP
Local time
4:42 AM
Posts
2,955
Location
Paris in the Lone Star State of Texas
OS
Windows 11 Pro 22H2 22621.819
My computer fell asleep as expected so I woke it up by pressing the space key
You woke the computer normally. You should run that command after the computer wakes abnormally.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 22H2 22621.819
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 m.2 2230-256+1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 21H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell factory
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Internet Speed
    still not telling
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium

Amos

New member
Thread Starter
Local time
12:42 PM
Posts
25
OS
Windows 11
You woke the computer normally. You should run that command after the computer wakes abnormally.
I see. I don't think the problem is that the computer wakes up abnormally, I think it's never falls asleep to begin with.
I did the above test just to see what is the output in case of a normal awake and then re-check if tomorrow morning I will see that the computer didn't fall asleep. Now I wonder if my strategy is relevant to whatever happens with my computer :)
 

My Computer

System One

  • OS
    Windows 11

glasskuter

Well-known member
Pro User
VIP
Local time
4:42 AM
Posts
2,955
Location
Paris in the Lone Star State of Texas
OS
Windows 11 Pro 22H2 22621.819
I wake up in the morning, and sometimes both the monitor and the computer are awake and sometimes both are asleep (as expected). I set the monitor to sleep after 1hour and the computer to fall asleep after 2hours.
Maybe I'm reading your statement incorrectly. You say sometimes both monitor and computer are asleep as they are supposed to be but at times they are awake, which means something woke them erroneously. It is those times that they computer is not acting as expected that you need to find out what woke it. Is that not what you are trying to accomplish?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 22H2 22621.819
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 m.2 2230-256+1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 21H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell factory
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Internet Speed
    still not telling
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium

Dru2

Well-known member
Power User
VIP
Local time
5:42 AM
Posts
2,273
Location
Virginia
OS
Windows 11 Pro 22H2 (Build 22621.900)
I think it's never falls asleep to begin with.
I had a weird issue where my computer suddenly refused to sleep after doing a GPU driver update. Reverting to the old driver didn't fix.

Long story short, it turns out my Power Plan under Power Options was set to "High Performance". I don't remember setting it to that as I have no reason to use it but setting it back to "Balanced" solved my sleep issue.

Point? Don't take things for granted - I initially checked everything but the power plan, even doing a repair install. Check your power plan, it might surprise you.

Peace :cool:
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 22H2 (Build 22621.900)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom built
    CPU
    Intel i9-9900K
    Motherboard
    Gigabyte Aorus Z390 Xtreme
    Memory
    32G (4x8) DDR4 Corsair RGB Dominator Platinum (3600Mhz)
    Graphics Card(s)
    Radeon VII
    Sound Card
    Onboard (ESS Sabre HiFi using Realtek drivers)
    Monitor(s) Displays
    NEC PA242w (24 inch)
    Screen Resolution
    1920 x 1200
    Hard Drives
    5 Samsung SSD drives: 2X 970 NVME (512 & 1TB), 3X EVO SATA (2X 2TB, 1X 1TB)
    PSU
    EVGA Super Nova I000 P2 (1000 watt)
    Case
    Cooler Master H500M
    Cooling
    Corsair H115i RGB Platinum
    Keyboard
    Logitech Craft
    Mouse
    Logitech MX Master 3
    Internet Speed
    500mb Download. 11mb Upload
    Browser
    Microsoft Edge Chromium
    Antivirus
    Windows Security
    Other Info
    System used for gaming, photography, audiophile media center, work.
  • Operating System
    Win 10 Pro 22H2 (build 19045.2130)
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkPad Yoga X1
    CPU
    Intel i7-7600U
    Motherboard
    Intel
    Memory
    16igg
    Graphics card(s)
    Intel HD 620
    Sound Card
    Onboard
    Monitor(s) Displays
    14.0 WQHD OLED Touch
    Screen Resolution
    2560 x 1440
    Hard Drives
    1TB NVMe Drive (OEM)
    PSU
    laptop
    Case
    laptop
    Cooling
    Laptop cooling
    Mouse
    Logitech MX Anywhere 2S
    Keyboard
    Laptop
    Internet Speed
    100MB
    Browser
    Edge Chromium
    Antivirus
    Windows Security

Amos

New member
Thread Starter
Local time
12:42 PM
Posts
25
OS
Windows 11
Maybe I'm reading your statement incorrectly. You say sometimes both monitor and computer are asleep as they are supposed to be but at times they are awake, which means something woke them erroneously. It is those times that they computer is not acting as expected that you need to find out what woke it. Is that not what you are trying to accomplish?
Right, but if the monitor/computer are awake it can be one of the 2 options:
1. They never went to sleep.
2. Something woke them up.

I say it's point 1. You are talking about point 2.
The last 2 mornings were ok, they were asleep so I couldn't check anything. Let's see what happens tomorrow.
 

My Computer

System One

  • OS
    Windows 11

Amos

New member
Thread Starter
Local time
12:42 PM
Posts
25
OS
Windows 11
I had a weird issue where my computer suddenly refused to sleep after doing a GPU driver update. Reverting to the old driver didn't fix.

Long story short, it turns out my Power Plan under Power Options was set to "High Performance". I don't remember setting it to that as I have no reason to use it but setting it back to "Balanced" solved my sleep issue.

Point? Don't take things for granted - I initially checked everything but the power plan, even doing a repair install. Check your power plan, it might surprise you.

Peace :cool:
In my situation, anything is an option, the question what is the reason for the broken behavior. If they've never went to sleep, I guess it's something to re-define but since it's inconsistent, that's the thing I don't understand. On my computer it's balanced and I did set manually several options to "disable" in order to "disable" them from waking up the computer.
 

My Computer

System One

  • OS
    Windows 11

Amos

New member
Thread Starter
Local time
12:42 PM
Posts
25
OS
Windows 11
So I went out for more than 2 hours and came back. The Monitor and the computer are full awake as if they never went to sleep.
Powercfg -requests shows all none so not sure what went wrong.
So my more accurate question is: how can I know what prevents my monitor/computer from falling asleep and is incosistent?
Thanks!
 

My Computer

System One

  • OS
    Windows 11

Dru2

Well-known member
Power User
VIP
Local time
5:42 AM
Posts
2,273
Location
Virginia
OS
Windows 11 Pro 22H2 (Build 22621.900)
So my more accurate question is: how can I know what prevents my monitor/computer from falling asleep and is incosistent?
Thanks!
Sleep issues are kind of hard to figure out, but "usually" updating your GPU drivers (or any old drivers) solves the issue.

With that, look to update any drivers needing to be updated. Also check Device Manager for any red/yellow marks. That indicates a driver issue.

Good luck.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 22H2 (Build 22621.900)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom built
    CPU
    Intel i9-9900K
    Motherboard
    Gigabyte Aorus Z390 Xtreme
    Memory
    32G (4x8) DDR4 Corsair RGB Dominator Platinum (3600Mhz)
    Graphics Card(s)
    Radeon VII
    Sound Card
    Onboard (ESS Sabre HiFi using Realtek drivers)
    Monitor(s) Displays
    NEC PA242w (24 inch)
    Screen Resolution
    1920 x 1200
    Hard Drives
    5 Samsung SSD drives: 2X 970 NVME (512 & 1TB), 3X EVO SATA (2X 2TB, 1X 1TB)
    PSU
    EVGA Super Nova I000 P2 (1000 watt)
    Case
    Cooler Master H500M
    Cooling
    Corsair H115i RGB Platinum
    Keyboard
    Logitech Craft
    Mouse
    Logitech MX Master 3
    Internet Speed
    500mb Download. 11mb Upload
    Browser
    Microsoft Edge Chromium
    Antivirus
    Windows Security
    Other Info
    System used for gaming, photography, audiophile media center, work.
  • Operating System
    Win 10 Pro 22H2 (build 19045.2130)
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkPad Yoga X1
    CPU
    Intel i7-7600U
    Motherboard
    Intel
    Memory
    16igg
    Graphics card(s)
    Intel HD 620
    Sound Card
    Onboard
    Monitor(s) Displays
    14.0 WQHD OLED Touch
    Screen Resolution
    2560 x 1440
    Hard Drives
    1TB NVMe Drive (OEM)
    PSU
    laptop
    Case
    laptop
    Cooling
    Laptop cooling
    Mouse
    Logitech MX Anywhere 2S
    Keyboard
    Laptop
    Internet Speed
    100MB
    Browser
    Edge Chromium
    Antivirus
    Windows Security

Latest Support Threads

Top Bottom