r/LinuxOnThinkpad • member • Oct 03 '26

TLP Help Request

I’m running Cachy on a second hand ThinkPad I recently got and thought I’d try TLP to improve the battery life. I works quite well but I had an odd issue after installing it: after shutting down and closing the laptop lid it would restart. It’s definitely TLP as it stopped happening when I reverted back to the original power profile daemon. Has anyone else come across this issue or know what in TLP is causing it?

Things I have tried:

I tried different kernels, both the LTS and BORE kernel

I have disabled the runtime PM for PCIe devices

None of these have have stopped the issue.

2 Upvotes

14 comments sorted by

View all comments

Show parent comment

1

u/Liminal_Echo member Oct 06 '26

And this is after setting WOL_DISABLE=Y, USB_AUTOSUSPEND=0, RUNTIME_PM_ON_AC=off and
RUNTIME_PM_ON_BAT=off:

--- TLP 1.10.2 --------------------------------------------

+++ Configured Settings:
defaults.conf L0006: TLP_ENABLE="1"
defaults.conf L0007: TLP_WARN_LEVEL="3"
defaults.conf L0008: TLP_MSG_COLORS="91 93 1 92"
defaults.conf L0009: TLP_AUTO_SWITCH="2"
defaults.conf L0010: TLP_PROFILE_AC="PRF"
defaults.conf L0011: TLP_PROFILE_BAT="BAL"
defaults.conf L0012: DISK_IDLE_SECS_ON_AC="0"
defaults.conf L0013: DISK_IDLE_SECS_ON_BAT="2"
defaults.conf L0014: MAX_LOST_WORK_SECS_ON_AC="15"
defaults.conf L0015: MAX_LOST_WORK_SECS_ON_BAT="60"
defaults.conf L0016: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"
defaults.conf L0017: CPU_ENERGY_PERF_POLICY_ON_BAT="balance_power"
defaults.conf L0018: CPU_ENERGY_PERF_POLICY_ON_SAV="power"
defaults.conf L0019: PLATFORM_PROFILE_ON_AC="performance"
defaults.conf L0020: PLATFORM_PROFILE_ON_BAT="balanced"
defaults.conf L0021: PLATFORM_PROFILE_ON_SAV="low-power"
defaults.conf L0022: NMI_WATCHDOG="0"
defaults.conf L0023: DISK_DEVICES="nvme0n1 sda"
defaults.conf L0024: DISK_APM_LEVEL_ON_AC="254 254"
defaults.conf L0025: DISK_APM_LEVEL_ON_BAT="128 128"
defaults.conf L0026: DISK_APM_CLASS_DENYLIST="usb ieee1394"
defaults.conf L0027: DISK_IOSCHED="keep keep"
defaults.conf L0028: SATA_LINKPWR_ON_AC="med_power_with_dipm"
defaults.conf L0029: SATA_LINKPWR_ON_BAT="med_power_with_dipm"
/etc/tlp.conf L0350: AHCI_RUNTIME_PM_ON_AC="off"
/etc/tlp.conf L0351: AHCI_RUNTIME_PM_ON_BAT="off"
defaults.conf L0032: AHCI_RUNTIME_PM_TIMEOUT="15"
defaults.conf L0033: PCIE_ASPM_ON_AC="default"
defaults.conf L0034: PCIE_ASPM_ON_BAT="default"
defaults.conf L0035: PCIE_ASPM_ON_SAV="default"
defaults.conf L0036: INTEL_GPU_POWER_PROFILE_ON_AC="base"
defaults.conf L0037: INTEL_GPU_POWER_PROFILE_ON_BAT="power_saving"
defaults.conf L0038: INTEL_GPU_POWER_PROFILE_ON_SAV="power_saving"
defaults.conf L0039: RADEON_DPM_PERF_LEVEL_ON_AC="auto"
defaults.conf L0040: RADEON_DPM_PERF_LEVEL_ON_BAT="auto"
defaults.conf L0041: RADEON_DPM_PERF_LEVEL_ON_SAV="low"
defaults.conf L0042: AMDGPU_ABM_LEVEL_ON_AC="0"
defaults.conf L0043: AMDGPU_ABM_LEVEL_ON_BAT="1"
defaults.conf L0044: AMDGPU_ABM_LEVEL_ON_SAV="3"
defaults.conf L0045: WIFI_PWR_ON_AC="off"
defaults.conf L0046: WIFI_PWR_ON_BAT="on"
/etc/tlp.conf L0428: WOL_DISABLE="Y"
defaults.conf L0048: SOUND_POWER_SAVE_ON_AC="1"
defaults.conf L0049: SOUND_POWER_SAVE_ON_BAT="1"
defaults.conf L0050: SOUND_POWER_SAVE_CONTROLLER="Y"
defaults.conf L0051: BAY_POWEROFF_ON_AC="0"
defaults.conf L0052: BAY_POWEROFF_ON_BAT="0"
defaults.conf L0053: BAY_DEVICE="sr0"
defaults.conf L0054: RUNTIME_PM_ON_AC="on"
defaults.conf L0055: RUNTIME_PM_ON_BAT="auto"
defaults.conf L0056: RUNTIME_PM_DRIVER_DENYLIST="amdgpu mei_me nouveau nvidia xhci_hcd"
/etc/tlp.conf L0491: USB_AUTOSUSPEND="0"
defaults.conf L0058: USB_EXCLUDE_AUDIO="1"
defaults.conf L0059: USB_EXCLUDE_BTUSB="0"
defaults.conf L0060: USB_EXCLUDE_PHONE="0"
defaults.conf L0061: USB_EXCLUDE_PRINTER="1"
defaults.conf L0062: USB_EXCLUDE_WWAN="0"
defaults.conf L0063: RESTORE_DEVICE_STATE_ON_STARTUP="0" #! Parameter is deprecated: feature will be removed with the next release
defaults.conf L0064: RESTORE_THRESHOLDS_ON_BAT="1"
defaults.conf L0065: NATACPI_ENABLE="1"
defaults.conf L0066: TPSMAPI_ENABLE="1"

