BIOS setting to disable keyboard in sleep mode?

I carry my Framework 16 back and forth from my home to my office in a backpack, putting it into sleep mode before putting it in the backpack. When I get to the office or get home, I usually find that the laptop has woken up from sleep mode and has typed a bunch of random keystrokes. (“Usually” is actually understating it: I don’t recall a single time when I have NOT found that it woke up while being transported in a backpack). I believe that while the laptop is in my backpack, the screen is touching the keys with just enough force that it’s causing random keys to be pressed; the first key to be pressed wakes the laptop up from sleep mode, and the next keys then get typed into whatever program I have open.

I deal with this by starting a text editor with an empty file before putting the laptop to sleep, then closing it and throwing away the random text when I open the lid again. But it’s a little annoying that this happens, and I’d like to have a BIOS setting to disable wake-on-keypress in sleep mode. (I would like sleep mode to still be woken up by a press of the power button, as it’s flat and can’t be pressed by the closed lid the way the keys are being pressed. I would also like sleep mode to be woken up by the lid being opened.)

I’m lucky that I have a short commute; my laptop battery doesn’t discharge by any meaningful amount between the office and home, or vice-versa. But for those with longer commutes (an hour or more), it would be frustrating to have the laptop accidentally woken up from sleep mode all the time. A BIOS setting to be able to control what wakes the laptop from sleep mode (and disable keypresses waking up the laptop) would provide a solution to this issue, without needing any hardware changes (so existing owners can benefit from the solution).

Framework team: would you please consider adding BIOS settings to control sleep mode? Thank you!

EDIT: I was under the impression that wake-from-sleep behavior could only be controlled by the BIOS, not by the OS, but [TRACKING] Framework AMD Ryzen 7040 Series lid wakeup behavior feedback (which I only found after creating this post) suggests that I may be wrong about that. I’ll try the Linux kernel settings mentioned in that article and if something solves the issue for me, I’ll leave a comment in this thread (and that one as well) about what worked.

SECOND EDIT: Looks like I’m asking for the same thing as Firmware Feature Request: Disable keypress while the lid is closed

We have been asking for Framework to fix this since the laptop was released…over a year now. They seem to have little interest in improving the 16 for us. Best to just apply the os level workaround and be done with it.

1 Like

[RESPONDED] Waking from suspend w/ lid closed - #73 by Kieran_Levin is a December 2024 post from the Framework team; they mention that they plan to release a BIOS update combined with a keyboard firmware update “in our next bios update cycle early next year” (presumably that means this year, 2025). So keep an eye on that thread, as they’ll probably make an announcement over there when the BIOS update is ready.

Yeah I have seen that. Thanks. We are in Q2 of 2025 so “early” has come and gone unfortunately.