Laptop shuts down during sleep

@Twistgibber I’ve experienced this issue. Not really a big deal to me just kind of a minor annoyance.

Generation of Framework Laptop:12th
SSD Installed: Western Digital PC SN730 NVMe™ SSD
BIOS version: 3.04
Happening on AC power, battery, or both: Both
Power adapter used (Framework or other): Framework
External peripherals utilized/plugged in (if any):None
Expansion Cards used in ports: 2x USB-C 1x USB-A 1x 1tb expansion
Date of delivery (only if comfortable sharing): September 20th

  • Generation of Framework Laptop: (11th or 12th Gen Intel Core): 12th gen
  • SSD Installed: WD SN730
  • BIOS version: as delivered, I think 3.05
  • Happening on AC power, battery, or both: certainly on battery, also on AC power I think
  • Power adapter used (Framework or other): Framework
  • External peripherals utilized/plugged in (if any): no
  • Expansion Cards used in ports: 2x USB A, 1x USB C, 1x 1TB SSD
  • Date of delivery (only if comfortable sharing): September 5th
  • Generation of Framework Laptop: (11th or 12th Gen Intel Core): DIY 12th edition 1240p.
  • SSD Installed: SK hynix Platinum P41 2TB
  • BIOS version: INSYDE Corp. 03.05, 8/23/2022
  • Happening on AC power, battery, or both: Saw shutdowns when connected on AC power. Never tested on purely battery power.
  • Power adapter used (Framework or other): Anker 737 120W 3-port charger with Anker 333 100W 6ft USB-CtoC cable.
  • External peripherals utilized/plugged in (if any): None
  • Expansion Cards used in ports: 3xUSB-C, 1xUSB-A (lower right port, under the enter key)
  • Date of delivery (only if comfortable sharing): Nov 4th (
  • Any additional information you can provide:
    Windows 11 Pro, Version 10.0.22621 Build 22621, up-to-date with Windows updates.
    RAM: 2x16GB Samsung M471A2K43DB1-CWE

Shutdown was never the result of battery drain, since I had always had the laptop plugged in when putting to sleep. Haven’t been testing it lately since I just switched to hibernating my laptop when the lid is closed, which I have had no issues with. Tried the testing earlier in the thread with removing a device that appeared to be causing issues when viewing Windows event logs, but that didn’t seem to affect my sleep crash issues.

Thanks all! We’ve begun scraping these responses and will be escalating to Engineering for review. We’ll keep you updated on our progress/findings.

6 Likes

@TheTwistgibber Thanks for the transparency, and will look forward to the results!

1 Like

Hardware

This is what I ordered on 20 Nov 2022, shipped on 21 Nov 2022:

i7-1260P

  • CPU: Intel® Core™ i7-1260P
  • Keyboard: German

Expansion Cards

  • 2 USB-C
  • 2 USB-A
  • 1 DisplayPort
  • 1 MicroSD
  • 1 HDMI

Accessories

  • Power Adapter - EU

Already owned (new, unused):

  • 2 x Crucial RAM 16GB DDR4 3200MHz CL22 (2933MHz / 2666MHz) CT16G4SFRA32A
  • WD_BLACK SN850X 2TB M.2 2280 PCIe Gen4 NVMe SSD

What Windows 10 Says

Processor 12th Gen Intel(R) Core™ i7-1260P 2.10 GHz
Installed RAM 32.0 GB (31.7 GB usable)
Device ID XXXxxxxxxxxxxxxxxxxxxxXXX
Product ID 00326-00894-94274-AAOEM
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display
Edition Windows 10 Home
Version 22H2
Installed on ‎30/‎11/‎2022
OS build 19045.2364
Experience Windows Feature Experience Pack 120.2212.4190.0

The Abnormal Shutdowns

Those full shutdowns (terminating all running programs, powering down completely) are happening almost every time I leave the computer alone for more than an hour.

  • For the time I made the following reports, the computer was constantly connected to the mains adapter (seems completely stable, the computer also when not in sleep mode).
  • Windows Power & sleep settings are:
    • Screen - When plugged in, turn off after: 10 minutes
    • Sleep - When plugged in, PC goes to sleep after: 10 minutes
  • I installed the Windows 11 Framework Laptop BIOS and Driver Releases (12th Gen Intel® Core™) mentioned in this post because it said it would work on Windows 10 and I could not find other drivers for e.g. the wifi card and the thunderbold hardware. I installed it like I described here.
  • Connected to the laptop are:
    • Via USB-C Card: Power adaper
    • Via USB-A Card: 5 port USB hub connecting a 7 port USB hub. There is not THAT much connected: Logitech Keyboard, Mouse, an USB drive, a LogiLink 4-Port RS-232 Adapter and a ST-Link V2 chip programmer / debugging probe.
    • Via HDMI Card: AOC 2.5K display Q27P1
    • 1x DisplayPort Card (no display connected, I tried to connect the AOC display whith an DP cable but after screen off, the computer would not recognize the display as connected :frowning: . I think the Shutdown problem was existing before I plugged in the DP Card and had a MicroSD Card connected.

So here are the 3 “Abnormal Shutdowns”, the Windows “System Power Report” collected over the last 2 days. One on Jan 5:

And the next two, this afternoon / night. For those last two I am sure, the Laptop Lid was open and I left the computer without switching anything off. The times of those shutdowns seems to be wrong because it is exactly the time I started using the computer for the “Active” time and I am pretty sure I found the computer already completely powered down at these times (17:19, 21:25). It looks like the computer did not manage to log the time when the “Abnormal Shutdown” happened and did this when I powered it up again.

The Details of the last “Abnormal Shutdown”:

And there are some diagnostics / settings noted some random “Screen Off” randomly in the middle of this “System Power Report”. I think those display and sleep timeouts are consistent with the 10 min timeout settings and with the logged times. The hibernation timeout of 0 seems to be the reason the computer never enters hibernation even though hibernation is enabled (I don’t know how to change this timeout).

1 Like

@Niun Respect, that’s a lot more information than I thought to include!

I am experiencing this issue as well.

sleep study show many unexpected shutdowns, and event viewer shows kernel-power errors at the same time. My system has been on AC power the entire time.

  • Generation of Framework Laptop: 12th gen
  • SSD Installed: Samsung 980 Pro
  • BIOS version: As delivered, I think 3.05
  • Happening on AC power, battery, or both: Definitely with battery, not sure about AC
  • Power adapter used (Framework or other): other (displays, apple charger, etc)
  • External peripherals utilized/plugged in (if any): none
  • Expansion Cards used in ports: 2x usb c, 1x hdmi, 1x usb a
  • Date of delivery (only if comfortable sharing): November
  • Any additional information you can provide: I’ve had this issue about 2-3 times a week

After my last post I removed the DP Expansion Card and had no “abnormal shutdown” until yesterday after I put the DP Card back in.

  • So without DP Card (and with an open slot on right to the front): 5 days no problem,
  • with DP Card: 2 abnormal shutdowns in less than 24h.

But I see other posts here from people having shutdowns without using the DP Card. When the Card was not connected, there was no expansion card in the slot on the right to the front. Maybe there are some defective expansion cards in general or it is the slot that is having problems? Or the problem happens at an extremely random frequency.

2 Likes
  • Generation of Framework Laptop: 12th gen - i5 1240p
  • SSD Installed: Crucial P5 Plus 1TB
  • BIOS version: latest i think
  • Happening on AC power, battery, or both: On AC power
  • Power adapter used (Framework or other): Dell S2722QC USB C Power
  • External peripherals utilized/plugged in (if any): USB wireless receiver for keyboard through usb c port on monitor
  • Expansion Cards used in ports: 3 USB C 1 USB A
  • Date of delivery (only if comfortable sharing): 19/01/23
  • Any additional information you can provide :
    Windows 11
    Any time i leave the laptop docked in and leave for an extended period of time i.e. night time . Been abruptly shutdown nearly consistently now, i never expect the laptop to be in sleep mode after the night. But when the power is off, when the laptop is left alone for some time it simply hibernates and resumes where i left off. In all of this the battery is all good never dipping below 90% etc

Hi and welcome to the forum.

You don’t say if you are using Windows (10 or 11)

The default sleep is that once the main battery drops 5% then it hibernates etc.

So are you expecting it to be powered and hence stay in sleep mode?

Windows 11, and the battery is no issue it seems, at any given point concerning this abrupt shutdown issue,the battery is at full charge to 90%, since i do keep the laptop docked in. The problem as far as i can tell only occurs when the laptop is connected to power and left alone for a few hours. From the windows system power report i can see all the abnormal shutdowns under ‘charge’ .

2 Likes
  • Generation of Framework Laptop: 12th gen - i5 1240p
  • SSD Installed: WD SN730 500GB
  • BIOS version: What it shipped with (latest stable I believe)
  • Happening on AC power, battery, or both: Both
  • Power adapter used (Framework or other): Official
  • External peripherals utilized/plugged in (if any): None
  • Expansion Cards used in ports: Config 1: 2x USB-C, 1x USB-A & 1x HDMI Config 2: None
  • Date of delivery (only if comfortable sharing): February 2023
  • Any additional information you can provide: 2x32GB 3200 gskill ripjaws ram; Windows 11 Pro on latest update. Additionally, my keyboard backlight does this odd flicker thing when in sleep.

I don’t know a lot about tech, but I do have a lot of free time and ADHD. I’ve been taking out and swapping hardware and disabling things to see if I can find a common denominator.

Holding all else constant, turning off the wifi/bt module (Intel WiFi 6E AX210 (on the latest driver)) via software switch in windows, 100% without failure has completely stopped the odd backlight flickering and I have yet to run into any issues with the random system shutdown in sleep with it off. I ran “sfc /scannow” and looked at the logs and found this: “Corrupt file: C:\Windows\System32\drivers\bthmodem.sys”

However, sfc finding and repairing the corrupt file alone did not resolve the issue with the backlight keyboard flicker (unknown whether or not it effects the random system shutdown).

In addition, my wifi network does not support WMM if that matters at all. I only mentioned it because Power Efficiency Diagnostics Report seemed to think that was worth mentioning.

If anyone wants me to try anything and/or provide any logs, let me know because boy do I have free time and boy am I hyper-focusing on this.

Should I try swapping out the Intel AX210 with an old realtek card I have to see what happens?

TLDR; I feel like this might be related to Wifi/BT module. Any opinions or suggestions?

1 Like
  • Generation of Framework Laptop: (11th or 12th Gen Intel Core): DIY edition 12th Gen with i7-1260P
  • SSD Installed: WD Black SN770 NVMe 1 TB
  • BIOS version: as preinstalled, presumably latest
  • Happening on AC power, battery, or both: definitely on AC, can’t say anything about battery as the laptop is currently always plugged in
  • Power adapter used (Framework or other): two different non-Framework
  • External peripherals utilized/plugged in (if any): none
  • Expansion Cards used in ports: configuration A: 2x USB-C, 1x USB-A, 1x HDMI; configuration B: 3x USB-C, 1x USB-A
  • Date of delivery (only if comfortable sharing): February 27th
  • Any additional information you can provide: Windows 10 Home, build 19045.2673. Driver pack is installed. After first occurance, Bluetooth and Graphics drivers were updated through Intel’s assistant which didn’t help. RAM is 2x 16 GB Corsair Vengeance SODIMM DDR4.

Abnormal shutdowns multiple times per day, basically every time I leave the laptop unattended for more than an hour or two. According to the windows log, the shutdown appears at a time when nobody touches the laptop, so not when I open it.

Edit with more data:

I closed the laptop, unplugged it, carried it upstairs and replugged it around 00:38 as visible in the report, then opened it at 09:45 and found it shut down. The Windows event log has an entry from 09:45 that claims the shutdown had occurred at 03:29:10 which might not be entirely accurate considering there are lines in the sleepstudy until 03:40 and event log entries until 03:45. The last few entries are unknown events 7021 from Netwtw12 (apparently something related to WiFi as the event details contain my SSID and router name).

Edit 2:
The event log entries are the same as described in this intel support request although I don’t have the connection problems described there. Considering @Patrick_Vetter also described something related to the AX210, could it be that the system tries to wake up from sleep for an update check, enables wifi and then crashes?

Another update, one day later…

I applied the S3 standby registry hack which slightly changed the behavior. When I opened the laptop in the morning, the laptop appeared powered off (power LED off, boot screen when pressing the power button) but fully restored my session, as expected.

I still checked the Windows event log and saw - again - that the laptop had been awoken from standby at 03:29, with several error messages relating to the AX210.

You can find the relevant section of the event log under https://files.helios42.de/~dfyx/temp/AX210%20errors.evtx

@TheTwistgibber I am experiencing this issue and it is making the laptop difficult to use for work, since I have to undock the laptop and close it to move around several times a day, and when I open it I find that it has to start up from scratch and recover my apps. I do have an HDMI card installed since I plug in a second monitor when I’m at my desk. Is there a firmware update for the HDMI card?

  • 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.
  • Power adapter used (Framework or other): Framework adapter plugged into a USB-C hub that feeds into the laptop, but like I said, the issue happens when it’s unplugged and I close the lid to put the laptop to sleep and travel with it.
  • External peripherals utilized/plugged in (if any): USD-C Hub
  • Expansion Cards used in ports: 2x USB-C, 1 USB-A, 1 HDMI
  • Date of delivery (only if comfortable sharing): September 2023 (Batch 2)
  • Any additional information you can provide
2 Likes

My problem is 100% caused by something to do with expansion slots that are not usb-c nor usb-a. I haven’t posted in months because I haven’t had even a touch of a problem, to the point I forgot about this whole mess. This entire time I’ve had only the usb-c and -a, both on and off power. No problems whatsoever. Last night I plug in the hdmi card and this morning I open the laptop, half a second of screentime, and then it restarts–abnormal shutdown. Did a few things, closed it for a few hours, opened it again, exact same problem. It has nothing to do with the battery. Something about the DP card and the HDMI card cause the computer to freak out upon opening the lid and cause an abnormal shutdown.

7 Likes

I started having this issue a few weeks ago on my 12th Gen running Windows 11. Even when I did a clean reinstall of Windows it kept happening.

Over the last 2 days, however, I experimented with quitting Chrome completely before putting my laptop to sleep, and I haven’t had it happen again (yet). So it’s possible that Chrome is doing something bad during one of the many events that occur during sleep. Other folks might want to test this out, and if I learn more I’ll follow up here.

1 Like

… 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: