News for hackers. Stuff that matters.
Re:Framework Laptop 16 Delivers Great Linux Support and Perf... by steinuil on Tuesday January 23, 2024 @11:47AM (#39105851)
I have a Framework 13 12th gen i5 as well, running NixOS, but I definitely get a lot more than 3 hours! I'm usually running some terminals and Firefox.

I definitely had to play with powertop a bit and remove some programs that consumed a lot of battery (for example, the blueman tray applet had to go). I'd recommend setting powerManagement.enable = true and powerManagement.powertop.enable = true, and letting powertop run in the background while on battery for a few hours to identify the worst offenders.

This is my configuration: https://kirarin.hootr.club/git/steinuil/flakes/src/branch/ma...

Re:Framework Laptop 16 Delivers Great Linux Support and Perf... by motiejus on Wednesday January 24, 2024 @04:01AM (#39115222)
Your flake is very helpful, thanks! I cargo-culted tlp configuration, will see how it goes.

> and letting powertop run in the background while on battery for a few hours to identify the worst offenders.

How do you do the analysis after running powertop in the background?

Re:Framework Laptop 16 Delivers Great Linux Support and Perf... by steinuil on Saturday January 27, 2024 @08:26PM (#39161633)
Sorry, didn't notice the reply; if you let it running for a few while eventually it'll collect enough samples to show you the power consumption of the processes you have running in the terminal UI. Then you just look at the top ones in the list and see if there's a way to reduce power consumption, or quit using them altogether. I haven't used it enough to figure out how the reports work.