Dormi

Windows 10 won't go to Sleep - Legacy Kernel Caller

Windows 10 won't go to Sleep - Legacy Kernel Caller

Does the display of your computer turn on all of a sudden? No matter how many time you put it to sleep, it always wakes up. Windows 10 computer Sleep state is built such that only if it's essential, it wakes up. The important thing can be either configured by you or when there is hardware interrupting the sleep. In this post, we are sharing how to troubleshoot the sleep issues because of Legacy Kernel Caller.

What is keeping my computer from going to sleep

Instead of checking on power configuration, the best way to find out is to execute the command “powercfg -requests“. This command finds out requests from drivers, and applications which prevent the computer from going to sleep or turning off the display.

If you notice a mention of Legacy Kernel Caller in the result, this points to external hardware which is waking up your system. Part of the result will look as below:

SYSTEM
[DRIVER] USB AUDIO DEVICE
An audio stream is currently in use
[DRIVER] Legacy Kernel Caller.

Windows 10 won't go to Sleep - Legacy Kernel Caller

The next step is to remove such external hardware one by one from the computer. We have seen a lot of users reporting about “TV card”.

Once you remove it, run the command “powercfg -requests” again, and you should notice that “Legacy Kernel Caller” is not more in the list. Also, the computer will get into a regular sleep mode once the hardware is removed. What happens is the driver gets hung and don't release the power request despite being any longer in use

1] Use Request Override

The powercfg command offers a request override option. It allows users to disable request from applications and services to wake the computer from sleep.  Run this command on the Command Prompt (admin privileges) to disable it.

Powercfg -requestsoverride Driver "Legacy Kernel Caller" System

2] Check Streaming & Media Applications

If this is not the case, you need to check if you are running a video or audio service in the background. You must have noticed that when you play a video, the computer never goes to sleep. If you had put the machine to sleep in between watching a video, it is possible that the computer is waking up because of that.

3] Check which devices can wake your system

Here is one last suggestion, if you don't see any Legacy Kernel Caller in the result. Execute the command “powercfg -devicequery wake_armed“. It will list down all the devices that can wake your system. If there is anything other than keyboard, mouse, or touch, you need to check power configuration of that device.

Go to Device Manager, and disable the option in its Properties which says “Allow this device to wake the computer“.

If Sleep Mode is not working, you could also run the Power Troubleshooter.

I have seen many suggestions to reset your power configuration plan, and even updating the drivers - but that's probably is the last thing you need to worry.

We hope this post resolves your problem.

A Windows computer can face several other Sleep-related issues. Maybe some of these posts will help you someday.

  1. Windows 10 goes to sleep automatically randomly
  2. Prevent Computer from waking up from Sleep
  3. Windows 10 computer goes to Sleep too early
  4. Windows will not wake up from Sleep Mode
  5. Sleep Mode is not working in Windows
  6. Windows computer wakes from sleep automatically
  7. Wake up computer from Sleep, at a particular time.
Cele mai bune jocuri de linie de comandă pentru Linux
Linia de comandă nu este doar cel mai mare aliat al tău când folosești Linux - poate fi și sursa de divertisment, deoarece poți să o folosești pentru ...
Best Gamepad Mapping Apps for Linux
If you like to play games on Linux with a gamepad instead of a typical keyboard and mouse input system, there are some useful apps for you. Many PC ga...
Instrumente utile pentru jucătorii Linux
Dacă vă place să jucați jocuri pe Linux, este posibil să fi folosit aplicații și utilitare precum Wine, Lutris și OBS Studio pentru a îmbunătăți exper...