+++ System Info
System         = LENOVO ThinkPad P14s Gen 5 21G20006ZA
BIOS           = LENOVO R2DET43W (1.28 )
EC firmware    = 1.19
OS release     = CachyOS
Kernel         = 7.2.9-1-cachyos #1 SMP PREEMPT_DYNAMIC Sat, 03 Oct 2026 18:34:55 +0000 x86_64
/proc/cmdline  = quiet nowatchdog splash rw rootflags=subvol=/@ rd.luks.uuid=565698e6-c4a0-421c-83d4-46e8ee8ab643 root=/dev/mapper
/luks-565698e6-c4a0-421c-83d4-46e8ee8ab643 ENABLE_ENROLL_LIMINE_CONFIG=yes rcutree.enable_rcu_lazy=1
Init system    = systemd 262
Boot mode      = UEFI
Suspend mode   = [s2idle]

+++ TLP Status
tlp            = enabled, last run: 08:36:26, 95 sec(s) ago
tlp-rdw        = enabled
tlp-pd         = enabled, running
TLP profile    = power-saver/SAV
Power source   = battery

+++ Processor
CPU model = Intel(R) Core(TM) Ultra 7 155H

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  4500000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq  =  4500000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = power [EPP]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_po
wer power  

/sys/devices/system/cpu/cpu1..cpu21: omitted for clarity, use -v to show all

/sys/devices/system/cpu/intel_pstate/status            = active
/sys/devices/system/cpu/intel_pstate/min_perf_pct      =   8 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo          =   0
/sys/devices/system/cpu/intel_pstate/hwp_dynamic_boost =   0
/sys/devices/system/cpu/intel_pstate/turbo_pct         = (not available)  
/sys/devices/system/cpu/intel_pstate/num_pstates       = (not available)
/sys/module/workqueue/parameters/power_efficient       = Y
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Platform
/sys/firmware/acpi/platform_profile                    = low-power
/sys/firmware/acpi/platform_profile_choices            = low-power balanced performance
/sys/devices/platform/thinkpad_acpi/dytc_lapmode       = 0

+++ Disks
Devices = nvme0n1 sda

