Skip to content

Instantly share code, notes, and snippets.

@nrapopor
Created October 25, 2017 21:29
Show Gist options
  • Save nrapopor/6c379f18018e0468c8fa4bab331d4efe to your computer and use it in GitHub Desktop.
Save nrapopor/6c379f18018e0468c8fa4bab331d4efe to your computer and use it in GitHub Desktop.
TLP results
--- TLP 0.9 --------------------------------------------
+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
TLP_DEFAULT_MODE=AC
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
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=powersave
DISK_DEVICES="sda sdb"
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="128 128"
SATA_LINKPWR_ON_AC=max_performance
SATA_LINKPWR_ON_BAT=min_power
AHCI_RUNTIME_PM_TIMEOUT=15
PCIE_ASPM_ON_AC=performance
PCIE_ASPM_ON_BAT=powersave
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_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
RUNTIME_PM_ALL=1
RUNTIME_PM_DRIVER_BLACKLIST="radeon nouveau"
USB_AUTOSUSPEND=1
USB_BLACKLIST_WWAN=1
RESTORE_DEVICE_STATE_ON_STARTUP=0
+++ System Info
System = Notebook Not Applicable P870KM_KM1
BIOS = 1.05.03RLS2
Release = Ubuntu 17.10
Kernel = 4.13.0-16-generic #19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017 x86_64
/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-4.13.0-16-generic.efi.signed root=UUID=953cc490-85de-4378-90ee-79a9ff0da33b ro dwc_otg.fiq_fsm_mask=0x3
Init system = systemd v234
Boot mode = UEFI
+++ TLP Status
State = enabled
Last run = 05:18:32 PM, 529 sec(s) ago
Mode = AC
Power source = AC
+++ Processor
CPU model = Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
/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 = 800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 4500000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 4500000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 4500000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 4500000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq = 4500000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq = 4500000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq = 4500000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu7/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq = 800000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq = 4500000 [kHz]
/sys/devices/system/cpu/intel_pstate/min_perf_pct = 17
/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/turbo_pct = 9
/sys/devices/system/cpu/intel_pstate/num_pstates = 38
x86_energy_perf_policy.cpu0 = EPB
x86_energy_perf_policy.cpu0 = HWP_REQ:
x86_energy_perf_policy.cpu0 = HWP_CAP:
x86_energy_perf_policy.cpu1 = EPB
x86_energy_perf_policy.cpu1 = HWP_REQ:
x86_energy_perf_policy.cpu1 = HWP_CAP:
x86_energy_perf_policy.cpu2 = EPB
x86_energy_perf_policy.cpu2 = HWP_REQ:
x86_energy_perf_policy.cpu2 = HWP_CAP:
x86_energy_perf_policy.cpu3 = EPB
x86_energy_perf_policy.cpu3 = HWP_REQ:
x86_energy_perf_policy.cpu3 = HWP_CAP:
x86_energy_perf_policy.cpu4 = EPB
x86_energy_perf_policy.cpu4 = HWP_REQ:
x86_energy_perf_policy.cpu4 = HWP_CAP:
x86_energy_perf_policy.cpu5 = EPB
x86_energy_perf_policy.cpu5 = HWP_REQ:
x86_energy_perf_policy.cpu5 = HWP_CAP:
x86_energy_perf_policy.cpu6 = EPB
x86_energy_perf_policy.cpu6 = HWP_REQ:
x86_energy_perf_policy.cpu6 = HWP_CAP:
x86_energy_perf_policy.cpu7 = EPB
x86_energy_perf_policy.cpu7 = HWP_REQ:
x86_energy_perf_policy.cpu7 = HWP_CAP:
/proc/sys/kernel/nmi_watchdog = 0
+++ Undervolting
PHC kernel not available.
+++ Temperatures
CPU temp = 57 [°C]
Fan speed = (not available)
+++ 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
/proc/sys/fs/xfs/age_buffer_centisecs = (not available)
/proc/sys/fs/xfs/xfssyncd_centisecs = (not available)
/proc/sys/fs/xfs/xfsbufd_centisecs = (not available)
+++ Storage Devices
/dev/sda:
Model = Samsung SSD 850 PRO 2TB
Firmware = EXM02B6Q
APM Level = none/disabled
Status = active/idle
TRIM = supported
Scheduler = cfq
Runtime PM: control = on, autosuspend_delay = -1
SMART info:
5 Reallocated_Sector_Ct = 0
9 Power_On_Hours = 4969 [h]
12 Power_Cycle_Count = 47
177 Wear_Leveling_Count = 99 [%]
179 Used_Rsvd_Blk_Cnt_Tot = 0
190 Airflow_Temperature_Cel = 38 [°C]
241 Total_LBAs_Written = 3.380 [TB]
/dev/sdb:
Model = Samsung SSD 850 PRO 1TB
Firmware = EXM02B6Q
APM Level = none/disabled
Status = active/idle
TRIM = supported
Scheduler = cfq
Runtime PM: control = on, autosuspend_delay = -1
SMART info:
5 Reallocated_Sector_Ct = 0
9 Power_On_Hours = 9427 [h]
12 Power_Cycle_Count = 151
177 Wear_Leveling_Count = 99 [%]
179 Used_Rsvd_Blk_Cnt_Tot = 0
190 Airflow_Temperature_Cel = 45 [°C]
241 Total_LBAs_Written = 3.047 [TB]
+++ SATA Aggressive Link Power Management
/sys/class/scsi_host/host0/link_power_management_policy = max_performance
/sys/class/scsi_host/host1/link_power_management_policy = max_performance
/sys/class/scsi_host/host2/link_power_management_policy = max_performance
/sys/class/scsi_host/host3/link_power_management_policy = max_performance
+++ AHCI Host Controller Runtime Power Management
/sys/bus/pci/devices/0000:00:17.0/ata1/power/control = on
/sys/bus/pci/devices/0000:00:17.0/ata2/power/control = on
/sys/bus/pci/devices/0000:00:17.0/ata3/power/control = on
/sys/bus/pci/devices/0000:00:17.0/ata4/power/control = on
+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)
+++ Wireless
bluetooth = on
wifi = off (software)
wwan = none (no device)
hci0(btusb) : bluetooth, not connected
wlp113s0(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
+++ Runtime Power Management
Device classes = all
Device blacklist = (not configured)
Driver blacklist = radeon nouveau
/sys/bus/pci/devices/0000:00:00.0/power/control = on (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:01.0/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:14.0/power/control = on (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:14.2/power/control = on (0x118000, Signal processing controller, no driver)
/sys/bus/pci/devices/0000:00:16.0/power/control = on (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:17.0/power/control = on (0x010601, SATA controller, ahci)
/sys/bus/pci/devices/0000:00:1c.0/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.1/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.3/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.4/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1d.0/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1d.5/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1f.0/power/control = on (0x060100, ISA bridge, no driver)
/sys/bus/pci/devices/0000:00:1f.2/power/control = on (0x058000, Memory controller, no driver)
/sys/bus/pci/devices/0000:00:1f.3/power/control = on (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1f.4/power/control = on (0x0c0500, SMBus, no driver)
/sys/bus/pci/devices/0000:01:00.0/power/control = on (0x030000, VGA compatible controller, nvidia)
/sys/bus/pci/devices/0000:01:00.1/power/control = on (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:02:00.0/power/control = on (0x020000, Ethernet controller, alx)
/sys/bus/pci/devices/0000:03:00.0/power/control = on (0x020000, Ethernet controller, alx)
/sys/bus/pci/devices/0000:04:00.0/power/control = on (0x080501, SD Host controller, sdhci-pci)
/sys/bus/pci/devices/0000:70:00.0/power/control = on (0x010802, Non-Volatile memory controller, nvme)
/sys/bus/pci/devices/0000:71:00.0/power/control = on (0x028000, Network controller, iwlwifi)
+++ USB
Autosuspend = enabled
Device whitelist = (not configured)
Device blacklist = (not configured)
WWAN blacklist = enabled
Bus 002 Device 003 ID 2109:0812 control = auto, autosuspend_delay_ms = 0 -- VIA Labs, Inc. VL812 Hub (hub)
Bus 002 Device 002 ID 2109:0812 control = auto, autosuspend_delay_ms = 0 -- VIA Labs, Inc. VL812 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 011 ID 8087:0a2b control = on, autosuspend_delay_ms = 2000 -- Intel Corp. (btusb)
Bus 001 Device 010 ID 06cb:0078 control = on, autosuspend_delay_ms = 2000 -- Synaptics, Inc. (no driver)
Bus 001 Device 009 ID 04f2:b5a7 control = auto, autosuspend_delay_ms = 2000 -- Chicony Electronics Co., Ltd (uvcvideo)
Bus 001 Device 007 ID 047f:ac01 control = on, autosuspend_delay_ms = 2000 -- Plantronics, Inc. Savi 7xx (snd-usb-audio, usbhid)
Bus 001 Device 005 ID 046d:c52b control = on, autosuspend_delay_ms = 2000 -- Logitech, Inc. Unifying Receiver (usbhid)
Bus 001 Device 008 ID 046d:c629 control = on, autosuspend_delay_ms = 2000 -- Logitech, Inc. 3Dconnexion SpacePilot Pro 3D Mouse (usbhid)
Bus 001 Device 006 ID 1b1c:1b11 control = on, autosuspend_delay_ms = 2000 -- Corsair (usbhid)
Bus 001 Device 004 ID 2109:2812 control = auto, autosuspend_delay_ms = 0 -- VIA Labs, Inc. VL812 Hub (hub)
Bus 001 Device 002 ID 2109:2812 control = auto, autosuspend_delay_ms = 0 -- VIA Labs, Inc. VL812 Hub (hub)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
+++ Battery Status
/sys/class/power_supply/BAT0/manufacturer = Notebook
/sys/class/power_supply/BAT0/model_name = BAT
/sys/class/power_supply/BAT0/cycle_count = (not supported)
/sys/class/power_supply/BAT0/charge_full_design = 5900 [mAh]
/sys/class/power_supply/BAT0/charge_full = 5581 [mAh]
/sys/class/power_supply/BAT0/charge_now = 5581 [mAh]
/sys/class/power_supply/BAT0/current_now = 0 [mA]
/sys/class/power_supply/BAT0/status = Full
Charge = 100.0 [%]
Capacity = 94.6 [%]
cat: /sys/class/power_supply/hidpp_battery_0/present: No such file or directory
Copy link

ghost commented Nov 29, 2017

last line : can this link to hidpp_battery_0 be removed as this directory does not exist ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment