Windows 10 won't sleep or turn off after being on for a few hours

5

2

BEFORE MARKING IT AS DUPLICATE:
Here's what I've tried:

  • Updating video drivers: GeForce GT 740M up to date
  • Updating network drivers: Realtek PCIe up to date
  • NEW: Updating chipset drivers: They were already up to date
  • Updating BIOS: Updated to A10
  • Turning off hybrid-sleep
  • turning off hibernation completely
  • Disabling wake timers on all energy plans
  • Turning off waking on magic packet/pattern match
  • Unplugging all USB and Bluetooth devices
  • Setting the sleep idle timer for something else than "never"
  • Disabling waking up devices shown in powercfg -devicequery wake_armed
  • Some other things that I don't remember now. Please ask in the comments before marking as duplicate.

If I turn on my computer and open all my applications, I can put my computer to sleep with no problem, but after some hours of it being on, if I try to put it to sleep, it will turn off the screen, but it will not sleep, and the only way to use the computer again is to force a restart by holding down the power button.

This started to happen after I switched my old HD to an SSD and reinstaled windows 10.

EDIT 1: Tried shutting Chrome off and running powercfg -requestsoverride Driver "Legacy Kernel Caller" System without success

EDIT 2:

  • When I manually put my machine to sleep, after letting it on after 2+ hours, the screen will turn off, but the power light and the wifi light will stay on, and then I need to forcefully turn the computer off by holding the power button.
  • The powercfg -requests command was showing the following result:

    [PROCESS] \Device\HarddiskVolume4\Program Files (x86)\Google\Chrome\Application\chrome.exe
    WebRTC has active PeerConnections

...But after killing chrome, it started to show the following:

[DRIVER] Chamador Kernel Herdado
(this is equivalent to [DRIVER] Legacy Kernel Caller)

I've tried running without success both:
powercfg -requestsoverride Driver "Legacy Kernel Caller" System
powercfg -requestsoverride Driver "Chamador Kernel Herdado" System

Two important things:
- The Kernel entry vanished after I closed Spotify
- I turned my computer on just now, so I can put it to sleep without problems even with the Kernel entry on my -requests, the issue seems to appear after 2 hours

EDIT 3: I have reasons to believe the Kernel thing is not the issue, this forum post is similar to my problem, my computer won't shut off also, after two hours.
https://www.tenforums.com/general-support/66640-wont-enter-sleep-legacy-kernel-caller.html

EDIT 4: Maybe this can be related, maybe not...
When sleeping normally (with the computer on for less than 2 hours), the disk light blinks a lot, and then it goes to sleep.
But when the sleep fails, the disk light blinks 3 or 4 times before turning off, and then the wifi light and power light stays on. That's when the computer freezes.
My HD got replaced by a SSD recently, and that's when the problems started. I'm using a Dell Inspiron 14R.

EDIT 5: results from running powercfg -energy:
http://codepen.io/carvalho23lucas/full/OpXYLq/
I've added a plugin to translate the page, you can find it in the first line

EDIT 6: results from running a clean powercfg -energy:
http://codepen.io/carvalho23lucas/full/mWEZpr/
I turned off bluetooth, closed all open programs, killed the audio process and ran the command.
Immediately after that, I tried to put the computer to sleep. Failed again.

Lucas

Posted 2017-02-05T16:24:37.327

Reputation: 145

1What do you get when you run powercfg -requests in an admin command prompt? – music2myear – 2017-02-28T21:25:55.397

[PROCESS] \Device\HarddiskVolume4\Program Files (x86)\Google\Chrome\Application\chrome.exe WebRTC has active PeerConnections – Lucas – 2017-02-28T21:27:26.960

1So you installed your display drivers and network drivers. What about the chipset drivers, which typically, allow and prevent your machine from entering or existing (S1 through S4) power states. Please update your question, instead of commenting, as the comment section has limited formatting options. – Ramhound – 2017-02-28T21:28:48.393

But I already tried letting my computer on for 2 hours without opening any program, it wouldn't sleep even so – Lucas – 2017-02-28T21:29:14.727

chipset drivers up to date – Lucas – 2017-02-28T21:30:34.533

@Lucas - So you have a program that is preventing it from entering that power mode. By the sounds of it, that would be Chrome, try manually ending all Chrome processes and manually place your machine into sleep mode. – Ramhound – 2017-02-28T21:30:56.833

2You can use powercfg -devicequery wake_armed to identify which devices are configured to wake (or keep the system awake). – Ramhound – 2017-02-28T21:32:37.903

after manually terminating chrome, I've tried calling powercfg -requests again, and it now says "Legacy Kernel Caller" – Lucas – 2017-02-28T21:33:58.340

Use Autoruns to identify and possibly disable any startup entries you do not recognize: https://technet.microsoft.com/en-us/sysinternals/bb963902.aspx

– music2myear – 2017-02-28T21:34:08.870

You should be able to simply, issue the following command within an elevated command prompt, Powercfg -requestsoverride Driver "Legacy Kernel Caller" System to solve your problem. This actually isn't my suggestion

– Ramhound – 2017-02-28T21:36:57.110

Done, after that, the powercfg -requests command still shows the Legacy Kernel Caller, is it normal? powercfg -requestsoverride also show it. – Lucas – 2017-02-28T21:41:28.157

When you manually attempt to put your machine to sleep what happens? If there isn't a option to that in your start menu, there is still something, blocking that capability which you need to use AutoRuns to identify. – Ramhound – 2017-02-28T21:43:26.543

When I manually put my machine to sleep, after letting it on after 2+ hours, the screen will turn off, but the power light and the wifi light will stay on, and then I need to forcefully turn the computer off by holding the power button – Lucas – 2017-02-28T21:45:03.713