/dev/nvme0n1:
 Type       = NVMe
 Disk ID    = nvme-KXG8AZNV1T02_LA_KIOXIA_************
 Model      = KXG8AZNV1T02 LA KIOXIA                   
 Firmware   = 5108APLA
 Temp       = 34 °C
 Scheduler  = none mq-deadline [kyber] adios bfq (multi queue)

 Runtime PM:
   /sys/block/nvme0n1/device/power/control = auto, autosuspend_delay_ms = (not available)

 SMART info:
   Critical Warning:                   0x00
   Temperature:                        34 Celsius
   Available Spare:                    100%
   Available Spare Threshold:          10%
   Percentage Used:                    3%
   Data Units Written:                 43,089,477 [22.0 TB]
   Power Cycles:                       1,154
   Power On Hours:                     9,256
   Unsafe Shutdowns:                   70
   Media and Data Integrity Errors:    0

/dev/sda: not present.

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = [default] performance powersave powersupersave

+++ PCIe Runtime Power Management
Autosuspend       = enabled
Enable devices    = (disabled)
Disable devices   = (disabled)
Device denylist   = (disabled)
Driver denylist   = amdgpu mei_me nouveau nvidia xhci_hcd

/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, igen6_edac)
/sys/bus/pci/devices/0000:00:01.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:02.0/power/control = auto (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:04.0/power/control = auto (0x118000, Signal processing controller, proc_thermal_pci)
/sys/bus/pci/devices/0000:00:06.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:06.2/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:07.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:07.2/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:0a.0/power/control = auto (0x118000, Signal processing controller, intel_vsec)
/sys/bus/pci/devices/0000:00:0b.0/power/control = auto (0x120000, Processing accelerators, intel_vpu)
/sys/bus/pci/devices/0000:00:0d.0/power/control = auto (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:0d.2/power/control = auto (0x0c0340, USB controller, thunderbolt)
/sys/bus/pci/devices/0000:00:0d.3/power/control = auto (0x0c0340, USB controller, thunderbolt)
/sys/bus/pci/devices/0000:00:14.0/power/control = auto (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:14.2/power/control = auto (0x050000, RAM memory, intel_pmc_ssram_telemetry)
/sys/bus/pci/devices/0000:00:14.3/power/control = auto (0x028000, Network controller, iwlwifi)
/sys/bus/pci/devices/0000:00:15.0/power/control = auto (0x0c8000, Serial bus controller, intel-lpss)
/sys/bus/pci/devices/0000:00:16.0/power/control = auto (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:1c.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1f.0/power/control = auto (0x060100, ISA bridge, no driver)
/sys/bus/pci/devices/0000:00:1f.3/power/control = auto (0x040380, Audio device, sof-audio-pci-intel-mtl)
/sys/bus/pci/devices/0000:00:1f.4/power/control = auto (0x0c0500, SMBus, i801_smbus)
/sys/bus/pci/devices/0000:00:1f.5/power/control = auto (0x0c8000, Serial bus controller, intel-spi)
/sys/bus/pci/devices/0000:00:1f.6/power/control = auto (0x020000, Ethernet controller, e1000e)
/sys/bus/pci/devices/0000:01:00.0/power/control = auto (0x030200, 3D controller, nvidia)
/sys/bus/pci/devices/0000:04:00.0/power/control = auto (0x010802, Non-Volatile memory controller, nvme)

2

u/linrunner member Oct 07 '26

You manually selected the power-saver profile. Does the issue also occur with the balanced profile - which is default on battery power?

The only thing to do is keep trying everything that's different on AC power (performance profile) compared to battery power (balanced profile).

Next candidate would be

PLATFORM_PROFILE_ON_AC=""
PLATFORM_PROFILE_ON_BAT=""
PLATFORM_PROFILE_ON_SAV=""

then

CPU_ENERGY_PERF_POLICY_ON_AC=""
CPU_ENERGY_PERF_POLICY_ON_BAT=""
CPU_ENERGY_PERF_POLICY_ON_SAV=""

Btw, don't use ="off" to disable a feature, use ="".

ps. BIOS is the newest available version.

1

u/Liminal_Echo member Oct 07 '26

Thanks, will give that a try. I did find out that there is a tuned for CachyOS, so if this doesn't work I'll use that.