Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
tlp-stat BAT, AC form @Anonymo
--- TLP 1.3.0-beta.3 --------------------------------------------
+++ Configured Settings:
defaults.conf L0004: TLP_ENABLE="1"
defaults.conf L0005: TLP_PERSISTENT_DEFAULT="0"
defaults.conf L0006: DISK_IDLE_SECS_ON_AC="0"
defaults.conf L0007: DISK_IDLE_SECS_ON_BAT="2"
defaults.conf L0008: MAX_LOST_WORK_SECS_ON_AC="15"
defaults.conf L0009: MAX_LOST_WORK_SECS_ON_BAT="60"
defaults.conf L0010: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"
defaults.conf L0011: CPU_ENERGY_PERF_POLICY_ON_BAT="power"
defaults.conf L0012: SCHED_POWERSAVE_ON_AC="0"
defaults.conf L0013: SCHED_POWERSAVE_ON_BAT="1"
defaults.conf L0014: NMI_WATCHDOG="0"
defaults.conf L0015: DISK_DEVICES="nvme0n1 sda"
defaults.conf L0016: DISK_APM_LEVEL_ON_AC="254 254"
defaults.conf L0017: DISK_APM_LEVEL_ON_BAT="128 128"
defaults.conf L0018: DISK_IOSCHED="keep keep"
defaults.conf L0019: SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
defaults.conf L0020: SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
defaults.conf L0021: AHCI_RUNTIME_PM_TIMEOUT="15"
defaults.conf L0022: PCIE_ASPM_ON_AC="default"
defaults.conf L0023: PCIE_ASPM_ON_BAT="default"
defaults.conf L0024: RADEON_POWER_PROFILE_ON_AC="default"
defaults.conf L0025: RADEON_POWER_PROFILE_ON_BAT="default"
defaults.conf L0026: RADEON_DPM_PERF_LEVEL_ON_AC="auto"
defaults.conf L0027: RADEON_DPM_PERF_LEVEL_ON_BAT="auto"
defaults.conf L0028: WIFI_PWR_ON_AC="off"
defaults.conf L0029: WIFI_PWR_ON_BAT="on"
defaults.conf L0030: WOL_DISABLE="Y"
defaults.conf L0031: SOUND_POWER_SAVE_ON_AC="0"
defaults.conf L0032: SOUND_POWER_SAVE_ON_BAT="1"
defaults.conf L0033: SOUND_POWER_SAVE_CONTROLLER="Y"
defaults.conf L0034: BAY_POWEROFF_ON_AC="0"
defaults.conf L0035: BAY_POWEROFF_ON_BAT="0"
defaults.conf L0036: BAY_DEVICE="sr0"
defaults.conf L0037: RUNTIME_PM_ON_AC="on"
defaults.conf L0038: RUNTIME_PM_ON_BAT="auto"
defaults.conf L0039: RUNTIME_PM_DRIVER_BLACKLIST="amdgpu mei_me nouveau nvidia pcieport radeon"
defaults.conf L0040: USB_AUTOSUSPEND="1"
defaults.conf L0041: USB_BLACKLIST_BTUSB="0"
defaults.conf L0042: USB_BLACKLIST_PHONE="0"
defaults.conf L0043: USB_BLACKLIST_PRINTER="1"
defaults.conf L0044: USB_BLACKLIST_WWAN="0"
defaults.conf L0045: USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN="0"
defaults.conf L0046: RESTORE_DEVICE_STATE_ON_STARTUP="0"
defaults.conf L0047: RESTORE_THRESHOLDS_ON_BAT="0"
defaults.conf L0048: NATACPI_ENABLE="1"
defaults.conf L0049: TPACPI_ENABLE="1"
defaults.conf L0050: TPSMAPI_ENABLE="1"
/etc/tlp.conf L0424: START_CHARGE_THRESH_BAT0="75"
/etc/tlp.conf L0425: STOP_CHARGE_THRESH_BAT0="80"
+++ System Info
System = LENOVO ThinkPad T495 20NJ0006US
BIOS = R12ET47W(1.17 )
Kernel = 5.4.12-AMD #1 SMP PREEMPT Tue Jan 14 21:41:22 CET 2020 x86_64
/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-linux-amd root=UUID=8e9e6bd1-ba36-4b13-84b5-e0e9294412e4 rw loglevel=3 quiet
Init system = systemd
Boot mode = UEFI
************************************************************************************************************
+++ TLP Status
State = enabled
RDW state = not installed
Last run = 06:57:05 PM, 79 sec(s) ago
Mode = AC
Power source = AC
+++ Processor
CPU model = AMD Ryzen 7 PRO 3700U w/ Radeon Vega Mobile Gfx
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = schedutil
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance schedutil
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 2300000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies = 2300000 1700000 1400000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = schedutil
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance schedutil
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 2300000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies = 2300000 1700000 1400000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = schedutil
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance schedutil
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 2300000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies = 2300000 1700000 1400000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = schedutil
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance schedutil
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 2300000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies = 2300000 1700000 1400000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor = schedutil
/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_governors = performance schedutil
/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq = 2300000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies = 2300000 1700000 1400000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor = schedutil
/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_governors = performance schedutil
/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq = 2300000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_frequencies = 2300000 1700000 1400000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor = schedutil
/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_governors = performance schedutil
/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq = 2300000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_frequencies = 2300000 1700000 1400000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu7/cpufreq/scaling_governor = schedutil
/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_governors = performance schedutil
/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq = 2300000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_frequencies = 2300000 1700000 1400000 [kHz]
/sys/devices/system/cpu/cpufreq/boost = 1
Intel EPB: unsupported CPU.
/sys/module/workqueue/parameters/power_efficient = Y
/proc/sys/kernel/nmi_watchdog = 0
+++ Temperatures
/proc/acpi/ibm/thermal = 53 0 0 0 0 0 0 -128 0 0 66 0 0 0 0 0 [°C]
/proc/acpi/ibm/fan = 3100 [/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
/dev/nvme0n1:
Type = NVMe
Model = WDS100T3X0C-00SJG0
Firmware = 102000WD
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.
+++ Radeon Graphics
/sys/class/drm/card0/device/power_dpm_state = performance
/sys/class/drm/card0/device/power_dpm_force_performance_level = auto
+++ Wireless
bluetooth = on
wifi = on
wwan = none (no device)
hci0(btusb) : bluetooth, not connected
wlp1s0(iwlwifi) : wifi, not connected, power management = off
+++ Audio
/sys/module/snd_hda_intel/parameters/power_save = 0
/sys/module/snd_hda_intel/parameters/power_save_controller = N
+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = [default] performance powersave powersupersave (using BIOS preferences)
+++ Runtime Power Management
Device blacklist = (not configured)
Driver blacklist = amdgpu mei_me nouveau nvidia pcieport radeon
/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.2/power/control = on (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.4/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:01.6/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:01.7/power/control = auto (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 (0x028000, Network controller, iwlwifi)
/sys/bus/pci/devices/0000:02:00.0/power/control = on (0x010802, Non-Volatile memory controller, nvme)
/sys/bus/pci/devices/0000:03:00.0/power/control = on (0x020000, Ethernet controller, r8169)
/sys/bus/pci/devices/0000:03:00.1/power/control = on (0x070002, Serial controller, no driver)
/sys/bus/pci/devices/0000:03:00.2/power/control = on (0x070002, Serial controller, no driver)
/sys/bus/pci/devices/0000:03:00.3/power/control = on (0x0c0701, IPMI Interface, no driver)
/sys/bus/pci/devices/0000:03:00.4/power/control = on (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:04:00.0/power/control = on (0x020000, Ethernet controller, r8169)
/sys/bus/pci/devices/0000:05:00.0/power/control = on (0xff0000, Unassigned class [ff00], rtsx_pci)
/sys/bus/pci/devices/0000:06:00.0/power/control = on (0x030000, VGA compatible controller, amdgpu)
/sys/bus/pci/devices/0000:06:00.1/power/control = on (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:06:00.2/power/control = on (0x108000, Encryption controller, no driver)
/sys/bus/pci/devices/0000:06:00.3/power/control = on (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:06:00.4/power/control = on (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:06:00.5/power/control = on (0x048000, Multimedia controller, no driver)
/sys/bus/pci/devices/0000:06:00.6/power/control = on (0x040300, Audio device, snd_hda_intel)
+++ USB
Autosuspend = enabled
Device whitelist = (not configured)
Device blacklist = (not configured)
Bluetooth blacklist = disabled
Phone blacklist = disabled
WWAN blacklist = disabled
Bus 005 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
Bus 004 Device 005 ID 06cb:00bd control = auto, autosuspend_delay_ms = 2000 -- Synaptics, Inc. (no driver)
Bus 004 Device 004 ID 13d3:56a6 control = auto, autosuspend_delay_ms = 2000 -- IMC Networks (uvcvideo)
Bus 004 Device 003 ID 05e3:0610 control = auto, autosuspend_delay_ms = 0 -- Genesys Logic, Inc. 4-port hub (hub)
Bus 004 Device 002 ID 8087:0025 control = auto, autosuspend_delay_ms = 2000 -- Intel Corp. (btusb)
Bus 004 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
Bus 003 Device 003 ID 17ef:3070 control = auto, autosuspend_delay_ms = 0 -- Lenovo (hub)
Bus 003 Device 002 ID 17ef:3070 control = auto, autosuspend_delay_ms = 0 -- Lenovo USB3.1 Hub (hub)
Bus 003 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
Bus 002 Device 005 ID 17ef:3075 control = auto, autosuspend_delay_ms = 2000 -- Lenovo (no driver)
Bus 002 Device 008 ID 17ef:306f control = on, autosuspend_delay_ms = 2000 -- Lenovo USB2.0 Hub (snd-usb-audio, usbhid)
Bus 002 Device 007 ID 1532:0037 control = on, autosuspend_delay_ms = 2000 -- Razer USA, Ltd (usbhid)
Bus 002 Device 006 ID 0461:4e04 control = on, autosuspend_delay_ms = 2000 -- Primax Electronics, Ltd Lenovo Keyboard KB1021 (usbhid)
Bus 002 Device 004 ID 17ef:3071 control = auto, autosuspend_delay_ms = 0 -- Lenovo (hub)
Bus 002 Device 003 ID 17ef:3071 control = auto, autosuspend_delay_ms = 0 -- Lenovo USB2.0 Hub (hub)
Bus 002 Device 002 ID 17ef:3074 control = on, autosuspend_delay_ms = 2000 -- Lenovo USB Billboard (usbhid)
Bus 002 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root 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 = active (recalibrate)
tp-smapi = inactive (ThinkPad not supported)
+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer = LGC
/sys/class/power_supply/BAT0/model_name = 02DL007
/sys/class/power_supply/BAT0/cycle_count = 3
/sys/class/power_supply/BAT0/energy_full_design = 50500 [mWh]
/sys/class/power_supply/BAT0/energy_full = 51480 [mWh]
/sys/class/power_supply/BAT0/energy_now = 48910 [mWh]
/sys/class/power_supply/BAT0/power_now = 0 [mW]
/sys/class/power_supply/BAT0/status = Unknown (threshold may prevent charging)
/sys/class/power_supply/BAT0/charge_start_threshold = 75 [%]
/sys/class/power_supply/BAT0/charge_stop_threshold = 80 [%]
tpacpi-bat.BAT0.forceDischarge = 0
Charge = 95.0 [%]
Capacity = 101.9 [%]
+++ Recommendations
* Install ethtool to disable Wake On LAN (WOL)
* 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