Solved Why a PC goes to sleep


lapetesson

Active member
Local time
5:33 PM
Posts
20
OS
Windows 11
I work on a Beelink SER5 PC (Ryzen 5 5500U) from another PC using the Remote Desktop Connection. I'm keen on keeping the Beelink up all the time. It is set in Settings->Power to never sleep. However, it systematically goes to sleep after its keyboard hasn't been used for several hours.

I've checked the BIOS, but there is nothing there that could explain this behavior. Beelink has practically no documentation, but there is a PDF showing some setup details with Windows 11 Settings. In particular, there is a document showing how to set up the PC to never sleep, and I did exactly that.

Is there any other setting in Windows to prevent a PC from sleeping? Could there be something special about Beelink?
 

My Computer

System One

  • OS
    Windows 11
    Manufacturer/Model
    Beelink SER5 AM06PRO, Acer Aspire A515-43, Lenovo Thinkcentre-m92p
I work on a Beelink SER5 PC (Ryzen 5 5500U) from another PC using the Remote Desktop Connection. I'm keen on keeping the Beelink up all the time. It is set in Settings->Power to never sleep. However, it systematically goes to sleep after its keyboard hasn't been used for several hours.

I've checked the BIOS, but there is nothing there that could explain this behavior. Beelink has practically no documentation, but there is a PDF showing some setup details with Windows 11 Settings. In particular, there is a document showing how to set up the PC to never sleep, and I did exactly that.

Is there any other setting in Windows to prevent a PC from sleeping? Could there be something special about Beelink?
In sleep settings, do you have every single setting set to "no sleep"?

1694228537594.png
 

My Computers

System One System Two

  • OS
    Windows 11 Pro x64 23H2 v22631.3447
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built Myself in 2013
    CPU
    AMD Ryzen 1800X 8-Core @ 3.60GHz
    Motherboard
    Asus Crosshair VI Hero
    Memory
    16GB G.Skill Trident Z RGB Series
    Graphics Card(s)
    AMD Radeon RX 580 8GB GDDR5
    Sound Card
    On Board
    Monitor(s) Displays
    Samsung 27" , PLANAR 22", eMachine 22"
    Screen Resolution
    1920 X 1080
    Hard Drives
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~ P34A60 512GB NVMe PCIe Gen3x4 M.2
    ~ 3TB WD Red HDD (extra storage)
    ~ SanDisk 250GB SSD
    ~ 2 X 1TB HDD
    ~~~~~~~~~~
    PSU
    Corsair RM850 Fully Modular (850watts)
    Case
    NZXT Phantom 630 CA-PH630-W1
    Cooling
    CORSAIR iCUE H100i RGB PRO XT
    Keyboard
    Logitech K860
    Mouse
    Logitech MX Master
    Internet Speed
    752Mbps (Download) / 537Mbps (Upload)
    Browser
    Firefox
    Antivirus
    Malwarebytes
    Other Info
    *This is my Main Computer That I use*
  • Operating System
    Windows 10 Pro x64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    AMD A10-5700 APU @ 3.40Ghz
    Motherboard
    Asus CM1745
    Memory
    8GB
    Graphics card(s)
    AMD Radeon R7 350x GDDR5 4 GB
    Sound Card
    On Board
    Monitor(s) Displays
    Dual Monitor Setup ONN 22" Monitors
    Screen Resolution
    1920 X 1080
    Hard Drives
    ~~~~~~~~
    250GB SSD

    500GB HDD
    ~~~~~~~~
    PSU
    350Watt PSU
    Cooling
    Air Cooling
    Mouse
    MX Master
    Keyboard
    Microsoft Ergonomic 4000
    Internet Speed
    752Mbps (Download) / 537Mbps (Upload)
    Browser
    Firefox
    Antivirus
    Malwarebytes
    Other Info
    *Computer for Weather Software*
There may be an EF member that has tried this Microsoft software:


PowerToys Awake is a tool for Windows designed to keep a computer awake without having to manage its power & sleep settings.

