Difference between revisions of "Power Management"

imported>Aaditya
imported>Aaditya
Line 1: Line 1:


Power Saving Techniques can be used on Laptops to maximize the Battery Life and minimize the heat produced, and conserve energy.
Power Saving Techniques can be used on Laptops to maximize the battery life, minimize the heat produced, and conserve energy.


= Power Saving using TLP =
= Power Saving using TLP =
Line 11: Line 11:


TLP is a pure command line tool with automated background tasks. ''It does not contain a GUI''.'</blockquote>
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 ==


{{warning|TLP can conflict with laptop-mode-tools, so if you have laptop-mode-tools installed and want to install TLP, then uninstall laptop-mode-tools first!}}
{{warning|TLP can conflict with laptop-mode-tools, so if you have laptop-mode-tools installed and want to install TLP, then uninstall laptop-mode-tools first!}}


TLP is available from the Manjaro repositories, can be installed by entering the following command into your terminal:
TLP is available from the Manjaro repositories, can be installed by entering the following command into your terminal:
Line 23: Line 21:


''iw'' and  ''smartmontools'' are among the optional dependencies.
''iw'' and  ''smartmontools'' are among the optional dependencies.


After installation, TLP then needs to be configured to be run automatically when you start up your computer. To do so, enter the following commands into your terminal:
After installation, TLP then needs to be configured to be run automatically when you start up your computer. To do so, enter the following commands into your terminal:
Line 44: Line 41:
= An Alternative to TLP for Laptop Users =
= An Alternative to TLP for Laptop Users =


{{warning|Again, TLP and laptop-mode-tools '''must not''' be installed together!}}
{{warning|TLP and laptop-mode-tools conflict with each other, hence only ''one'' of them can be installed at a time.}}
 


From the Arch Wiki:
From the Arch Wiki:


<blockquote>'Laptop Mode Tools is a laptop power saving package for Linux systems. It is the primary way to enable the Laptop Mode feature of the Linux kernel, which lets your hard drive spin down. In addition, it allows you to tweak a number of other power-related settings using a simple configuration file.'</blockquote>
<blockquote>'Laptop Mode Tools is a laptop power saving package for Linux systems. It is the primary way to enable the Laptop Mode feature of the Linux kernel, which lets your hard drive spin down. In addition, it allows you to tweak a number of other power-related settings using a simple configuration file.'</blockquote>


To install '''laptop-mode-tools''', enter the following command into your terminal:
To install '''laptop-mode-tools''', enter the following command into your terminal:


  sudo pacman -S laptop-mode-tools
  sudo pacman -S laptop-mode-tools


Once installed, to enable ''laptop-mode-tools'' to start automatically every time you boot your computer, enter the following into your terminal:
Once installed, to enable ''laptop-mode-tools'' to start automatically every time you boot your computer, enter the following into your terminal:


  sudo systemctl enable laptop-mode.service
  sudo systemctl enable laptop-mode.service


''Laptop-mode-tools'' will automatically configures some settings for you in order to optimise your laptop's battery life.
''Laptop-mode-tools'' will automatically configures some settings for you in order to optimise your laptop's battery life.


== Manually Setting Laptop-Mode-Tools Configuration ==
== Manually Setting Laptop-Mode-Tools Configuration ==
Line 70: Line 62:


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/'''


= Minimizing Laptop/Desktop temperatures =
= Minimizing Laptop/Desktop temperatures =
Line 130: Line 121:


Following is a link to this page's forum counterpart where you can post any related feedback: [http://forum.manjaro.org/index.php?topic=6867.0]
Following is a link to this page's forum counterpart where you can post any related feedback: [http://forum.manjaro.org/index.php?topic=6867.0]


Credit goes to LiberteCzech for posting about TLP, and to Arup for posting about Thermald, and to the Arch Wiki for their documentation, especially on Laptop-Mode-Tools
Credit goes to LiberteCzech for posting about TLP, and to Arup for posting about Thermald, and to the Arch Wiki for their documentation, especially on Laptop-Mode-Tools


''For more configuration'', see [[Optimized_power_settings]].
''For more configuration'', see [[Optimized_power_settings]].
Anonymous user