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

  •  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