TLP is a command-line tool that comes with automated background tasks. TLP helps in optimizing the battery life in laptops powered by Linux.
We get information about the battery life, processor data, temperature, and fan speed by running sudo tlp-stat with various options. tlp-stat shows the power management setting. The options we used with tlp-stat are as follows:
- -b: Battery
- -t: Temperature
- -p: Processor data
- -c: Configuration
- -s: System information