Created
January 13, 2020 17:48
-
-
Save choeffer/484cb7140559f996df1e4600a8d1e9c5 to your computer and use it in GitHub Desktop.
Thinkpad e495 - Fedora 31 - kernel 5.4.8 - TLP battery thresholds stopped working after kernel update from kernel 5.3.x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- TLP 1.2.2 -------------------------------------------- | |
+++ Configured Settings: /etc/default/tlp | |
TLP_ENABLE=1 | |
START_CHARGE_THRESH_BAT0=45 | |
STOP_CHARGE_THRESH_BAT0=60 | |
NATACPI_ENABLE=1 | |
TPACPI_ENABLE=1 | |
TPSMAPI_ENABLE=1 | |
+++ System Info | |
System = LENOVO ThinkPad E495 20NECTO1WW | |
BIOS = R11ET31W (1.11 ) | |
Release = "Fedora release 31 (Thirty One)" | |
Kernel = 5.4.8-200.fc31.x86_64 #1 SMP Mon Jan 6 16:44:18 UTC 2020 x86_64 | |
/proc/cmdline = BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.4.8-200.fc31.x86_64 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap rd.lvm.lv=fedora_localhost-live/root rd.luks.uuid=luks-f49dd027-bae1-40db-ab41-20875fe4b990 rd.lvm.lv=fedora_localhost-live/swap rhgb quiet | |
Init system = systemd | |
Boot mode = UEFI | |
+++ TLP Status | |
State = enabled | |
RDW state = not installed | |
Last run = 18:48:05, 4 sec(s) ago | |
Mode = AC | |
Power source = AC | |
Notice: systemd-rfkill.socket is not masked -- invoke "systemctl mask systemd-rfkill.socket" to correct this! | |
+++ Processor | |
CPU model = AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx | |
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = acpi-cpufreq | |
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = ondemand | |
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = conservative userspace powersave ondemand performance schedutil | |
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 1400000 [kHz] | |
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 2100000 [kHz] | |
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies = 2100000 1700000 1400000 [kHz] | |
/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = acpi-cpufreq | |
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = ondemand | |
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = conservative userspace powersave ondemand performance schedutil | |
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 1400000 [kHz] | |
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 2100000 [kHz] | |
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies = 2100000 1700000 1400000 [kHz] | |
/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver = acpi-cpufreq | |
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = ondemand | |
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = conservative userspace powersave ondemand performance schedutil | |
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 1400000 [kHz] | |
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 2100000 [kHz] | |
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies = 2100000 1700000 1400000 [kHz] | |
/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = acpi-cpufreq | |
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = ondemand | |
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = conservative userspace powersave ondemand performance schedutil | |
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 1400000 [kHz] | |
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 2100000 [kHz] | |
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies = 2100000 1700000 1400000 [kHz] | |
/sys/devices/system/cpu/cpu4/cpufreq/scaling_driver = acpi-cpufreq | |
/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor = ondemand | |
/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_governors = conservative userspace powersave ondemand performance schedutil | |
/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq = 1400000 [kHz] | |
/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq = 2100000 [kHz] | |
/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies = 2100000 1700000 1400000 [kHz] | |
/sys/devices/system/cpu/cpu5/cpufreq/scaling_driver = acpi-cpufreq | |
/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor = ondemand | |
/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_governors = conservative userspace powersave ondemand performance schedutil | |
/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq = 1400000 [kHz] | |
/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq = 2100000 [kHz] | |
/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_frequencies = 2100000 1700000 1400000 [kHz] | |
/sys/devices/system/cpu/cpu6/cpufreq/scaling_driver = acpi-cpufreq | |
/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor = ondemand | |
/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_governors = conservative userspace powersave ondemand performance schedutil | |
/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq = 1400000 [kHz] | |
/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq = 2100000 [kHz] | |
/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_frequencies = 2100000 1700000 1400000 [kHz] | |
/sys/devices/system/cpu/cpu7/cpufreq/scaling_driver = acpi-cpufreq | |
/sys/devices/system/cpu/cpu7/cpufreq/scaling_governor = ondemand | |
/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_governors = conservative userspace powersave ondemand performance schedutil | |
/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq = 1400000 [kHz] | |
/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq = 2100000 [kHz] | |
/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_frequencies = 2100000 1700000 1400000 [kHz] | |
/sys/devices/system/cpu/cpufreq/boost = 1 | |
x86_energy_perf_policy: unsupported CPU. | |
/sys/module/workqueue/parameters/power_efficient = N | |
/proc/sys/kernel/nmi_watchdog = 1 | |
+++ Undervolting | |
PHC kernel not available. | |
+++ Temperatures | |
/proc/acpi/ibm/thermal = 48 0 0 0 0 0 0 0 [°C] | |
/proc/acpi/ibm/fan = 0 [/min] | |
+++ File System | |
/proc/sys/vm/laptop_mode = 0 | |
/proc/sys/vm/dirty_writeback_centisecs = 1500 | |
/proc/sys/vm/dirty_expire_centisecs = 1500 | |
/proc/sys/vm/dirty_ratio = 20 | |
/proc/sys/vm/dirty_background_ratio = 10 | |
+++ Storage Devices | |
Devices = nvme0n1 sda (default) | |
/dev/nvme0n1: | |
Type = NVMe | |
Model = SAMSUNG MZVLB512HBJQ-000L7 | |
Firmware = 4M2QEXF7 | |
Scheduler = [none] mq-deadline kyber bfq (multi queue) | |
Runtime PM: control = auto, autosuspend_delay_ms = (not available) | |
/dev/sda: not present. | |
+++ AHCI Link Power Management (ALPM) | |
No AHCI-enabled host controller detected. | |
+++ Wireless | |
bluetooth = on | |
wifi = on | |
wwan = none (no device) | |
hci0(btusb) : bluetooth, not connected | |
wlp4s0(rtw_pci) : wifi, connected, power management = on | |
+++ Audio | |
/sys/module/snd_hda_intel/parameters/power_save = 1 | |
/sys/module/snd_hda_intel/parameters/power_save_controller = Y | |
+++ PCIe Active State Power Management | |
/sys/module/pcie_aspm/parameters/policy = default (using bios preferences) | |
+++ Runtime Power Management | |
Device blacklist = (not configured) | |
Driver blacklist = amdgpu mei_me nouveau nvidia pcieport radeon (default) | |
/sys/bus/pci/devices/0000:00:00.0/power/control = on (0x060000, Host bridge, no driver) | |
/sys/bus/pci/devices/0000:00:00.2/power/control = on (0x080600, IOMMU, no driver) | |
/sys/bus/pci/devices/0000:00:01.0/power/control = on (0x060000, Host bridge, no driver) | |
/sys/bus/pci/devices/0000:00:01.1/power/control = auto (0x060400, PCI bridge, pcieport) | |
/sys/bus/pci/devices/0000:00:01.2/power/control = auto (0x060400, PCI bridge, pcieport) | |
/sys/bus/pci/devices/0000:00:01.3/power/control = auto (0x060400, PCI bridge, pcieport) | |
/sys/bus/pci/devices/0000:00:01.6/power/control = on (0x060400, PCI bridge, pcieport) | |
/sys/bus/pci/devices/0000:00:08.0/power/control = on (0x060000, Host bridge, no driver) | |
/sys/bus/pci/devices/0000:00:08.1/power/control = auto (0x060400, PCI bridge, pcieport) | |
/sys/bus/pci/devices/0000:00:14.0/power/control = on (0x0c0500, SMBus, piix4_smbus) | |
/sys/bus/pci/devices/0000:00:14.3/power/control = on (0x060100, ISA bridge, no driver) | |
/sys/bus/pci/devices/0000:00:18.0/power/control = on (0x060000, Host bridge, no driver) | |
/sys/bus/pci/devices/0000:00:18.1/power/control = on (0x060000, Host bridge, no driver) | |
/sys/bus/pci/devices/0000:00:18.2/power/control = on (0x060000, Host bridge, no driver) | |
/sys/bus/pci/devices/0000:00:18.3/power/control = on (0x060000, Host bridge, k10temp) | |
/sys/bus/pci/devices/0000:00:18.4/power/control = on (0x060000, Host bridge, no driver) | |
/sys/bus/pci/devices/0000:00:18.5/power/control = on (0x060000, Host bridge, no driver) | |
/sys/bus/pci/devices/0000:00:18.6/power/control = on (0x060000, Host bridge, no driver) | |
/sys/bus/pci/devices/0000:00:18.7/power/control = on (0x060000, Host bridge, no driver) | |
/sys/bus/pci/devices/0000:01:00.0/power/control = on (0x010802, Non-Volatile memory controller, nvme) | |
/sys/bus/pci/devices/0000:02:00.0/power/control = on (0x020000, Ethernet controller, r8169) | |
/sys/bus/pci/devices/0000:03:00.0/power/control = on (0xff0000, Unassigned class [ff00], rtsx_pci) | |
/sys/bus/pci/devices/0000:04:00.0/power/control = on (0x028000, Network controller, rtw_pci) | |
/sys/bus/pci/devices/0000:05:00.0/power/control = on (0x030000, VGA compatible controller, amdgpu) | |
/sys/bus/pci/devices/0000:05:00.1/power/control = auto (0x040300, Audio device, snd_hda_intel) | |
/sys/bus/pci/devices/0000:05:00.2/power/control = on (0x108000, Encryption controller, no driver) | |
/sys/bus/pci/devices/0000:05:00.3/power/control = on (0x0c0330, USB controller, xhci_hcd) | |
/sys/bus/pci/devices/0000:05:00.4/power/control = on (0x0c0330, USB controller, xhci_hcd) | |
/sys/bus/pci/devices/0000:05:00.5/power/control = on (0x048000, Multimedia controller, no driver) | |
/sys/bus/pci/devices/0000:05:00.6/power/control = on (0x040300, Audio device, snd_hda_intel) | |
+++ USB | |
Autosuspend = disabled | |
Device whitelist = (not configured) | |
Device blacklist = (not configured) | |
Bluetooth blacklist = disabled | |
Phone blacklist = disabled | |
WWAN blacklist = enabled | |
Bus 004 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub) | |
Bus 003 Device 003 ID 5986:2113 control = auto, autosuspend_delay_ms = 2000 -- Acer, Inc Integrated Camera (uvcvideo) | |
Bus 003 Device 002 ID 0bda:b023 control = auto, autosuspend_delay_ms = 2000 -- Realtek Semiconductor Corp. Bluetooth Radio (btusb) | |
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub) | |
Bus 002 Device 010 ID 17ef:3082 control = on, autosuspend_delay_ms = 2000 -- Lenovo (cdc_ether) | |
Bus 002 Device 009 ID 17ef:307f control = auto, autosuspend_delay_ms = 0 -- Lenovo USB3.1 Hub (hub) | |
Bus 002 Device 008 ID 17ef:307f control = auto, autosuspend_delay_ms = 0 -- Lenovo USB3.1 Hub (hub) | |
Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub) | |
Bus 001 Device 019 ID 2109:8818 control = on, autosuspend_delay_ms = 2000 -- VIA Labs, Inc. (no driver) | |
Bus 001 Device 018 ID 062a:4102 control = on, autosuspend_delay_ms = 2000 -- MosArt Semiconductor Corp. (usbhid) | |
Bus 001 Device 023 ID 2109:8818 control = on, autosuspend_delay_ms = 2000 -- VIA Labs, Inc. (no driver) | |
Bus 001 Device 022 ID 17ef:3083 control = on, autosuspend_delay_ms = 2000 -- Lenovo (snd-usb-audio, usbhid) | |
Bus 001 Device 020 ID 17ef:3081 control = auto, autosuspend_delay_ms = 0 -- Lenovo USB2.0 Hub (hub) | |
Bus 001 Device 017 ID 17ef:3080 control = auto, autosuspend_delay_ms = 0 -- Lenovo USB2.0 Hub (hub) | |
Bus 001 Device 016 ID 17ef:3080 control = auto, autosuspend_delay_ms = 0 -- Lenovo USB2.0 Hub (hub) | |
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub) | |
+++ Battery Features: Charge Thresholds and Recalibrate | |
natacpi = active (data, thresholds) | |
tpacpi-bat = inactive (kernel module 'acpi_call' not installed) | |
tp-smapi = inactive (ThinkPad not supported) | |
+++ ThinkPad Battery Status: BAT0 (Main / Internal) | |
/sys/class/power_supply/BAT0/manufacturer = SMP | |
/sys/class/power_supply/BAT0/model_name = 01AV446 | |
/sys/class/power_supply/BAT0/cycle_count = 5 | |
/sys/class/power_supply/BAT0/energy_full_design = 45280 [mWh] | |
/sys/class/power_supply/BAT0/energy_full = 48680 [mWh] | |
/sys/class/power_supply/BAT0/energy_now = 48130 [mWh] | |
/sys/class/power_supply/BAT0/power_now = 0 [mW] | |
/sys/class/power_supply/BAT0/status = Unknown (threshold effective) | |
/sys/class/power_supply/BAT0/charge_start_threshold = 45 [%] | |
/sys/class/power_supply/BAT0/charge_stop_threshold = 60 [%] | |
Charge = 98.9 [%] | |
Capacity = 107.5 [%] | |
+++ Recommendations | |
* Install acpi_call kernel module for ThinkPad battery recalibration | |
* Install smartmontools for disk drive health info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment