Skip to content

Instantly share code, notes, and snippets.

@whenov
Created March 20, 2021 06:55
Show Gist options
  • Save whenov/72069cfc2bcd8b3e76a67e9035b9ec68 to your computer and use it in GitHub Desktop.
Save whenov/72069cfc2bcd8b3e76a67e9035b9ec68 to your computer and use it in GitHub Desktop.
--- TLP 1.3.1 --------------------------------------------
+++ 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="balance_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"
/etc/tlp.conf L0319: RUNTIME_PM_DRIVER_BLACKLIST=""
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 L0122: CPU_BOOST_ON_BAT="0"
+++ System Info
System = LENOVO Lenovo Legion R7000P2020H 82GR
BIOS = FSCN18WW
Release = "Arch Linux"
Kernel = 5.11.7-arch1-1-custom #4 SMP PREEMPT Thu, 18 Mar 2021 12:14:20 +0000 x86_64
/proc/cmdline = root=PARTUUID=4aef78f9-a121-4ca8-ade8-7cae7479398d rw initrd=\amd-ucode.img initrd=\initramfs-linux-custom.img resume=UUID=7f112770-65c7-49d4-9318-d9a3895378c7 resume_offset=1710080
Init system = systemd
Boot mode = UEFI
+++ TLP Status
State = enabled
RDW state = not installed
Last run = 02:53:48 PM, 23 sec(s) ago
Mode = battery
Power source = battery
Notice: systemd-rfkill.service is not masked -- invoke "systemctl mask systemd-rfkill.service" to correct this!
Notice: systemd-rfkill.socket is not masked -- invoke "systemctl mask systemd-rfkill.socket" to correct this!
+++ Processor
CPU model = AMD Ryzen 7 4800H with Radeon Graphics
/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 = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 2900000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies = 2900000 1700000 1400000 [kHz]
/sys/devices/system/cpu/cpu10/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu10/cpufreq/scaling_governor = schedutil
/sys/devices/system/cpu/cpu10/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu10/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu10/cpufreq/scaling_max_freq = 2900000 [kHz]
/sys/devices/system/cpu/cpu10/cpufreq/scaling_available_frequencies = 2900000 1700000 1400000 [kHz]
/sys/devices/system/cpu/cpu11/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu11/cpufreq/scaling_governor = schedutil
/sys/devices/system/cpu/cpu11/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu11/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu11/cpufreq/scaling_max_freq = 2900000 [kHz]
/sys/devices/system/cpu/cpu11/cpufreq/scaling_available_frequencies = 2900000 1700000 1400000 [kHz]
/sys/devices/system/cpu/cpu12/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu12/cpufreq/scaling_governor = schedutil
/sys/devices/system/cpu/cpu12/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu12/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu12/cpufreq/scaling_max_freq = 2900000 [kHz]
/sys/devices/system/cpu/cpu12/cpufreq/scaling_available_frequencies = 2900000 1700000 1400000 [kHz]
/sys/devices/system/cpu/cpu13/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu13/cpufreq/scaling_governor = schedutil
/sys/devices/system/cpu/cpu13/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu13/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu13/cpufreq/scaling_max_freq = 2900000 [kHz]
/sys/devices/system/cpu/cpu13/cpufreq/scaling_available_frequencies = 2900000 1700000 1400000 [kHz]
/sys/devices/system/cpu/cpu14/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu14/cpufreq/scaling_governor = schedutil
/sys/devices/system/cpu/cpu14/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu14/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu14/cpufreq/scaling_max_freq = 2900000 [kHz]
/sys/devices/system/cpu/cpu14/cpufreq/scaling_available_frequencies = 2900000 1700000 1400000 [kHz]
/sys/devices/system/cpu/cpu15/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu15/cpufreq/scaling_governor = schedutil
/sys/devices/system/cpu/cpu15/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu15/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu15/cpufreq/scaling_max_freq = 2900000 [kHz]
/sys/devices/system/cpu/cpu15/cpufreq/scaling_available_frequencies = 2900000 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 = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 2900000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies = 2900000 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 = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 2900000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies = 2900000 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 = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 2900000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies = 2900000 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 = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq = 2900000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies = 2900000 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 = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq = 2900000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_frequencies = 2900000 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 = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq = 2900000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_frequencies = 2900000 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 = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq = 2900000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_frequencies = 2900000 1700000 1400000 [kHz]
/sys/devices/system/cpu/cpu8/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu8/cpufreq/scaling_governor = schedutil
/sys/devices/system/cpu/cpu8/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu8/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu8/cpufreq/scaling_max_freq = 2900000 [kHz]
/sys/devices/system/cpu/cpu8/cpufreq/scaling_available_frequencies = 2900000 1700000 1400000 [kHz]
/sys/devices/system/cpu/cpu9/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu9/cpufreq/scaling_governor = schedutil
/sys/devices/system/cpu/cpu9/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu9/cpufreq/scaling_min_freq = 1400000 [kHz]
/sys/devices/system/cpu/cpu9/cpufreq/scaling_max_freq = 2900000 [kHz]
/sys/devices/system/cpu/cpu9/cpufreq/scaling_available_frequencies = 2900000 1700000 1400000 [kHz]
/sys/devices/system/cpu/cpufreq/boost = 0
Intel EPB: unsupported CPU.
/sys/module/workqueue/parameters/power_efficient = Y
/proc/sys/kernel/nmi_watchdog = 0
+++ Temperatures
Fan speed = (not available)
+++ File System
/proc/sys/vm/laptop_mode = 2
/proc/sys/vm/dirty_writeback_centisecs = 6000
/proc/sys/vm/dirty_expire_centisecs = 6000
/proc/sys/vm/dirty_ratio = 20
/proc/sys/vm/dirty_background_ratio = 10
+++ Storage Devices
Devices = nvme0n1 sda
/dev/nvme0n1:
Type = NVMe
Model = SKHynix_HFS512GD9TNI-L2A0B
Firmware = 11010C10
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)
/sys/class/scsi_host/host0/link_power_management_policy = med_power_with_dipm
/sys/class/scsi_host/host1/link_power_management_policy = med_power_with_dipm
+++ AHCI Host Controller Runtime Power Management
/sys/bus/pci/devices/0000:06:00.0/ata1/power/control = on
/sys/bus/pci/devices/0000:06:00.1/ata2/power/control = on
+++ Wireless
bluetooth = off (software)
wifi = on
wwan = none (no device)
hci0(btusb) : bluetooth, not connected
wlan0(iwlwifi) : 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] performance powersave powersupersave
+++ Runtime Power Management
Device blacklist = (not configured)
Driver blacklist = (disabled)
/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:00.2/power/control = auto (0x080600, IOMMU, no driver)
/sys/bus/pci/devices/0000:00:01.0/power/control = auto (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:02.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:02.1/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:02.2/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:08.0/power/control = auto (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:08.2/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:14.0/power/control = auto (0x0c0500, SMBus, piix4_smbus)
/sys/bus/pci/devices/0000:00:14.3/power/control = auto (0x060100, ISA bridge, no driver)
/sys/bus/pci/devices/0000:00:18.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.1/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.2/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.3/power/control = auto (0x060000, Host bridge, zenpower)
/sys/bus/pci/devices/0000:00:18.4/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.5/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.6/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.7/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:02:00.0/power/control = auto (0x010802, Non-Volatile memory controller, nvme)
/sys/bus/pci/devices/0000:03:00.0/power/control = auto (0x020000, Ethernet controller, r8169)
/sys/bus/pci/devices/0000:04:00.0/power/control = auto (0x028000, Network controller, iwlwifi)
/sys/bus/pci/devices/0000:05:00.0/power/control = auto (0x030000, VGA compatible controller, amdgpu)
/sys/bus/pci/devices/0000:05:00.2/power/control = auto (0x108000, Encryption controller, ccp)
/sys/bus/pci/devices/0000:05:00.3/power/control = auto (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:05:00.4/power/control = auto (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:05:00.5/power/control = auto (0x048000, Multimedia controller, no driver)
/sys/bus/pci/devices/0000:05:00.6/power/control = auto (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:06:00.0/power/control = auto (0x010601, SATA controller, ahci)
/sys/bus/pci/devices/0000:06:00.1/power/control = auto (0x010601, SATA controller, ahci)
+++ USB
Autosuspend = enabled
Device whitelist = (not configured)
Device blacklist = (not configured)
Bluetooth blacklist = disabled
Phone blacklist = disabled
WWAN blacklist = disabled
Bus 006 Device 003 ID 05e3:0620 control = auto, autosuspend_delay_ms = 0 -- Genesys Logic, Inc. USB3.2 Hub (hub)
Bus 006 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
Bus 005 Device 004 ID 048d:c100 control = on, autosuspend_delay_ms = 2000 -- Integrated Technology Express, Inc. ITE Device(8910) (usbhid)
Bus 005 Device 003 ID 8087:0029 control = auto, autosuspend_delay_ms = 2000 -- Intel Corp. AX200 Bluetooth (btusb)
Bus 005 Device 002 ID 05e3:0610 control = auto, autosuspend_delay_ms = 0 -- Genesys Logic, Inc. Hub (hub)
Bus 005 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
Bus 004 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
Bus 003 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 = inactive (laptop not supported)
tpacpi-bat = inactive (laptop not supported)
tp-smapi = inactive (laptop not supported)
+++ Battery Status: BAT0
/sys/class/power_supply/BAT0/manufacturer = SMP
/sys/class/power_supply/BAT0/model_name = L19M4PC1
/sys/class/power_supply/BAT0/cycle_count = 24
/sys/class/power_supply/BAT0/energy_full_design = 80000 [mWh]
/sys/class/power_supply/BAT0/energy_full = 81890 [mWh]
/sys/class/power_supply/BAT0/energy_now = 46680 [mWh]
/sys/class/power_supply/BAT0/power_now = 11842 [mW]
/sys/class/power_supply/BAT0/status = Discharging
Charge = 57.0 [%]
Capacity = 102.4 [%]
+++ 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