We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Laptop switching off when in sleep mode
Comments
-
SurferDan said:neilmcl said:SurferDan said:Why are you putting the laptop in sleep mode instead of switching it off, especially overnight?
Any PC left on continuously or in sleep mode, hibernation or hybrid sleep will become sluggish over time.
How many times when there's a problem with a computer has it been cured simply by turning it off and back on again?0 -
The only time I shut down / restart my laptop is when windows updates arrive and it requires a reboot. Otherwise it always sleeps, and has done for many years. But of course each person has their own preferences.0
-
From an advanced command prompt, have a look at powercfg /?
try powercfg /systemsleepdiagnostics
Maybe in the morning
powercfg /lastwake1 -
neilmcl:-
No suggestion that sleep mode is a bad thing, it has its uses, as does hibernation.
I was more thinking that if the OP's laptop was taking a long time to start up they put it in sleep mode to avoid a lengthy boot up time. Which would suggest some other problem that might be cured simply by rebooting the laptop
0 -
win + x then open an elevated command prompt then run commamds1
-
pbartlett said:win + x then open an elevated command prompt then run commamds
C:\WINDOWS\system32>powercfg /lastwakeWake History Count - 1Wake History [0] Wake Source Count - 1 Wake Source [0] Type: Device Instance Path: PCI\VEN_8086&DEV_9CB1&SUBSYS_F8401179&REV_03\3&11583659&1&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
C:\WINDOWS\system32>0 -
Right, this is getting wierd now. Took a note of when I last put the pc in sleep mode - 17/02/2021 21:42 last night. Definitely in sleep mode - power lamp slowly pulsing on and off, disk stopped whirring. Looked again around 22:30 and saw pc in same state. This morning, found pc had powered off. (Had to reconnect to wifi but that's another story - on another thread). Just had time to look at Event Viewer/Windows Logs/System and I can see a list of entries running up to 17/02/2021 21:42 with the next group of entries starting 18/02/2021 00:42 exactly three hours later. Now here's the odd thing. The last entry last night, when I pressed the power button to put it in sleep, says the system has resumed from sleep! Not only is this odd, but the code below also says something about a programmed wake time - exactly three hours later. Sure enough, further up there is another group of entries, with one at 18/02/2021 42:11 saying the system has returned from a low power state.
Can anyone make sense of this? Apparently I can copy the whole table (presumably of events), so if anyone wants a bit of bed time reading let me know.
If I copy the last line, at 17/02/2021 21:42 , last night, here is what it pastes as (the highlights are mine): remember, this is when I put the pc to sleep.
Log Name: SystemSource: Microsoft-Windows-Kernel-PowerDate: 17/02/2021 21:42:08Event ID: 107Task Category: (102)Level: InformationKeywords: (1024),(64),(4)User: N/AComputer: LAPTOP-L7UTCSDNDescription:The system has resumed from sleep.Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"><System><Provider Name="Microsoft-Windows-Kernel-Power" Guid="{331c3b3a-2005-44c2-ac5e-77220c37d6b4}" /><EventID>107</EventID><Version>1</Version><Level>4</Level><Task>102</Task><Opcode>0</Opcode><Keywords>0x8000000000000444</Keywords><TimeCreated SystemTime="2021-02-17T21:42:08.7210896Z" /><EventRecordID>9831</EventRecordID><Correlation /><Execution ProcessID="4" ThreadID="472" /><Channel>System</Channel><Computer>LAPTOP-L7UTCSDN</Computer><Security /></System><EventData><Data Name="TargetState">4</Data><Data Name="EffectiveState">4</Data><Data Name="WakeFromState">4</Data><Data Name="ProgrammedWakeTimeAc">2021-02-18T00:42:07.1733443Z</Data><Data Name="ProgrammedWakeTimeDc">2021-02-18T00:42:07.1733443Z</Data><Data Name="WakeRequesterTypeAc">4</Data><Data Name="WakeRequesterTypeDc">4</Data></EventData></Event>0 -
As previously mentioned, it may be that something is waking your laptop up. Did you run
powercfg /systemsleepdiagnostics
using an elevated command prompt and look at the report (esp. sleep interval box)
Also, try powercfg /waketimers to see what wake timers are set. This may give you an indication what timer is waking your laptop.
Also, under power / advanced power settings / sleep you can disable wake timers so they cannot wake the laptop up from sleep - this may cure your problem!
This may help analyse your even 107 wake from sleep
Troubleshooting unplanned Windows automatic wake-ups | Event Log Explorer blog (eventlogxp.com)
One suspect may be windows update - check what time it checks for updates. Or it may be something completely different eg another app or hardware1 -
pbartlett said:As previously mentioned, it may be that something is waking your laptop up. Did you run
powercfg /systemsleepdiagnostics
using an elevated command prompt and look at the report (esp. sleep interval box)
Also, try powercfg /waketimers to see what wake timers are set. This may give you an indication what timer is waking your laptop.
Also, under power / advanced power settings / sleep you can disable wake timers so they cannot wake the laptop up from sleep - this may cure your problem!
This may help analyse your even 107 wake from sleep
Troubleshooting unplanned Windows automatic wake-ups | Event Log Explorer blog (eventlogxp.com)
One suspect may be windows update - check what time it checks for updates. Or it may be something completely different eg another app or hardware0
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 350.4K Banking & Borrowing
- 252.9K Reduce Debt & Boost Income
- 453.3K Spending & Discounts
- 243.4K Work, Benefits & Business
- 597.9K Mortgages, Homes & Bills
- 176.6K Life & Family
- 256.4K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards