Difference between revisions of "Power Management"
Views
Actions
Namespaces
Variants
Tools
→grammer and formatting
imported>Aaditya |
imported>Aaditya |
||
Line 6: | Line 6: | ||
TLP can be used for automatic power management, as explained in the following quote from their website: | TLP can be used for automatic power management, as explained in the following quote from their website: | ||
<blockquote> | <blockquote>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. | ||
All TLP settings are stored in the config file /etc/default/tlp. As the default configuration already provides for optimized battery saving, in many cases there is no immediate need to change it. | All TLP settings are stored in the config file /etc/default/tlp. As the default configuration already provides for optimized battery saving, in many cases there is no immediate need to change it. | ||
TLP is a pure command line tool with automated background tasks. | TLP is a pure command line tool with automated background tasks. It does not contain a GUI.</blockquote> | ||
== How to Install TLP == | == How to Install TLP == | ||
Line 57: | Line 57: | ||
''laptop-mode-tools'' automatically configures some settings for you in order to optimize your laptop's battery life. | ''laptop-mode-tools'' automatically configures some settings for you in order to optimize your laptop's battery life. | ||
== | == Laptop-Mode-Tools Configuration == | ||
For | For configuration, the file to edit is '''/etc/laptop-mode/laptop-mode.conf''' (primary configuration file) | ||
The individual kernel modules can be configured from the configuration files present in '''/etc/laptop-mode/conf.d/''' | The individual kernel modules can be configured from the configuration files present in '''/etc/laptop-mode/conf.d/''' | ||
Line 71: | Line 71: | ||
The Intel pstate driver automatically handles CPU frequency scaling according to system load. | The Intel pstate driver automatically handles CPU frequency scaling according to system load. | ||
Note that the Intel Pstate works only with kernels >= 3.9, and kernel 3.11 is recommended. | Note that the Intel Pstate works only with kernels >= 3.9, and kernel 3.11+ is recommended. | ||
Primary supported processor families are Intel Sandy Bridge (also known as ''2nd generation'' of i3/5/7 processors) and up. | |||
The Intel Thermal Daemon (thermald) can be installed to automatically manage the CPU | The Intel Thermal Daemon (thermald) can be installed to automatically manage the CPU temperature. | ||
To install it, following command can be used: | |||
sudo pacman -S thermald | sudo pacman -S thermald | ||
After installing it needs to be configured to automatically start at boot: | After installing it needs to be configured to automatically start at boot in order to work: | ||
sudo systemctl enable thermald | sudo systemctl enable thermald | ||
Line 87: | Line 87: | ||
==For AMD Machines== | ==For AMD Machines== | ||
With Linux Kernel 3.11, AMD introduced Dyanamic Power Management (DPM) for | With Linux Kernel 3.11+, AMD introduced '''Dyanamic Power Management (DPM)''' for their ''free (open-source) GPU drivers'', which can lead to lower power consumption and better operating temperatures. | ||
To enable it, | To enable it, edit the {{ic|/etc/default/grub}} file: | ||
sudo gedit /etc/default/grub | sudo gedit /etc/default/grub | ||
add/change the line | and add/change the line: | ||
''GRUB_CMDLINE_LINUX=""'' to | ''GRUB_CMDLINE_LINUX=""'' to | ||
''GRUB_CMDLINE_LINUX="radeon.dpm=1"'' | ''GRUB_CMDLINE_LINUX="radeon.dpm=1"'' | ||
Then regenerate the grub configuration file: | |||
sudo grub-mkconfig -o /boot/grub/grub.cfg | sudo grub-mkconfig -o /boot/grub/grub.cfg | ||
Line 105: | Line 107: | ||
It can be used to check the power consumption. | It can be used to check the power consumption. | ||
It can be installed as- | |||
sudo pacman -S powertop | sudo pacman -S powertop | ||
To run PowerTop to analyze power consumption: | |||
sudo powertop | sudo powertop | ||
Line 116: | Line 118: | ||
sudo powertop --html | sudo powertop --html | ||
For more details, see [http://wiki.manjaro.org/index.php?title=PowerTOP_to_Optimise_Laptop_Power_Consumption Powertop : Manjaro Wiki] | For more details, see [http://wiki.manjaro.org/index.php?title=PowerTOP_to_Optimise_Laptop_Power_Consumption Powertop : Manjaro Wiki] |