• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Question Win10 lappy won't go to sleep when I close the lid

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Muse

Lifer
It IS set to go to sleep. I set this again, but it stays on. I can tell because the machine is quite warm when I raise the lid. Plus, I just closed the lid with video playing and the sound continues. So, I just set it to sleep after one minute of no activity. Closed the lid and after one minute there was 1/2 second of silence and the sound then continued.

How can I fix this?
 
I swear I've encountered a setting somewhere (in media playing apps?) pertaining to 'prevent PC from going to sleep while streaming/playing audio'?
Well I think I made sure nothing was playing or streaming audio and still wouldn't go to sleep. I haven't reversed the registry hack I did ~1/2 hour ago. After plugging the adapter into my energy monitorying Kasa smart plug the machine doesn't want to go to sleep again. 😳 Ah, before hitting [POST REPLY] I close lid again and light is cycling on/off so maybe working?? I look at Kasa app and see energy goes from ~16w to 2-5w, so maybe that's working now? Close again, drops from 15w to 3-5w. Could reverse the registry hack and see what the app says, but maybe I'm OK leaving it as it is. Will see if playing audio ceases with closing the lid, another litmus test.

Edit: Yes, a YT video stops playing audio and on lifting lid have to hit play to get it to resume.
 
So, even though the indicator lamp on the laptop lid was blinking (which would indicate the machine was asleep) it was not. Energy monitor said it consumed 3-5 watts. Later I closed the lid and consumption stayed 30-60 watts for ~1/2 hour, then dipped to 3-5 watts, but the indicator lamp stayed solid on. Energy monitoring of my other P1 indicates in Sleep it consumed 1 watt. Therefore the P1Gen3 is incapable of sleep now.

I conclude that setting ModernSleep to 0 from 7 accomplished nothing and I just reset it to 7.
 
You can't just disable it in the BIOS?
I poked around in the BIOS a few times and couldn't find anything that looked like it could have any affect on this. I didn't see an S3 enabling item, for instance.

That link is "Greek to me." I didn't study it long but I had no idea what to make of it in terms of employing a means of making the adjustment.

This EFI application lets you to disable Windows Modern Standby / Connected Standby / S0 Sleep on ANY platform.

Sounds great (I suppose) but I don't know how to make use of it. They're talking about using Visual Studio, Windows SPK, C++... I've never used that stuff.
You also need to ensure that you have Windows SDK 10.0.14393.0 or later installed, as this is the minimum version with support for ARM64.

ATM I have close the lid initiating hibernation. The machine comes out in ~less than 15 seconds, maybe 12.
 
Last edited:
Sounds great (I suppose) but I don't know how to make use of it. They're talking about using Visual Studio, Windows SPK, C++... I've never used that stuff.
It's somewhat risky. You have to use an EFI boot manager and then copy the compiled (you also have to compile it with Visual Studio) file to a specific location on the EFI partition (which would be the first partition on the boot storage drive if I understand correctly). Not something just anyone would be willing to do.
 
What if I reinstall Windows? I think there may be a recovery partition on this thing. If so, I could try that. Also, maybe I could back up what I have and restore it if those strategies don't resolve the problem. What do you guys think?
 
What if I reinstall Windows? I think there may be a recovery partition on this thing. If so, I could try that. Also, maybe I could back up what I have and restore it if those strategies don't resolve the problem. What do you guys think?

My rule of thumb is if you don't have a very good idea of why reinstalling Windows is going to fix the problem, then don't do it. Sod's law in my experience is that the problem wasn't caused by a funky Windows install and so won't be fixed by a new one. The only consistent scenario that I do a clean Windows install is because the storage hardware is failing and I shouldn't trust it for a drive clone job.

It seems to me that you've done the legwork for investigating the problem, you just need a workable solution now. Is there any kind of support framework for this efi program that you can consult with?
 
Do you have any mouse or keyboard software? I had similar sleep issues with my Dell 7090 Ultra. Turned out to be the Logitech LGS software for my G502 mouse. Apparently, that piece of software is incompatible with Connected Standby. You might look into uninstalling as many background apps as possible. That is one advantage of doing a fresh install of Windows. That allows you to install only the bare necessities of drivers and apps, allowing you to test the system after each new program.
 
Personally, I would tolerate the 15 seconds delay. I hate re-installing Windows.
I've done
Do you have any mouse or keyboard software? I had similar sleep issues with my Dell 7090 Ultra. Turned out to be the Logitech LGS software for my G502 mouse. Apparently, that piece of software is incompatible with Connected Standby. You might look into uninstalling as many background apps as possible. That is one advantage of doing a fresh install of Windows. That allows you to install only the bare necessities of drivers and apps, allowing you to test the system after each new program.
I am using a Logitech mouse with my other Lenovo P1 laptop, which has no such problem but with this one I have no peripherals. I plug in a USB external DVD writer occasionally, but it's usually unplugged from the system.

If I do a fresh install of Windows I will test Sleep after each install and try to find out what's causing the problem.
 
Just ran CMD as administrator and executed:

powercfg /sleepstudy / duration 10

Searching my systems using EVERYTHING for "sleepstudy" I came up with plenty of stuff, including files going back as far as July 11. Now, I hadn't heard about Sleepstudy until seeing the last post ~15 minutes ago. One of the files found, for example, is sleepstudy-trace-2022-07-12-06-07-19.etl

I haven't watched their videos yet, that would be the obvious next step to get my bearings. Now, before I did this I changed close the lid action from hibernation to sleep and the power usage before closing the lid was 7-13 watts. Closing the lid it jumped to over 60 watts, calmed down to ~50 watts and held there for 30 seconds and I opened the lid. Clearly nothing like sleep was achieved and the state light on the lid was constant on (it's supposed to cycle on/off when asleep, every few seconds). Evidently I want to find a sleepstudy.html file or similarly named file, which I haven't found yet.
 
I found the sleepstudy-report.html file (it's big!) and just had a look at it. What I saw with a quick glance is that the machine oscillates quickly between Sleep and Active, every few seconds. I'm guessing that the problem is the Lenovo utility attempting to keep the battery charged between my lower and upper limits, which are 40% and 45%. When I unplug the adapter from the laptop and close the lid, I think Sleep is achieved. It's when I run the laptop on adapter power that Sleep is not achieved. However my other P1 (generation 1) doesn't have this problem, so there must be something else involved.
 
Now, the focus of Sleepstudy appears to be considerably "unexpected battery drain," but that's not what I'm concerned about here. Yes, I may travel with one of my P1s, but I'll take the one that's behaving! 😉 My issue is when running on adapter power, one of the machines won't go to sleep. I'll come back to the machine after many hours and it's quite warm and if there's an app open with a sound alarm it will sound when it shouldn't (in sleep mode such an alarm should not sound).
 
custom scan with Malwarebytes free, select the entire drive and tick the rootkits option. It's CPU intensive (at least 4 cores) and will take a while.
Will it tell me the process, what I need to fix/get-rid-of? You know, I don't think Malwarebytes is installed on this P1, but it is on the other P1! 😳
 
Back
Top