Does anyone know how I can change the power profile on TLP from “balanced” to “low-power” so that it will survive reboot?

lnxtx
link
fedilink
English
69M

There is an information in the /etc/tlp.conf file:

# Select platform profile:
#   performance, balanced, low-power.
# Controls system operating characteristics around power/performance levels,
# thermal and fan speed. Values are given in order of increasing power saving.
# Note: check the output of tlp-stat -p to determine availability on your
# hardware and additional profiles such as: balanced-performance, quiet, cool.
# Default: 
# !!!!!!!! Warning !!!!!!!!!
# When use power-profiles-daemon, please use below items in
# /var/lib/power-profiles-daemon/state.ini
#    1) "balanced" is default mode
#    2) "power-saver" mode means "low-power" in ppd
#    3) "performance" mode
# !!!!!!!!!!!!!!!!!!!!!!!!!!

#PLATFORM_PROFILE_ON_AC=performance
#PLATFORM_PROFILE_ON_BAT=low-power

So, it depends if your distro uses power-profiles-daemon or if your desktop environment controls power profiles.

hedge
creator
link
fedilink
English
19M

I’m on Linux Mint Cinnamon 21.2; power-profiles-daemon does not seem to be installed on my system 🤔. Typing cat /sys/firmware/acpi/platform_profile in the terminal comes up as “low-power”, which is what I switched it to from “balanced” by hitting Fn+l. How do I get this setting to survive reboot? Do I uncomment “#PLATFORM_PROFILE_ON_BAT=low-power” or is there another way?

lnxtx
link
fedilink
English
29M

Do you want low-power setting only on a battery?

Create, for example, /etc/tlp.d/99-custom.conf file, with content:

PLATFORM_PROFILE_ON_BAT=low-power

Reload the settings: tlp start

And make sure the tlp service is enabled.

hedge
creator
link
fedilink
English
29M

Do you want low-power setting only on a battery?

Yes, that’s what I’m aiming for. I’ve got a thinkpad x1 carbon 10th gen which is known for its not-so-great battery life, and so I’m trying to use the low-power setting for battery-only to see if that helps. If that doesn’t work I might try auto-cpufreq (do you know anything about that?) In any event, thanks very much for your response, I’ll create the .conf file and see if it works. 🙂👍

lnxtx
link
fedilink
English
29M

TLP can also control CPU clock.

I’m using these settings on my trusty X260:

CPU_SCALING_GOVERNOR_ON_AC=performance
CPU_SCALING_GOVERNOR_ON_BAT=powersave

CPU_MIN_PERF_ON_AC=0
CPU_MAX_PERF_ON_AC=100

CPU_MIN_PERF_ON_BAT=0
CPU_MAX_PERF_ON_BAT=30

CPU_BOOST_ON_AC=1
CPU_BOOST_ON_BAT=0

CPU_HWP_DYN_BOOST_ON_AC=1
CPU_HWP_DYN_BOOST_ON_BAT=0

SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1

USB_EXCLUDE_WWAN=1

hedge
creator
link
fedilink
English
29M

deleted by creator

Create a post

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

  • 1 user online
  • 144 users / day
  • 275 users / week
  • 709 users / month
  • 2.87K users / 6 months
  • 1 subscriber
  • 3.09K Posts
  • 64.9K Comments
  • Modlog