Which Linux distro are you using? Ubuntu
Which release version? 24.04.1 LTS
(if rolling release without a release version, skip this question)
(If rolling release, last date updated?)
Which kernel are you using? 6.8.0-45-generic
Which BIOS version are you using? 3.03 (I think)
Which Framework Laptop 16 model are you using? AMD Ryzenā¢ 7040 Series - batch 10
I have my laptop configured to sleep when the lid is closed. I think it does go into some form of sleep (the display switches off) but it wakes up quickly when I open the lid. Reconnecting to wifi takes way longer than Iād expect (maybe a minute or so) but thatās not my biggest gripe.
My biggest gripe is how quickly the battery drains whilst āsleepingā. I reckon itāll go from close to 100% charged to flat in under 24 hours. I seem to remember investigating this previously and found something about AMD not supporting deep sleep mode.
I downloaded & ran amd-s2idle/scripts/amd_s2idle.py at master Ā· superm1/amd-s2idle Ā· GitHub ā¦ its output implies a firmware setting Iām missing:
Debugging script for s2idle on AMD systems
Framework Laptop 16 (AMD Ryzen 7040 Series) (16in Laptop) running BIOS 3.3 (03.03) released 03/27/2024 and EC unknown
Ubuntu 24.04.1 LTS
Kernel 6.8.0-45-generic
Battery BAT1 (NVT FRANDBA) is operating at 103.99% of design
Checking prerequisites for s2idle
Logs are provided via systemd
AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (family 19 model 74)
ASPM policy set to ādefaultā
SMT enabled
LPS0 _DSM enabled
ACPI FADT supports Low-power S0 idle
HSMP driver amd_hsmp
not detected (blocked: False)
PMC driver amd_pmc
loaded (Program 0 Firmware 76.82.0)
USB4 driver thunderbolt
bound to 0000:c3:00.5
USB4 driver thunderbolt
bound to 0000:c3:00.6
GPU driver amdgpu
bound to 0000:c1:00.0
System isnāt configured for s2idle in firmware setup
NVME Samsung Electronics Co Ltd NVMe SSD Controller S4LV008[Pascal] is configured for s2idle in BIOS
GPIO driver pinctrl_amd
available
Device firmware checks unavailable without fwupd gobject introspection
Your system does not meet s2idle prerequisites!
Explanations for your system
The system hasnāt been configured for Modern Standby in BIOS setup
AMD systems must be configured for Modern Standby in BIOS setup
for s2idle to function properly in Linux.
On some OEM systems this is referred to as āWindowsā sleep mode.
If the BIOS is configured for S3 and you manually select s2idle
in /sys/power/mem_sleep, the system will not enter the deepest hardware state.
However, I canāt see anything in the BIOS that looks related to āmodern standbyā.
Has anyone solved this problem? Am I missing something obvious?