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

  •  hedge   ( @hedge@beehaw.org ) OP
    link
    fedilink
    English
    111 months ago

    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   ( @lnxtx@feddit.nl ) 
      link
      fedilink
      English
      211 months ago

      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   ( @hedge@beehaw.org ) OP
        link
        fedilink
        English
        211 months ago

        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   ( @lnxtx@feddit.nl ) 
          link
          fedilink
          English
          211 months ago

          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