Skip to content

Instantly share code, notes, and snippets.

@samcv
Created October 20, 2018 13:27
Show Gist options
  • Save samcv/bc5c177691b5374ebf6becfe920dbdba to your computer and use it in GitHub Desktop.
Save samcv/bc5c177691b5374ebf6becfe920dbdba to your computer and use it in GitHub Desktop.
--- TLP 1.1.902+git-master-20181020 --------------------------------------------
+++ Configured Settings: /etc/tlp.conf
TLP_ENABLE=1
TLP_DEFAULT_MODE=BAT
TLP_PERSISTENT_DEFAULT=0
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60
CPU_HWP_ON_AC=balance_performance
CPU_HWP_ON_BAT=balance_power
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=power
DISK_DEVICES="sda sdb"
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="128 128"
SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
AHCI_RUNTIME_PM_TIMEOUT=15
RADEON_POWER_PROFILE_ON_AC=high
RADEON_POWER_PROFILE_ON_BAT=low
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=auto
WIFI_PWR_ON_AC=off
WIFI_PWR_ON_BAT=on
WOL_DISABLE=Y
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_AC=0
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
USB_AUTOSUSPEND=1
USB_BLACKLIST_BTUSB=0
USB_BLACKLIST_PHONE=0
USB_BLACKLIST_PRINTER=1
USB_BLACKLIST_WWAN=1
RESTORE_DEVICE_STATE_ON_STARTUP=0
START_CHARGE_THRESH_BAT0=90
STOP_CHARGE_THRESH_BAT0=95
START_CHARGE_THRESH_BAT1=90
STOP_CHARGE_THRESH_BAT1=95
NATACPI_ENABLE=1
TPACPI_ENABLE=1
TPSMAPI_ENABLE=1
+++ System Info
System = LENOVO ThinkPad A485 20MUCTO1WW
BIOS = R0WET34W (1.02 )
Release = "Sabayon Linux amd64 18.11"
Kernel = 4.19.0-rc8+ #25 SMP Wed Oct 17 14:43:12 CEST 2018 x86_64
/proc/cmdline = BOOT_IMAGE=/vmlinuz-4.19.0-rc8+ root=/dev/mapper/sabayon_sabayon-filesystem ro rootflags=subvol=rootfs locale=en_US dolvm rd.lvm.lv=sabayon_sabayon/swap rd.lvm.vg=sabayon_sabayon rd.luks.options=discard root_trim=yes resume=/dev/mapper/sabayon_sabayon-swap crypt_root=UUID=15c754a3-8a9b-4e9a-80f8-23402bc8d044 rd.luks.uuid=luks-15c754a3-8a9b-4e9a-80f8-23402bc8d044 root=UUID=4bd90917-3f6e-4d3b-8d11-eebc038aae77 splash rd.vconsole.keymap=dvorak quiet rcu_nocbs=0-64 idle=nomwait ivrs_ioapic[32]=00:14.0
Init system = systemd
Boot mode = UEFI
+++ TLP Status
State = enabled
Last run = 06:10:15, 1029 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 PRO 2700U w/ Radeon Vega Mobile Gfx
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = performance
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 1600000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 2200000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies = 2200000 1700000 1600000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = performance
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 1600000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 2200000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies = 2200000 1700000 1600000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = performance
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 1600000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 2200000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies = 2200000 1700000 1600000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = performance
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 1600000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 2200000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies = 2200000 1700000 1600000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor = performance
/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq = 1600000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq = 2200000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies = 2200000 1700000 1600000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor = performance
/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq = 1600000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq = 2200000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_frequencies = 2200000 1700000 1600000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor = performance
/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq = 1600000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq = 2200000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_frequencies = 2200000 1700000 1600000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu7/cpufreq/scaling_governor = performance
/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq = 1600000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq = 2200000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_frequencies = 2200000 1700000 1600000 [kHz]
/sys/devices/system/cpu/cpufreq/boost = (not available)
x86_energy_perf_policy: unsupported CPU.
/sys/module/workqueue/parameters/power_efficient = Y
/proc/sys/kernel/nmi_watchdog = 0
+++ Undervolting
PHC kernel not available.
+++ Temperatures
/proc/acpi/ibm/fan = 2800 [/min]
+++ 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
/dev/sda:
Model = Samsung SSD 850 EVO 500GB
Firmware = EMT02B6Q
APM Level = none/disabled
Status = active/idle
TRIM = supported
Scheduler = deadline
Runtime PM: control = on, autosuspend_delay = -1
SMART info:
5 Reallocated_Sector_Ct = 0
9 Power_On_Hours = 20220 [h]
12 Power_Cycle_Count = 2523
177 Wear_Leveling_Count = 89 [%]
179 Used_Rsvd_Blk_Cnt_Tot = 0
190 Airflow_Temperature_Cel = 36 [°C]
241 Total_LBAs_Written = 31.756 [TB]
+++ 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.0/ata2/power/control = on
+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)
+++ Wireless
bluetooth = none (no device)
wifi = on
wwan = none (no device)
wlp2s0(r8822be) : 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
+++ Runtime Power Management
Device blacklist = (not configured)
Driver blacklist = amdgpu nouveau nvidia radeon (default)
/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: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: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, k10temp)
/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:01:00.0/power/control = auto (0xff0000, Unassigned class [ff00], rtsx_pci)
/sys/bus/pci/devices/0000:02:00.0/power/control = auto (0x028000, Network controller, r8822be)
/sys/bus/pci/devices/0000:03:00.0/power/control = auto (0x020000, Ethernet controller, r8169)
/sys/bus/pci/devices/0000:03:00.1/power/control = auto (0x070002, Serial controller, no driver)
/sys/bus/pci/devices/0000:03:00.2/power/control = auto (0x070002, Serial controller, no driver)
/sys/bus/pci/devices/0000:03:00.3/power/control = auto (0x0c0701, IPMI Interface, no driver)
/sys/bus/pci/devices/0000:03:00.4/power/control = auto (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:04:00.0/power/control = auto (0x020000, Ethernet controller, r8169)
/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 = auto (0x108000, Encryption controller, no driver)
/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.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)
+++ USB
Autosuspend = enabled
Device whitelist = (not configured)
Device blacklist = (not configured)
Bluetooth blacklist = disabled
Phone blacklist = disabled
WWAN blacklist = enabled
Bus 005 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
Bus 004 Device 007 ID 04f2:b604 control = auto, autosuspend_delay_ms = 2000 -- Chicony Electronics Co., Ltd (uvcvideo)
Bus 004 Device 006 ID 04f3:2398 control = on, autosuspend_delay_ms = 2000 -- Elan Microelectronics Corp. (usbhid)
Bus 004 Device 003 ID 05e3:0610 control = auto, autosuspend_delay_ms = 0 -- Genesys Logic, Inc. 4-port hub (hub)
Bus 004 Device 004 ID 06cb:009a control = on, autosuspend_delay_ms = 2000 -- Synaptics, Inc. (no driver)
Bus 004 Device 002 ID 05e3:0610 control = auto, autosuspend_delay_ms = 0 -- Genesys Logic, Inc. 4-port hub (hub)
Bus 004 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root 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 002 ID 0781:5583 control = on, autosuspend_delay_ms = 2000 -- SanDisk Corp. Ultra Fit (usb-storage)
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
natacpi = active (data, thresholds)
tpacpi-bat = inactive (kernel module 'acpi_call' load error)
tp-smapi = inactive (kernel module 'tp_smapi' load error)
+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer = LGC
/sys/class/power_supply/BAT0/model_name = 01AV489
/sys/class/power_supply/BAT0/cycle_count = (not supported)
/sys/class/power_supply/BAT0/energy_full_design = 23940 [mWh]
/sys/class/power_supply/BAT0/energy_full = 23940 [mWh]
/sys/class/power_supply/BAT0/energy_now = 22680 [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 = 90 [%]
/sys/class/power_supply/BAT0/charge_stop_threshold = 90 [%]
Charge = 94.7 [%]
Capacity = 100.0 [%]
+++ ThinkPad Battery Status: BAT1 (Ultrabay / Slice / Replaceable)
/sys/class/power_supply/BAT1/manufacturer = LGC
/sys/class/power_supply/BAT1/model_name = 01AV492
/sys/class/power_supply/BAT1/cycle_count = (not supported)
/sys/class/power_supply/BAT1/energy_full_design = 71100 [mWh]
/sys/class/power_supply/BAT1/energy_full = 71080 [mWh]
/sys/class/power_supply/BAT1/energy_now = 67560 [mWh]
/sys/class/power_supply/BAT1/power_now = 19247 [mW]
/sys/class/power_supply/BAT1/status = Discharging
/sys/class/power_supply/BAT1/charge_start_threshold = 90 [%]
/sys/class/power_supply/BAT1/charge_stop_threshold = 90 [%]
Charge = 95.0 [%]
Capacity = 100.0 [%]
+++ Charge total = 95.0 [%]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment