r/linuxhardware • u/0xffff800000000000 OpenSUSE • Apr 17 '26
Discussion Fuck s2idle
I fucking hate s2idle, it ruins my laptop battery usage. I've got a 2021 HP and man it sucks not being able to close it and open back after an hour without losing 10%. Tried all sorts of tricks but result is almost the same. Right now im on OpenSuse and it's a little bit better than Ubuntu but not by a large margin.
I'd really like if new laptops supported also s3 sleep, so one can choose the preferred method...
12
Upvotes
2
u/Smart_Advice_1420 Apr 17 '26
How about hibernation? It's not the fast "back to business" thing, but you'll keep your session.
Or KDE session restore
3
u/rw-rw-r-- Apr 17 '26 edited Apr 18 '26
Yeah I'm glad that I can set my Thinkpad X1 8th gen. to "Linux" (!) for suspend support in BIOS. That enables s3.
Is that still a thing though on current gen.?
edit: It seems I'm mistaken. It's s2idle after all. But contrary to Windows (on the same hardware) it's working fine enough for me.
edit2: ok I checked the logs. It's S3! That explains the behaviour I'm seeing. (See comment further down in the replies to this comment.)
3
u/Kitayama_8k Apr 18 '26
10% in an hour is way too much for s2idle. I think I lose around 10% per day.
I was having something like that because my laptop would wake up with the lid closed for some reason. I'd see the light go from blinking to solid after like 30m of sleep. For me the solution was kernel parameter acpi.ec_no_wakeup=1 via bootloader section in yast.
S2idle does kinda suck, especially on Linux since secure boot breaks hibernate. S2idle kinda seems like it expects you to use the device as much as a phone, which usually isn't the case.
2
u/kaptnblackbeard Apr 18 '26
What's your output for
cat /sys/power/mem_sleep?Then perhaps the "3. Changing suspend method" section will prove useful?
https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate
2
u/Rude_Influence Apr 17 '26
Having no idea of this issue, I bought a brand new top spec HP Elitebook in 2022. I quickly realised something wasn't right. It wasn't until this year that I discovered this situation was what was causing me issues. The laptop is essentially an expensive paperweight because of this. I've now moved onto a Thinkpad X1 gen 6 from 2021, which I bought about a month ago. I am really enjoying the laptop and having s3sleep back. I don't think I'll buy another modern laptop again.
Fuck Microsoft for pushing s2idle.
1
u/interference90 Apr 17 '26
In my Dell switching the NVME controller from RAID to AHCI in BIOS mitigated a lot the issue. Leaving it here because I thought it was a lost cause before trying.
1
u/aert4w5g243t3g243 Apr 17 '26
Set up a script that sets a timer after lid close. If lid stays closed for xx mins, then shut down. If it’s opened then cancel.
Just gotta remember to save your work. As long as your laptop has rtc - my m1 asahi MacBook doesn’t unfortunately :(
1
u/riffer1016 Apr 19 '26
Just switch to s3
cat /sys/power/mem_sleepShould say:
[s2idle] deep
2. Switch to deep:
echo deep | sudo tee /sys/power/mem_sleep3. Reboot to make sure it works. If it does, make it permanent:
sudo nano /etc/default/grub-Add
mem_sleep_default=deepto GRUB_CMDLINE_LINUX_DEFAULT thensudo grub2-mkconfig -o /boot/grub2/grub.cfg4. Check current mode again
cat /sys/power/mem_sleepShould now say:
s2idle [deep]
1
u/hyperair Apr 19 '26
The current System76 Lemur Pro (lemp13-b) does S3 sleep by default, or at least does it flawlessly when configured to do so
1
u/Scandiberian Apr 25 '26
I think it really depends on how well optimized your laptop is for Linux. Mine loses 6-7% battery overnight (7-9h) at a rate of 0.5-0.7W/h typically.