this post was submitted on 29 Apr 2024
52 points (98.1% liked)

Linux

48287 readers
637 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I upgraded to Fedora 40 workstation a couple of days ago. I never turn off or suspend my laptop (a Thinkbook 14s Yoga) and it was guranteed to be dead if i left it unplugged for a couple of hours before the update.

With Fedora 40 it's been unplugged for almost 5 hours and still has 52% battey left (down from 59% when i unplugged the charger).

I noticed both TLP and auto-cpufreq have been disabled after the update so this looks like default power settings are being used.

I'm not sure if it means I'll be getting consistently better battery life but i thought maybe it's a good idea to share this first impression anyway.

Has anyone had a similar experience?

top 14 comments
sorted by: hot top controversial new old
[–] joojmachine@lemmy.ml 25 points 6 months ago* (last edited 6 months ago) (1 children)

It's power-profiles-daemon. The new version came out a couple of weeks back (and reached stable bascially in the same day as F40 released) with much better performance, as it now detects if your system is running on battery and adapts both the balanced and power saver modes accordingly to save on power, it's pretty great!

[–] Sentau@discuss.tchncs.de 3 points 6 months ago (1 children)

Still I am finding it difficult to believe that just being battery aware has taken battery usage from 50℅ per hour to 1.4℅ per hour

[–] xuniL@lemmy.dbzer0.com 2 points 6 months ago* (last edited 6 months ago)

It's a lot of other big improvements. The improvements were mainly made for Framework laptops but they apply to other laptops too.

[–] ThermoToaster@exng.meme 4 points 6 months ago

I’m still on 39 and looking forward to upgrading my FW13 next weekend, this might be huge.

[–] K4mpfie@lemmy.ml 4 points 6 months ago (1 children)

Running Fedora as a secondary OS from a Thunderbolt SSD. What I can tell you is that my Bios still seems to be in charge (pun intended) of the charging cycles since it wouldn't charge past 80% and I never set this in Fedora.

Otherwise runtime seems about average under use and the estimated time left on the charge seems correct.

[–] mfat@lemdro.id 3 points 6 months ago (1 children)
[–] lemmyvore@feddit.nl 5 points 6 months ago (2 children)

Please keep in mind that staying between 20-80% greatly improves battery life.

[–] joojmachine@lemmy.ml 2 points 6 months ago

battery health != battery life

just a small fix, battery life is usually referred for the amount of time you can get out of a single charge, battery health for how long your battery will last over the years maintaining its capacity

[–] mfat@lemdro.id 1 points 6 months ago

Thanks. I've been able lenovo's charging threshold feature and it won't charge past 60%.

[–] ryannathans@aussie.zone 3 points 6 months ago

Amd? There have been some very nice improvements to the pstate driver lately, maybe that's what you are seeing

[–] nossaquesapao@lemmy.eco.br 1 points 6 months ago (1 children)

That's interesting. I usually skip each other fedora version, and will probably go from 39 to 41, but if there are improvements to battery life, maybe I will try it now.

[–] boredsquirrel@slrpnk.net 1 points 6 months ago* (last edited 6 months ago) (1 children)

Why would you do that, there is absolutely no reason. ~~Fedora only supports upgrading one version up.~~ oops its 2

Stay on the old stable if you like, but then switch to the latest? Why?

[–] nossaquesapao@lemmy.eco.br 7 points 6 months ago (1 children)

Fedora actually supports skipping every other version. They point it at the docs:

. System upgrade is only officially supported and tested over 2 releases at most (e.g. from 38 to 40). If you need to upgrade over more releases, it is recommended to do it in several smaller steps (read more).

As for why I do that, the six months release cycle is too fast for me. I struggle a lot with things and end up living in a slow paced manner. In this case, the process is supported and I receive security updates normally, so I don't see a problem and it works fine for me. Besides, I have only one computer I use for everything, and I had problems with things not working properly after a distro upgrade in the past (it was with ubuntu, but I got a bit traumatized after that).

[–] lemmyvore@feddit.nl 1 points 6 months ago* (last edited 6 months ago)

TBF with Ubuntu it's only partly their fault. The other part is indirect due to the way apt works and the spread of third-party repos (launchpad etc.) that would throw you in dependency hell come upgrade time.

Ubuntu (and Debian, and any distro using apt) are badly in need of some way to dissociate core packages from third-party better. For Ubuntu that way was snap.

People may dislike the politics around snap or the technical implementation but the reason Ubuntu resorted to it is valid.