this post was submitted on 19 Jul 2023
325 points (96.0% liked)
Linux
48081 readers
701 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
Did FW ever solve the issue with battery drain during sleep? I owned one of the original batch and sold it because I couldn't effectively use it as a laptop. Other than that it was awesome, great build quality, loved the ethics of it and the form factor, but being unable to use it as a portable computer was a deal breaker.
One solution I've seen has been to enable "hybrid sleep", where you can have it sleep for some period of time (30m) and afterward go to hibernate.
I still need to check in on it, but one of the biggest issues with sleep on Framework laptop is that the usb-c adapters (like HDMI) passively draw power. If you use 4 usb-c (or just leave it empty), you have better sleep experience.
Hibernate is it's own challenge in Linux right now as lockdown mode doesn't work with hibernate (and I think a lot of distros use lockdown mode by default for security). I had to patch the kernel to enable this: https://gist.github.com/kelvie/917d456cb572325aae8e3bd94a9c1350
I was able to get hibernate working on Ubuntu with a few config changes. I'm using a swapfile which is the default these days and it takes care of security when used with disk encryption.
Given that Intel no longer supports S3, hybrid sleep or suspend-then-hibernate is the solution indeed. It works pretty well on my end. I'm using the latter with a 3-hour suspend window. Very rarely I end up cold-booting. Hybrid-sleep is foolproof for those that absolutely can't tolerate lost state.