Guide: Replacing Power Profiles with TLP to improve battery life #3907
pomartel
started this conversation in
Show and tell
Replies: 3 comments 4 replies
-
|
Got this error when running sudo pacman -S tlp tlp-pd error: target not found: tlp-pd |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
@pomartel it would be great to get this shipped out-of-the box. Are you motivated a PR? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Sorry for the dumb question, I am new to linux. In step 3, when you say both should be active, do you mean running or enabled? I run systemctl status tlp, and the "Active:", says inactive(dead), but in its "Loaded:", it says enabled. The other is running fine. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This guide explains how to fully replace power-profiles-daemon with TLP + tlp-pd in Omarchy, while preserving compatibility with tools and scripts that expect
powerprofilesctl.What is TLP : https://linrunner.de/tlp/introduction.html
Why use TLP instead of power-profiles-daemon? https://linrunner.de/tlp/faq/ppd.html
One thing I really like is that you get automatic profile switching out of the box. So if you unplug your laptop, the profile switches to save battery life. There is also lot of possible customization but this guide only covers the initial installation.
1. Stop and remove
power-profiles-daemonPower-profiles-deamon can conflict with TLP and needs to be stopped before proceeding.
Disable and remove the existing power profile service:
2. Install TLP and the Power Profiles compatibility layer
Install TLP and its related components:
What each component does:
3. Enable required services
Enable TLP and start the Power Profiles compatibility daemon:
Check status:
Both should be active.
4. Provide
powerprofilesctlcompatibilityOmarchy various scripts expect
powerprofilesctl.On Arch Linux, that binary is normally shipped with
power-profiles-daemon, so we replace it with a symlink totlpctlthat mimicspowerprofilesctlfunctionnalities.5. Apply TLP settings immediately
Start TLP manually to apply all power settings without rebooting:
Verify active configuration:
Verify that the power profiles are still available when you click the battery icon in the waybar.
You should be all set!
Beta Was this translation helpful? Give feedback.
All reactions