tlp-stat command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
tlp-stat: command not found
or when using sudo you get the following error message
sudo: tlp-stat: command not found
Solutions to tlp-stat: command not found
How To Fix tlp-stat: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu tlp-stat is provided by tlp package.
tlp is:
TLP is a feature-rich command-line utility, saving laptop battery power without the need to delve deeper into technical details.
TLP’s default settings are already optimized for battery life and implement Powertop’s recommendations out of the box. Moreover TLP is highly customizable to fulfil specific user requirements.
Settings are organized into two profiles, allowing to adjust between savings and performance independently for battery (BAT) and AC operation. In addition TLP can enable or disable Bluetooth, NFC, Wi-Fi and WWAN radio devices on boot.
For ThinkPads and selected other laptops it provides a unified way to configure charge thresholds and recalibrate the battery.
To fix this problem, we can install more using the command below.
sudo apt-get -y install tlp
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install tlp.
sudo apt -y install tlp
Or if you have aptitude installed you can use the following command.
sudo aptitude install tlp
Summary
In this tutorial we learn how to fix tlp-stat command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.