this post was submitted on 29 Nov 2023
25 points (96.3% liked)
Linux
48083 readers
785 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Many modern laptops no longer support S3 sleep at all. It is likely to be an issue with the bios rather than a linux project. On my laptop, with Ryzen 7 5825U, I had to give up on S3 and use s2idle. Also had to pass "pcie_aspm=off" as a kernel parameter because it would take ages to wake the ssd without it. Overall works ok. Not as good as S3 but better than nothing.
Thank you! How do you activate s2idle?
So to check what suspend states your laptop supports run
cat /sys/power/mem_sleep
. It should print something likes2idle shallow [deep]
with the option that is enabled having [] around it. To change the enabled option runecho "s2idle" > /sys/power/mem_sleep
.https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate has more info.
S2idle.
Hm, anyways this is happening ;(
Pcie ASPM off would hurt battery life a lot wouldn't it? What sad do you have?
I haven't really noticed much of a difference. I figured it was probably worth actually being able to wake the laptop from sleep rather than having to restart it every time.