49
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 19 Dec 2023
49 points (96.2% liked)
Linux
48236 readers
501 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
Hibernation or suspend? 2 different things. For hibernation you need a swap space at least the size of your RAM, and then the laptop is powered off after this.
For suspend, in your dmesg, see if you have:
ACPI: PM: (supports S0 S3 S4 S5)
if you have S3 your laptop should lost only a few percent.
do a:
cat /sys/power/mem_sleep
what does it says?
New CPU/BIOS/PC/Laptop only support something called "s0 idle" meaning it is like a cellphone, everything is running, and each drivers/components/os should enter low power themselves, if they do not, well, your battery is draining.
S3 means "suspend to RAM", only RAM is powered and everything else is off, your laptop can stay like this for days. I don't know who decided that this is bad and your laptop should be like your cellphone, always running?!?
Modern Fedora doesn't enable swap by default and configures zram instead. Of course, you can't hibernate to zram, so getting basic hibernation to work involves either disabling zram and configuring swap, or using callbacks to temporarily disable zram and enable swap right before suspending.
Neither is very beginner friendly, unfortunately.