logoalt Hacker News

cogman10today at 5:54 PM4 repliesview on HN

The really unfortunate thing about linux is the defaults tend to be not battery friendly.

For example, I recently got another 1 hour out of my old laptop's battery because I didn't realize for the intel video card driver I needed to add some modprobe flags to get it to load up a firmware binary blob. Doing that enabled hardware video decoding, faster performance, and lower power usage.

There's a bunch of setting like this that you need to make sure are turned on to get the best battery performance. Some OSes are better about toggling them than others and mine (gentoo) let's you discover later that you forgot to turn them on :).


Replies

tcmart14today at 6:58 PM

This is where looking at the gaming centric distros and doing what they do makes sense. I haven't seen all kernel settings for all distros, but my understanding is many choose the defaults and most of the defaults are more optimized for server usage. Which makes sense. Debian's biggest deployment environment is a fleet of servers. For the standard Debian Install, of course. However, my laptop is not a server, so the defaults don't make sense. This is where we maybe need distros that their whole niche is to be laptop friendly. Or, get the bigger distros, to offer a flavor with a different set of defaults for laptop environments.

inigyoutoday at 6:18 PM

I have a laptop where you need to load a certain driver to turn off the discrete GPU, which triples the idle battery life.

show 1 reply
fhntoday at 6:23 PM

That's really sad to hear. I think it's just so much to configure for any human to take on. I'm going to run my system config through an LLM and have it optimize it for me see if that works.

exe34today at 6:15 PM

Hey could you tell me about this flag please? I have an intel gpu and might need it too!

show 1 reply