High Battery Drain During Suspend (Windows edition)

I’ll start a new thread for this, but I’m running into an issue (also possibly related to modern standby) where there the clock speed gets stuck at .39Ghz. It seems like disabling modern standby fixed it (edit: nevermind, didn’t fix it), though rebooting while plugged in might also have done it. Apparently this is a common win10 issue, e.g: laptop - Infamous 0.39 GHz in Windows 10 issue has no fixes? - Super User

Yes initially I uninstalled all three of them. (mic, speakers, and sound card) When I restarted it reinstalled the Realtek drivers during log in.

@2disbetter in my experience to fix the sleep draining, I only need to uninstall the driver under Sound, video and game controllers > Realtek(R) Audio > Uninstall Device (making sure to check the Delete the driver software ... checkbox).

The devices will still be named Realtek(R) Audio but if you inspect the driver files (Properties > Driver > Driver Details) there will be no Realtek drivers (RTAIODAT.DAT and RTKVHD64.sys)

3 Likes

I’ll give that a whirl. I didn’t bother to inspect the driver, but in retrospect that makes a lot of sense.

Edit: Seems to have fixed modern standby for me. :+1:

Looking forward to updated drivers though.

So while sleep and hibernation components seem to be working as intended under modern standby, I’m finding that even though the audio driver is not the culprit, that I’m still loosing about 5% per hour. It would be great for the computer to stay in standby versus hibernation for at least 2-4 hours. Right now I’m getting about an hour of standby before the 5% mark is reached and hibernation is entered. This means every time I suspend the laptop normally, I’m basically going to loose 5%. While the computer resumes from hibernation very quickly, it is annoying to have to push the power button almost every time I resume using the laptop.

Also, I read that modern standby maintains the network connectivity. Is it possible to disable that? I would prefer it if standby behaved the way S3 does. The only time I want the computer doing anything is when I am actively using it (ie: the lid is open).

1 Like

What SSD do you have?

I ran into the same with an AData SX8200 Pro that wouldn’t seem to go to a low-power state. With a Sabrent Rocket 4 Plus and the HDMI expansion card removed the longest I got before it hibernated was 2.5 hours. This testing was done without being connected to a network too.

I believe it is a WD Black 1TB NVME that I bought from Framework directly.

Part of me thinks that not understanding the modern standby conditions could be the issue here. IE: what software could be interfering and not responding to SO properly. I suspect my browser might be able to perform tasks in the background, and for various chat web clients, this could mean they are trying to maintain connects through S0. I’m going to check if that is the issue, and I’ll report back.

“connected standby - network connected” can be switched to “connected standby - network disconnected” via gpedit or regedit.

…not sure that they’re called exactly that.

2 Likes

I’ll brave search that and make it so! Thanks!

So under device manager there is no power tab for the wifi card. Also no entry for it under advanced power options. I’m at work now, and haven’t been able to confirm (although I don’t remember this being present), but that could be the method to turn connected and disconnected on:
image
You just uncheck the two options under wifi.

Will edit this with whether or not this is possible, and if this change is reflected when powercfg -a is run.

Ok so figured it out. Windows does not expose the option above in either the settings GUI, device manager, or via advanced power scheme settings.

You will have to use the following powercfg command in an elavated CMD window to disable connected standby:
powercfg /setacvalueindex scheme_current sub_none F15576E8-98B7-4186-B944-EAFA664402D9 0

If you want to enable it for some strange reason it would be the same command with a 1 at the end instead:
powercfg /setacvalueindex scheme_current sub_none F15576E8-98B7-4186-B944-EAFA664402D9 1

(You can also use group policy or the registry editor to make the change. I prefer CMD as it is just one line and no hunting around a UI.)

Edit: I just wanted to add that the powercfg options do not seem to persist upong reboot. The best option I’ve found is to use group policies and disable those settings.

Computer Configuration > Administrative Templates > System > Power Management > Sleep Settings

There look for the allow network connectivity options and disable them. (There are two: plugged in and battery)

I personally think this will help with a number of problems described here. I would add that I think disabling connected standby as one of the first maintenance task of setting Windows up is a great idea.

4 Likes

Thanks for this! Curious to see what kind of drain you’re seeing with this disabled.

FYI if you want a deeper look into what is draining power during standby, run a SleepStudy as described by Nirav here.

By the way, I’m back to the original audio drivers after running into some rebooting issues on the Microsoft drivers. Meanwhile I’ve set it to hibernate after an hour of sleep to minimize draining while I wait for a fix from Framework. As mentioned, resuming from hibernate is very quick so it’s a fine short-term workaround for me.

3 Likes

@feesh @jeshikat This should be fixed by installing the latest driver bundle:

2 Likes

@Kieran_Levin I can confirm that updating to the 2021_08_21 beta driver pack did fix the High Definition Audio Controller being the top offender during sleep study.

It still only goes ~45 minutes before hibernating but I’m pretty sure the SX8200 Pro is the culprit.

1 Like

You can set the time before hibernation in your power plan. If it’s not available, then you can add it by searching for a regedit edit.

In this case it’s Modern Standby exceeding the battery budget. When in Modern Standby (S0ix) if the battery discharges more than 5% it will switch to hibernation to preserve charge level.

1 Like

Unfortunately after running the installer (twice) it looks like I’m still getting the same drain rate from the audio controller:

I saw in the changelog that the fix is coming from the addition of Intel Smart Sound Technology, but I’m not seeing any indication of it running. Not sure I’m looking for it in the right places though–a quick Google search says that it should appear under Device Manager > System Devices but I don’t see it there.

@jeshikat Do you get any notifications or tray icons that say SST is running? Any SST device in your Device Manager list?

Thanks for the response @RandomUser. There are no SST devices listed in Device Manager for me. Here is the contents of the frameworkinstall.txt file:

"Framework Starting install: Tue 09/07/21 13:25:27.10" 
S e r i a l N u m b e r                 
 
 <redacted>    
 
 Microsoft PnP Utility

Processing inf :            gna.inf
Failed to install the driver : No more data is available.


Total attempted:              1
Number successfully imported: 0

I believe so. Here’s the result of dir:

09/06/21  20:56        10,545,416 Framework_Laptop_BIOS_3.03.exe
08/09/21  18:25       845,358,704 Framework_Laptop_driver_bundle_2021_07_08.exe
09/06/21  20:57       996,783,568 Framework_Laptop_driver_bundle_2021_08_31.exe

I used the ...2021_08_31.exe for both attempts.

I unpacked the bundle and modified the install script to only include the audio driver portion. Looks like it worked.

Previously when I ran the executable I noticed that there was no “Installing Intel Smart Sound” or “Installing Realtek Audio” echo, so for some reason the conditional was failing.

2 Likes

@feesh which SKU do you have? Could you share the output of:

pnputil.exe" /enum-devices /class MEDIA /connected

run from an admin shell.