I have reasons to believe the Legacy Kernel Caller is not the issue. This forum post (unsolved) shows what is happening: https://www.tenforums.com/general-support/66640-wont-enter-sleep-legacy-kernel-caller.html

– Lucas – 2017-02-28T22:03:23.863

is "hybrid sleep" activated on your computer? – andromeda947 – 2017-03-01T00:17:22.950

no, hibernation is disabled as well, as I explained on the question – Lucas – 2017-03-01T00:23:08.767

Can you post the output of powercfg -energy? It's also worth a try to see if this happens after booting in Safe mode.

– harrymc – 2017-03-02T19:14:36.567

Sorry, got busy at work. I added the output now. I'll test the safe mode now – Lucas – 2017-03-05T20:33:04.730

As much as I understood from the energy report, it's worth trying also with all possible devices disconnected, especially USB devices. – harrymc – 2017-03-05T21:11:12.530

They were already disconnected, the report is complaining about the USB Hub itself. – Lucas – 2017-03-05T21:16:10.343

added clean powercfg -energy output. I'm losing hope. – Lucas – 2017-03-05T22:29:34.240

update: it does happen in safe mode. Although the Suspend option is not available, when I turn off after a few hours on, it wont turn off either. – Lucas – 2017-03-06T00:26:23.340

Here's an idea, which will not harm your system: In CMD (running as admin), the following chkdsk c: /r this will take a while as Windows will look for errors and correct what it finds. Your personal data and apps will not be disturbed – the original mike western – 2017-03-06T02:09:04.963

Please do sfc /scannow to check system integrity. If this finds nothing, a non-destructive (but heavy) action is In-place Upgrade of Windows 10 to itself which will refresh Windows components without harming your apps and data (but do all backups first anyway).

– harrymc – 2017-03-06T07:02:50.300

sfc /scannow didn't found anything, chkdsk didn't found anything either – Lucas – 2017-03-07T10:09:34.237

>

  • Do you have a secondary HDD installed? Or is it just SSD?
  • Did you try uninstalling Intel Management Engine driver and running troubleshooter for Windows update? These two things are adviced on various forums in case of power problems.
  • < – Serge Seredenko – 2017-03-11T02:49:12.497

    Answers

    0

    Well, after a long time dealing with that problem, I finnaly had some advances. I am not sure what exactly happened, but here are two things I did:

    1. I reset power settings to defaults and changed what I needed from scratch (like, sleep delay etc). Also, I set AHCI Link Power Managment to HIPM+DIPM. I am inclined to believe that this is not important, but I am mentioning this because I did it.
    2. On threads about problems with sleep mode, I have many times seen the advice to rollback or remove Intel Managment Interface Engine driver. I didn't have the option to rollback and removal didn't do anything for me: it was just back after a reboot. So I updated the driver instead. It was not distributed through Microsoft servers for me, so I went for a first link on google and installed it manually. It is now of version 11.0.5.1189 for me.

    Later, after six hours of runtime, I closed the lid and my laptop went to sleep for the first time since win10 install (except sleep right after restart). I suppose second thing from the list above is what helped. (Of course, I've had hibernation, fast boot etc. disabled a long time ago.)

    Serge Seredenko

    Posted 2017-02-05T16:24:37.327

    Reputation: 174

    Sorry for taking too long, I had too little time in hands. I reseted my computer and it didn't work, but your second solution did the trick, thanks – Lucas – 2017-07-10T21:00:42.733

    1

    I have also had software issues (sleep, dual-boot install failure...) on a dell computer (server) with a newly installed Corsair SSD.

    These problems were not present with the original HD. And to this day the same problems persists...

    Are you sure your SSD is 100% compatible with the Dell hardware (SATA controller on the motherboard ...). Have you tried contacting Dell about this issue ? Have you tried another SSD/HD ?

    As far as I am concerned this is a hardware issue.

    Good luck

    mhham

    Posted 2017-02-05T16:24:37.327

    Reputation: 171

    How can I assure that it is in fact a hardware issue? – Lucas – 2017-03-07T10:10:44.717

    First step IMHO would to try another ssd/hd. I know it is not quite convenient but it would give you valuable info on the nature of the issue. – mhham – 2017-03-07T10:25:05.707

    I don't have another ssd/hd available, the previous one got damaged... – Lucas – 2017-03-07T12:14:15.030

    I ran the Dell system diagnostics software and all tests passed, the ssd seems to be working properly. I'll try a clean Windows install... – Lucas – 2017-03-07T12:17:59.153

    A clean install could be a solution, please keep us posted. In case this doesn't work I also suggest you, since you don't have access to other harddrives, to play with the different BIOS settings related to the hard drive controller (AHCI, RAID, power saving options ...). Also, you should check if the SSD doesn't have a driver that you should install, or even better, one that is officially supported by DELL. Good luck – mhham – 2017-03-07T12:28:22.333

    0

    I just had a similar issue, where putting the PC to sleep only turns off the displays.

    In my case, there is some software prevent my PC from going to sleep. To solve this, open cmd and type in:

    powercfg -requests
    

    Under the System, there is one software process:

    enter image description here

    You can either close the software or override its power setting:

    powercfg -requestsoverride PROCESS “myprocess.exe” SYSTEM
    

    The PROCESS in the command corresponds to the content inside the [] from the command line and SYSTEM corresponds to the category:

    enter image description here

    Anthony

    Posted 2017-02-05T16:24:37.327

    Reputation: 125

    ok... just realised you have checked powercfg -request... This is not a solution for your problem but this might solve a similar one for others, so I'll keep it. – Anthony – 2019-09-10T09:23:15.443