Power Management Guide for Linux | Linux tutorial
The Data Guy
#tlp #powerManagement #chargingThreshold
đź’ Battery Backup Many of you who have switched from windows from linux might notice that your laptop battery on linux is draining faster compared to your Windows . Well , this is because Linux is pre-configured for performance. But dont worry there are certain tool that we can use to prolong our battery life
💠TLP ▶️ Installing tlp on Debian/Ubuntu/linux mint sudo apt install tlp tlp-rdw ▶️ Installing tlp on Fedora/RedHat sudo dnf install tlp tlp-rdw ▶️ Installing tlp on arch based system sudo pacman -S tlp tlp-rdw
well the default configuration on tlp is fine and well suited for all occassion , but if you want to change you can change it by using below command
▶️ sudo nano /etc/tlp.conf
đź’ POWERSTAT powerstat is very useful tool it lets you know how many Watts your laptop is draining from your laptop battery.
▶️ Installing powerstat on Debian/Ubuntu/linux mint sudo apt install powerstat ▶️ Installing powerstat on Fedora/RedHat sudo dnf install powerstat ▶️ Installing powerstat on arch based system sudo pacman -S powerstat
đź’ CHARGING THRESHOLD Many of the laptop manufacturer who develop their app on their windows to change the charging threshold dont develop same app for Linux , but don't worry their are other ways we can still set charge threshold on your linux system
▶️ To check whether your laptop supports it or not
ls /sys/class/power_supply/BAT0/charge_control_end_threshold
▶️ if you get an error saying file doesn't exist or something like that, then this means your laptop is not supported
▶️ if you get the output then you can proceed , for that click on the below link
https://github.com/shazx06/battery-manager-linux
â–¶ Package management in Linux :https://www.youtube.com/watch?v=fvqsp95aLIU&list=PL0_97caeAnFIw8rgVBV8xCAmqq0CeBV_K â–¶ Linux tutorial : https://www.youtube.com/playlist?list=PL0_97caeAnFJXl7KSxelAve9MHzLTiQIg
🤖Join our discord server : https://discord.io/thedataguy
Follow shazib on : âś…GitHub (https://github.com/shazx06)
âś…Linked In (https://www ... https://www.youtube.com/watch?v=mtuFebtGAtU
22752281 Bytes