ubuntu set up 7 - power
https://askubuntu.com/questions/1078939/ubuntu-18-04-battery-life
http://tipsonubuntu.com/2018/11/18/quick-tip-improve-battery-life-ubuntu-18-04-higher/
This is how I get the best battery life with my Dell XPS 15 9570 (nvidia graphics) on any Ubuntu 18.04+ based system (Elementary OS, Mint, etc.)
Install packages:
sudo apt-get install tlp powertopEnable tlp:
sudo tlp startCheck that it's running:
sudo tlp-stat -sCheck battery drain watts with AC disconnected and most apps and browser tabs closed (give it a few moments to stabilise):
sudo powertopPress ESC to exit (it takes a few seconds).
http://tipsonubuntu.com/2018/11/18/quick-tip-improve-battery-life-ubuntu-18-04-higher/
[Quick Tip] Improve Battery Life in Ubuntu 18.04 / Higher
For laptop users who want to get better battery life, besides using a lightweight desktop environment, you can use power management tool called TLP.
TLP brings you the benefits of advanced power management for Linux without the need to understand every technical detail. TLP comes with a default configuration already optimized for battery life, so you may just install and forget it. Nevertheless TLP is highly customizable to fulfil your specific requirements.
How to Install TLP in Ubuntu:
1. TLP is available in Ubuntu universe repository. Simply open terminal (Ctrl+Alt+T) from application launcher.
2. Then run command to install the tool:
sudo apt install tlpType user password (no asterisks feedback) when it prompts and hit Enter.
For lazy men, you’re done as the tool comes with a default configuration already optimized for battery life.
Install graphical UI for TLP:
To fulfil your specific requirements, there’s a GTK user interface called TLPUI which makes it easy to change the configuration.
![]()
1. To install the tool, open terminal (Ctrl+Alt+T) and run command to add PPA:
sudo add-apt-repository ppa:linuxuprising/apps
Type user password (no visual feedback) when it asks and hit Enter to continue.
2. Then install TLPUI via command:
sudo apt install tlpui
3. (OPTIONAL) To remove the tool, run command:
sudo apt remove --autoremove tlpuiAnd go to Software & Updates -> Other Software to remove the PPA:








浙公网安备 33010602011771号