This can be helpful when running time-consuming tasks, ensuring that the computer does not go to sleep or turn off its screens.

 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    HP
    CPU
    Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
    Motherboard
    Product : 190A Version : KBC Version 94.56
    Memory
    16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
    Graphics Card(s)
    NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
    Sound Card
    IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
    Hard Drives
    Model Hitachi HTS727575A9E364
    Antivirus
    Microsoft Defender
    Other Info
    Mobile Workstation
@JAM83:
No. This is a desktop, so it has just these two settings: "put device to sleep" and "turn off screen". The former is set to Never. The screen is turned off after three minutes.

The Remote Desktop Connection does work for several hours even though Beelink's screen is off, so I believe the screen has nothing to do with this. After approximately four hours, Beelink goes to sleep, and an attempt to connect using the Remote Desktop Connection fails.
 

My Computer

System One

  • OS
    Windows 11
    Manufacturer/Model
    Beelink SER5 AM06PRO, Acer Aspire A515-43, Lenovo Thinkcentre-m92p
@zbook:
Thank you for this hint. I'll try PowerToys Awake if I don't find any other solution, based on settings. I added a new comment to this thread; I believe there is a solution.
 

My Computer

System One

  • OS
    Windows 11
    Manufacturer/Model
    Beelink SER5 AM06PRO, Acer Aspire A515-43, Lenovo Thinkcentre-m92p
EDIT after more tests:

The reported unwanted behavior occurs when connecting to Beelink through WiFi. I also connect from another PC through a wired connection and a router. Here, the Remote Desktop Connection gets through even when Beelink sleeps. The two network interfaces on Beelink, WiFi and wired, are set up in the same way, but the wired interface wakes up Beelink and WiFi does not.

The interfaces were set to "Allow this device to wake the computer". I've now modified the WiFi interface by unchecking "Allow the computer to turn off this device to save power". I'll know in a few hours if it does the trick. This does not answer the question of why Beelink sleeps, but for me, it could be an even better solution.

This text should be a part of the original question, but I'm not allowed to change it.
 
Last edited:

My Computer

System One

  • OS
    Windows 11
    Manufacturer/Model
    Beelink SER5 AM06PRO, Acer Aspire A515-43, Lenovo Thinkcentre-m92p
As all my attempts to keep the PC up using Windows settings failed, I've tried the PowerToy Awake tool. It does keep the PC up, but it's not what I want. It opens a console window and places an icon on the taskbar, while I want an invisible background process. Since the only thing necessary to keep the PC up is a single WINAPI call

SetThreadExecutionState(ES_CONTINUOUS | ES_SYSTEM_REQUIRED);

I decided to create a small app of my own. It only needs to contain the above call and an endless loop to keep it alive, because Windows reverts the call to SetThreadExecutionState if the app dies.
 

My Computer

System One

  • OS
    Windows 11
    Manufacturer/Model
    Beelink SER5 AM06PRO, Acer Aspire A515-43, Lenovo Thinkcentre-m92p
EDIT after more tests:

The reported unwanted behavior occurs when connecting to Beelink through WiFi. I also connect from another PC through a wired connection and a router. Here, the Remote Desktop Connection gets through even when Beelink sleeps. The two network interfaces on Beelink, WiFi and wired, are set up in the same way, but the wired interface wakes up Beelink and WiFi does not.

The interfaces were set to "Allow this device to wake the computer". I've now modified the WiFi interface by unchecking "Allow the computer to turn off this device to save power". I'll know in a few hours if it does the trick. This does not answer the question of why Beelink sleeps, but for me, it could be an even better solution.

This text should be a part of the original question, but I'm not allowed to change it.
You seems to be using wake on LAN. Wireless wake on LAN does not work.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
You seems to be using wake on LAN. Wireless wake on LAN does not work.
Could you show a link to this information? Perhaps some Microsoft text?
 

My Computer

System One

  • OS
    Windows 11
    Manufacturer/Model
    Beelink SER5 AM06PRO, Acer Aspire A515-43, Lenovo Thinkcentre-m92p

Latest Support Threads

Back
Top Bottom