TLP battery monitor

Do we think the move is to use TLP?

TLP is a feature-rich command line utility for Linux, saving laptop battery power without the need to delve deeper into technical details.

https://linrunner.de/tlp/introduction.html

I plan to roll nixos.

2 Likes

Yes, TLP helped with my battery life, and I would highly recommend it. Elsewhere on this forum, people have compared power-profiles-daemon to TLP and found that TLP does a better job of reducing power consumption. Keep in mind that you may have to uninstall power-profiles-daemon on certain distros, since it may be installed by default and it will conflict with TLP.

3 Likes

Some people recommended auto-cpufreq as well, has anyone tried both and can recommend one of the two over the other? It should be noted though that according to the documentation of auto-cpufreq, you can actually run both at the same time, so maybe that’s the best option.

Since it’s not available in the Debian repos, I haven’t (yet) tried it. TLP has given me enough battery life that I’m not particularly inclined to mess around with other stuff just yet.

1 Like

Thanks for this thread - installed TLP, referencing the excellent doc at Introduction — TLP 1.5 documentation. Very good info in the installation section for anyone using Ubuntu.

tlp can’t control the charge thresholds, even with the 3.06 bios

root@fw:~# tlp-stat -b
--- TLP 1.4.0 --------------------------------------------

+++ Battery Care
Plugin: generic
Supported features: none available

+++ Battery Status: BAT1
/sys/class/power_supply/BAT1/manufacturer                   = NVT
/sys/class/power_supply/BAT1/model_name                     = Framewo
/sys/class/power_supply/BAT1/cycle_count                    = (not supported)
/sys/class/power_supply/BAT1/charge_full_design             =   3572 [mAh]
/sys/class/power_supply/BAT1/charge_full                    =   3523 [mAh]
/sys/class/power_supply/BAT1/charge_now                     =   3523 [mAh]
/sys/class/power_supply/BAT1/current_now                    =      0 [mA]
/sys/class/power_supply/BAT1/status                         = Not charging

/sys/class/power_supply/BAT1/charge_control_start_threshold = (not available) 
/sys/class/power_supply/BAT1/charge_control_end_threshold   = (not available) 

Charge                                                      =  100.0 [%]
Capacity                                                    =   98.6 [%]

root@fw:~#

if you do end up using tlp, there is a gui config app called tlpui thats also quite useful

1 Like

@Quinn_Dougherty what did you end up going with?

I am also running NixOS and have been running ‘auto-cpufreq’. My battery module always shows that a full charge is going to last around 6h under my regular usage. I haven’t done any further experiments.

I am going to give ‘tlp’ a try and see what my battery module reports.