I will need to get a laptop in the foreseeable future, and I really want to stick to Linux. However, I may need to be out-of-home for 12+ hours straight in a day. After some research, it seems people are generally not that impressed with battery life on Linux?

The laptop does not need to do anything heavy duty, as I will remote back into my already very beefy desktop back home.

I guess a common solution to this light use case is M2 MacBook if one wants to completely throw battery concern out of the window. Well… let’s just say it’s a love-hate relationship.

42 points

My thinkpads have always gone further on ubuntu than on windaz.

permalink
report
reply
6 points

Yeah my x1 carbon thinkpad has great battery life with Linux.

I’ll use power saver in fedora if needed.

permalink
report
parent
reply
5 points

My x1 carbon, with tlp and kubuntu, idling with screen on estimates 20 hours battery life. Haven’t had the patience to test it yet.

permalink
report
parent
reply
1 point

Is that just forcing the cpu scheduler? I use ubuntu-mate, and theres just a dropdown widget to switch between balanced/power/powersave.

permalink
report
parent
reply
4 points

Some addition power management tools I suppose?

permalink
report
parent
reply
10 points

vanilla with no configuration.

permalink
report
parent
reply
4 points

tlp is enough

permalink
report
parent
reply
2 points

Tlp and Intel xtu for undervolting (lowers temps and power consumption, but newer cpus don’t support it) are pretty good ideas. If battery life is your perogative, try avoiding discrete gpus, they can be a pain to make sure they don’t drain battery in Linux. 14hrs is possible, but you have to spec properly (think thinkpad t480 with dual batteries, and a low power display).

permalink
report
parent
reply
32 points

Battery life on laptops is always over exaggerated regardless what OS you run.

12+ hours of actual battery life during use just doesn’t happen.

permalink
report
reply
14 points

yeah I put Linux on my 2019 XPS 15 back in 2019 and went from 4 hours of usable productivity time to 4 hours of usable productivity time

battery degradation is a much bigger issue than Linux vs windows

permalink
report
parent
reply
2 points

12+ hours of actual usage is doable on Apple Silicon, but it does depend on what your usage is. If you’re compiling something 50% of the time then probably not. If you spend most time writing code and then testing the application after compiling? Yeah it’ll last you 12.

I know that’s not what OP has and it’s not what they should get for Linux usage, but I’ve worked with 3 now (one personal, two at different jobs) and these things are the holy grail of battery life. First day on my M1 Air, taking it off the charger, 2 hours in it had used maybe 5% battery watching a udemy course and playing around in xcode.

So I think we should demand better of our laptops. I do believe AMD has done a lot, they had an entire generation where all they advertised was the increased power efficiency.

permalink
report
parent
reply
23 points
*
Removed by mod
permalink
report
reply
9 points

This is what’s important. If you don’t enable power saving in some fashion, your hardware will always be “on” at full specs. Even if the machine isn’t actually being used, it’s still powering everything to be ready to jump at any opportunity to process something quickly without ramping down.

TLP has pretty excellent default settings. Simply turning it on will likely make your battery life go 2-3x longer than without it being on, and you will have about 80% of the performance from a UX perspective. And if you want to crunch numbers faster on battery, you can tune TLP or turn it off temporarily.

permalink
report
parent
reply
4 points
*

Thanks to you I just found out that I DID enable wake-on-lan a year ago and that there’s another reason I couldn’t do it.

permalink
report
parent
reply
17 points
*

It depends on the distro and how you configure it.

For distros that just work out of the box like ubuntu or manjaro it should be about the same as windows unless there’s something weird in your laptop, but in general there are 3 really useful tools that I recommend you check out are:

  • TLPUI: a user interface for TLP, a power management tool that’s used in most distros. With this you can configure your min/max clock speeds for your CPU and GPU when on battery vs plugged in, CPU governor, display brightness, automatic poweroff of drives and USB devices, and many other things
  • throttled (https://github.com/erpalma/throttled): originally created to workaround a BIOS bug on some thinkpads, this can now set things like turbo duration, power limits and undervolting, all based on whether you’re on battery or plugged in
  • LACT: if you have an AMD GPU, you can use this to undervolt it or to set a better power limit

Setting these up properly on my thinkpad t480 with manjaro gave it a good 50-60% of extra battery life for what I use it for (I’m a teacher so mostly presentations and various IDEs). You should check them out.

permalink
report
reply
15 points

It depends. If you get a fairly standard laptop from a brand that has some Linux awareness (Lenovo, Dell, Framework,…) you should be alright out of the box.

Gaming laptops generally are a bit worse since GPU switching is not as well integrated. I managed to get mine to parity but with a lot of tweaking. Devices with only integrated graphics tend to be fine out of the box.

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

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

Community stats

  • 7.2K

    Monthly active users

  • 6.6K

    Posts

  • 179K

    Comments