Difference between revisions of "Power Management"
Views
Actions
Namespaces
Variants
Tools
no edit summary
imported>Aaditya |
imported>Verityproductions |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
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 and minimize the heat produced, and conserve energy. | ||
= Power Saving using TLP = | |||
TLP can be used for automatic power management | TLP can be used for automatic power management, as explained in the following quote from their website: | ||
<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. | |||
<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. ''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 == | ||
TLP is | {{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 form the '''[[Arch User Repository]''', and where access has been enabled, can be installed by entering the following command into your terminal: | |||
yaourt -S tlp | yaourt -S tlp | ||
After | |||
After installation, TLP then needs to be configured to be run automatcially when you start up your computer. To do so, enter the following commands into your terminal: | |||
systemctl enable tlp | systemctl enable tlp | ||
systemctl enable tlp-sleep.service | systemctl enable tlp-sleep.service | ||
= | Now TLP will automatically start every time you boot your computer. | ||
= An Alternative to TLP for Laptop Users = | |||
TLP | {{warning|Again, TLP and laptop-mode-tools '''must not''' be installed together!}} | ||
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> | |||
To install laptop-mode-tools | 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: | |||
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. | |||
= Manually Setting Laptop-Mode-Tools Configuration = | |||
For user 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/''' | |||
Line 89: | Line 90: | ||
sudo gedit /etc/default/grub | sudo gedit /etc/default/grub | ||
add/change the line | |||
'''GRUB_CMDLINE_LINUX=""''' to | '''GRUB_CMDLINE_LINUX=""''' to | ||
'''GRUB_CMDLINE_LINUX="radeon.dpm=1"''' | '''GRUB_CMDLINE_LINUX="radeon.dpm=1"''' | ||
and generate grub.cfg | |||
grub-mkconfig -o /boot/grub/grub.cfg | |||
== PowerTOP == | == PowerTOP == |