Laptop shuts down during sleep

… and I spoke too soon. It lasted longer without Chrome running, but somewhere between day 2 & 3 it still rebooted unexpectedly with no useful information in the event log. :frowning:

Can you do me a favor and run a linux live-ISO and see if the laptop still shuts down during sleep?

Trying to rule out a broken Windows configuration/bad drivers.

I had ubuntu installed for a few days, didn’t have the a shutdown problem (but that’s a very limited sample time).

While the shutdown problem hasn’t happened for me since switching from S0 to S3 sleep, I occasionally notice the laptop waking from sleep and spinning up the fans which drains a lot of battery (sometimes to the point where it’s completely empty in the morning). According to powercfg -lastwake, these wakes are also caused by the AX210.

I’ve ordered an mt7922-based card (the same chip as in the new AMD-based framework laptops) which should arrive in three weeks or so. I’ll report back with results.

1 Like
  • Generation of Framework Laptop: 12th Gen Core i5-1240P.
  • SSD Installed: SK Hynix P31 Gold 1 TB.
  • BIOS version: Newest stable.
  • Happening on AC power, battery, or both: AC power.
  • Power adapter used (Framework or other): Framework & Anker 737 Charger (GaNPrime).
  • External peripherals utilized/plugged in (if any): With and without external display, with and without Bluetooth mouse.
  • Expansion Cards used in ports: 2x USB-C + 2x USB-A or 1x USB-C + 1x HDMI + 2x USB-A or 0 expansion cards.
  • Date of delivery (only if comfortable sharing): 1240P Batch 1.
  • Any additional information you can provide:
    • I have ran sfc /scannow.
    • I have reinstalled Windows, three times.
    • I have tested both RAM sticks together and individually.
    • I have tried another SK Hynix P31 Gold.
    • I have tried running the laptop with the battery disconnected.
    • Framework has provided me with a mainboard replacement.
    • I have tried multiple power supplies.
    • I have tried running the laptop without the input cover, as I also encounter the issue of the keyboard backlight flashing during modern standby.
    • I have tried running the laptop without the WiFi card.
    • I have tried a different WiFi card.

None of these have fixed the issue I am having.

Alright, the new network card is here. I installed it and re-enabled S0 sleep. I will report back in a few days.

Edit: random shutdowns in S0 still happen with this card.

1 Like

I had a similar issue, I contacted support and they sent me a new RTC battery.

2 Likes

Alright, I may have a lead. I noticed that my WSL instance occasionally freezes for several minutes with the vmmem sitting at 100% CPU. The usual fixes (such as disabling UI applications in WSL) didn’t help for me, so I converted the instance from WSL2 to WSL1 and since then my laptop hasn’t had any sleep problems, even with S0. It’s only been a few days so I’ll keep an eye on it but there’s a chance that those two problems are related.

Edit: and of course, as soon as I post that, I leave my laptop over night, come back in the morning and the problem is back.

1 Like

Also have this issue, and yes, its annoying

  • Generation of Framework Laptop: 12th Gen i7-1260P
  • SSD Installed: 512GB
  • BIOS version: Original Bios, not beta
  • Happening on AC power, battery, or both: I never put it to sleep on AC, so I don’t know if its happening there.
  • Expansion: 2x USB-C, 1x USB-A, 1x HDMI

@TheTwistgibber Is there any progress on this?
I’m at the point with framework support now where they want me to reinstall windows for the second time, and I don’t want to do that since it probably won’t lead to anything.
Just for the record, there are the things I’ve tried so far

  • Reinstall Windows
  • Mainboard replacement
  • Different RAM sticks
  • Removing my SSD expansion card (only USB expansion cards and peripherals)

My laptop also often shuts down right after unlocking (desktop shows, then it dies) and the event viewer also reports an unexpected shutdown quite a bit earlier when the laptop was not in use.

I’ve been affected by unexpected shutdowns during sleep on an intermittent basis since I bought the laptop a few months ago. (EDIT: To clarify, I put the laptop to sleep, either via start menu or by closing the lid, and when I come back to it later it is shut down.) Fortunately, I haven’t ever lost any data, but it’s finally reached the point where the constant full reboots are annoying enough that I’ve started searching for a solution.

Order details:

  • System: Intel® Core™ i7-1280P
  • Storage: WD_BLACK™ SN850X NVMe™- M.2 2280 - 2TB
  • Memory: DDR4-3200 - 32GB (1 x 32GB)
  • Operating System: Windows 11 Home (Download)

