Saturday, May 18, 2024
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 31307  / 3 Years ago, thu, november 11, 2021, 4:48:19

I recently installed Ubuntu 20.04 LTS on my Lenovo Ideapad Flex 5 and realized that battery life in Ubuntu is not as good as Windows. The battery drains faster in Ubuntu. I have seen the questions in Ask Ubuntu about this, but I haven't found anything that regards Ubuntu 20.04 LTS. I've done some research and found out that the battery drain is because most vendors optimize their drivers for Windows and with Linux, you have to hope that the kernel drivers do the job (which they usually do). After that, I researched how to increase my battery life and almost all sources I found recommended installing tlp or powertop or something similar to these. But I have a few questions.



  1. Does tlp, powertop, and similar software actually affect battery life?



  2. If the answer to 1 is yes (in a positive way), what would you recommend I install (such as whether I should install tlp or powertop by itself or in a combination)?



  3. Are there any other ways to increase battery life in Ubuntu 20.04?




Note: I am a beginner to Linux and Linux distros and do not want to mess with anything advanced that may negatively affect the system. I may not be able to immediately know how to tweak any of the aforementioned software, so please suggest any tweaks if they are needed to get results.


And if it helps to know, here are my system specs:


OS: Ubuntu 20.04.1 LTS x86_64


Host: 81X2 IdeaPad Flex 5 14ARE05


Kernel: 5.7.17-050717-generic


CPU: AMD Ryzen 7 4700U with Radeon Graphics (8) @ 2.000GHz


GPU: AMD ATI 04:00.0 Renoir


(These were given by neofetch)


P.S: If you need anything else, just ask.


Thanks in advance!


More From » power-management

 Answers
5

TLP works to save power and prevent overheating. It provides AMD Radeon GPU power management. It provides power management for CPU, GPU, WiFi, Bluetooth, HDD and more.


You can install TLP like so:


sudo apt install tlp tlp-rdw

After installation run sudo tlp start and reboot.


You will see longer battery life and reduced CPU / GPU heating after installation and reboot. However, it may take a few days to get the full effect of TLP.





TLP runs as a service. It is started from the terminal and it has no GUI.


After you install TLP, you run it for the first time using this
command in the terminal:


sudo tlp start

Then you do not need to run it again. It will run automatically with
each reboot.


You can check the status of the TLP service by running the following
command in the terminal:


sudo systemctl status tlp.service

You will get an output like this:


● tlp.service - TLP system startup/shutdown
Loaded: loaded (/lib/systemd/system/tlp.service; enabled; vendor preset: enabled)
Active: active (exited) since Tue 2019-08-27 23:06:37 +03; 3 days ago
Docs: https://linrunner.de/tlp
Main PID: 2374 (code=exited, status=0)
Tasks: 0
Memory: 0B
CGroup: /system.slice/tlp.service

enabled means it will run automatically every time the system
starts.




To see TLP's extended status information, please run the following
command in the terminal:


sudo tlp-stat

Please read more about TLP here.





Other proven effecctive ways that could be done together with TLP are:



  • Disable the discrete GPU and use the onboard / integrated GPU. This might reduce the graphics performance but will save power. Please pay attention that if you decide to disable the discrete GPU, you might run into video drivers issues so be careful with this one.



  • Follow the Use less power and improve battery life in the official Ubuntu documentation.




[#2058] Friday, November 12, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ainubt

Total Points: 496
Total Questions: 98
Total Answers: 126

Location: Sao Tome and Principe
Member since Wed, Dec 21, 2022
1 Year ago
;