Tlp: Difference between revisions

From wikinotes
(Created page with "tlp helps control/reduce your power consumption. = Documentation = <blockquote> {| class="wikitable" |- | official docs || https://linrunner.de/tlp/ |- |} </blockquote><!-- D...")
 
No edit summary
Line 9: Line 9:
|}
|}
</blockquote><!-- Documentation -->
</blockquote><!-- Documentation -->
= Locations =
<blockquote>
{| class="wikitable"
|-
| <code>/etc/tlp.conf</code> || config
|-
|}
</blockquote><!-- Locations -->


= Install =
= Install =
Line 23: Line 32:
</source>
</source>
</blockquote><!-- Install -->
</blockquote><!-- Install -->
= Usage =
<blockquote>
tlp runs in the background, but you can collect stats
<syntaxhighlight lang="bash">
tlp-stat  # show active settings
</syntaxhighlight>
</blockquote><!-- Usage -->


= Configuration =
= Configuration =
<blockquote>
<blockquote>
Example
<syntaxhighlight lang="conf">
# /etc/tlp.conf


CPU_SCALING_GOVERNOR_ON_AC=powersave
CPU_SCALING_GOVERNOR_ON_BAT=powersave
</syntaxhighlight>
</blockquote><!-- Configuration -->
</blockquote><!-- Configuration -->

Revision as of 00:16, 7 March 2022

tlp helps control/reduce your power consumption.

Documentation

official docs https://linrunner.de/tlp/

Locations

/etc/tlp.conf config

Install

# tlp manages regular resources (cpu, memory, wifi, lan, ...)
sudo pacman -S tlp
sudo systemctl enable tlp
sudo systemctl start tlp

# tlp-rdw (optional) provides hooks for you to disable radio items
# (for example, you may want to disable wifi if laptop docked)
sudo pacman -S tlp-rdw

Usage

tlp runs in the background, but you can collect stats

tlp-stat  # show active settings

Configuration

Example

# /etc/tlp.conf

CPU_SCALING_GOVERNOR_ON_AC=powersave
CPU_SCALING_GOVERNOR_ON_BAT=powersave