(I updated the BIOS via a download from the Framework website after receiving the laptop, in early Mar 2023, as advised. Not sure of the exact version number.)

Windows version:

  • Edition: Windows 11 Home
  • Version: 22H2
  • Installed on: 28/‎02/‎2023
  • OS build: 22621.1992
  • Experience: Windows Feature Experience Pack 1000.22644.1000.0
  • (Despite the old-seeming version, Windows Update assures me that I’m fully up-to-date.)

Expansion cards: 2xUSB-C (back left & back right), USB-A (front left), HDMI (front right)

On performing a sleep study, all of the recent Abnormal Shutdowns supposedly occurred at the exact instant that I powered on the laptop after trying to put it to sleep. As observed above, this is probably an issue with the logging - if the logging doesn’t know what time the abnormal shutdown occurred, it sets it to the next startup.

In Event Viewer, I have several frequently-occurring informational events while the computer is asleep:

  • Event ID 12 from UserModePowerService: Process C:\Windows\System32\WUDFHost.exe (process ID:1472) reset policy scheme from {381b4222-f694-41f0-9685-ff5bb260df2e} to {381b4222-f694-41f0-9685-ff5bb260df2e}

  • Event ID 7025 from netwtw10: The description for Event ID 7025 from source Netwtw10 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. […] The following information was included with the event: \Device\NDMP1 Intel(R) Wi-Fi 6E AX210 160MHz The message resource is present but the message was not found in the message table

  • Same event, but with event ID 7026

  • Event ID 11 from stornvme: The driver detected a controller error on \Device\RaidPort0.

Actions taken as a result of reading this thread:

  • Used the Intel driver update system to detect & install updates (it found newer drivers for wifi & bluetooth)
  • Set the hard disk timeout to several days
  • Disconnected the HDMI expansion card

I’ll try to remember to come back with an update about whether the problem persists.

1 Like

@TheTwistgibber
@FrameworkSupport
Please give us an update on your investigation!
This issue is open for almost a year and we still don’t have a real solution :frowning:
For me the DP expansion card is the issue, after removing it, everythings works well. Today I re-inserted it and the shit is starting again :confused:

Thanks a lot in advance!

@Rupert_Woods did this end up fixing the issue for you?

@FrameworkSupport

If this helps at all. I was asked to upgrade to bios version 3.06 by Framework Support and it didn’t fix the issue. I have the same issues as the others here but I’m only using 3 USBC and one regular usb port.

@Noah_Lim Yes, the RTC Battery replacement worked for me. Haven’t had any issue since.

1 Like

@Rupert_Woods and your problem was the same as the original poster’s problem?

@Noah_Lim Yes, looks similar to my issue. This was what I sent to Framework Support in my initial ticket request.

Subject: BIOS Resets and Hardware Crash

Description: Batch 4 i71165G7, BIOS v3.17, Windows 11
I have had a number of hardware crashes when the computer enters sleep and during a shutdown. This issue occurred while plugged in and on the battery. I only used the Framework charger to charge the laptop. Once the crash happens, the only way to start the computer is to plug in and the power button lights up and the memory training starts. Once the computer is booted, all of the previous BIOS setting that reverted back to default. The BIOS setting that I have to change are:
Power Button light to low
Power On AC Attach
Charge limit to 84%
Additionally, my SSD software shows “Unsafe Power Shutdown” count has increased by 1 after each occurrence. I and currently using a Crucial P5 Pluss 2TB SSD.

2 Likes

In my case the laptop doesn’t do memory training after a shutdown and does safe all bios settings. Also, replacing the mainboard (including the RTC Battery) didn’t help at all. So it seems to be a different issue from what some of us (me at least) are having.

@AnotherBoringUser

I’m wondering if the cause of this is due to a ssd, ram, or battery issue. Because a couple users I’ve seen did a whole mobo replacement and it didn’t fix the issue.

Also got an update. Yesterday FW support got back to me and wanted to inspect the components underneath the black stickers and the whole mainboard in general.

They also wanted me to use one stick of ram to see if the other is causing the issue.

As well as sending in my event viewer logs.

@Noah_Lim
There are SSDs from different brands in use among the people that have this problem. Also:

I have two sticks of RAM in use and experienced the issue with just one or the other installed, although I wouldn’t want to rule that out as a possibility.
I don’t know if anyone has tried replacing the battery yet. But that raises the question how the laptop would handle a somehow broken battery while still connected to power.