Skip to content

Instantly share code, notes, and snippets.

@nnmlss
Created January 25, 2020 19:23
Show Gist options
  • Save nnmlss/58be69e68b9b4c9bb4d7a9eb4a612005 to your computer and use it in GitHub Desktop.
Save nnmlss/58be69e68b9b4c9bb4d7a9eb4a612005 to your computer and use it in GitHub Desktop.
AC
--- TLP 1.3.0-beta.4 --------------------------------------------
+++ Configured Settings:
/etc/tlp.conf L0015: TLP_ENABLE="1"
/etc/tlp.conf L0025: TLP_PERSISTENT_DEFAULT="0"
/etc/tlp.conf L0030: DISK_IDLE_SECS_ON_AC="0"
/etc/tlp.conf L0031: DISK_IDLE_SECS_ON_BAT="2"
/etc/tlp.conf L0035: MAX_LOST_WORK_SECS_ON_AC="15"
/etc/tlp.conf L0036: 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"
/etc/tlp.conf L0097: SCHED_POWERSAVE_ON_AC="0"
/etc/tlp.conf L0098: SCHED_POWERSAVE_ON_BAT="1"
/etc/tlp.conf L0103: NMI_WATCHDOG="0"
/etc/tlp.conf L0125: DISK_DEVICES="nvme-KXG50ZNV256G_TOSHIBA_97BF2015F6FS ata-CT500BX100SSD1_1516F005DD27"
/etc/tlp.conf L0131: DISK_APM_LEVEL_ON_AC="254 254"
/etc/tlp.conf L0132: DISK_APM_LEVEL_ON_BAT="128 128"
defaults.conf L0018: DISK_IOSCHED="keep keep"
/etc/tlp.conf L0166: SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
/etc/tlp.conf L0167: SATA_LINKPWR_ON_BAT="min-power med_power_with_dipm"
/etc/tlp.conf L0184: AHCI_RUNTIME_PM_TIMEOUT="15"
/etc/tlp.conf L0190: PCIE_ASPM_ON_AC="performance"
/etc/tlp.conf L0191: PCIE_ASPM_ON_BAT="powersave"
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"
/etc/tlp.conf L0223: WIFI_PWR_ON_AC="off"
/etc/tlp.conf L0224: WIFI_PWR_ON_BAT="on"
/etc/tlp.conf L0228: WOL_DISABLE="Y"
/etc/tlp.conf L0233: SOUND_POWER_SAVE_ON_AC="0"
/etc/tlp.conf L0234: SOUND_POWER_SAVE_ON_BAT="2"
/etc/tlp.conf L0239: SOUND_POWER_SAVE_CONTROLLER="Y"
/etc/tlp.conf L0246: BAY_POWEROFF_ON_AC="0"
/etc/tlp.conf L0247: BAY_POWEROFF_ON_BAT="0"
defaults.conf L0036: BAY_DEVICE="sr0"
/etc/tlp.conf L0254: RUNTIME_PM_ON_AC="on"
/etc/tlp.conf L0255: RUNTIME_PM_ON_BAT="auto"
defaults.conf L0039: RUNTIME_PM_DRIVER_BLACKLIST="amdgpu mei_me nouveau nvidia pcieport radeon"
/etc/tlp.conf L0272: USB_AUTOSUSPEND="1"
/etc/tlp.conf L0284: USB_BLACKLIST_BTUSB="0"
/etc/tlp.conf L0289: USB_BLACKLIST_PHONE="1"
/etc/tlp.conf L0294: USB_BLACKLIST_PRINTER="1"
/etc/tlp.conf L0299: USB_BLACKLIST_WWAN="0"
/etc/tlp.conf L0309: USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN="1"
/etc/tlp.conf L0316: RESTORE_DEVICE_STATE_ON_STARTUP="0"
defaults.conf L0047: RESTORE_THRESHOLDS_ON_BAT="0"
/etc/tlp.conf L0369: NATACPI_ENABLE="1"
/etc/tlp.conf L0370: TPACPI_ENABLE="1"
/etc/tlp.conf L0371: TPSMAPI_ENABLE="1"
/etc/tlp.conf L0020: TLP_DEFAULT_MODE="BAT"
/etc/tlp.conf L0055: CPU_SCALING_GOVERNOR_ON_AC="powersave"
/etc/tlp.conf L0056: CPU_SCALING_GOVERNOR_ON_BAT="powersave"
/etc/tlp.conf L0062: CPU_SCALING_MIN_FREQ_ON_AC="800000"
/etc/tlp.conf L0063: CPU_SCALING_MAX_FREQ_ON_AC="3000000"
/etc/tlp.conf L0064: CPU_SCALING_MIN_FREQ_ON_BAT="800000"
/etc/tlp.conf L0065: CPU_SCALING_MAX_FREQ_ON_BAT="2800000"
/etc/tlp.conf L0072: CPU_HWP_ON_AC="balance_performance"
/etc/tlp.conf L0073: CPU_HWP_ON_BAT="balance_power"
/etc/tlp.conf L0080: CPU_MIN_PERF_ON_AC="0"
/etc/tlp.conf L0081: CPU_MAX_PERF_ON_AC="100"
/etc/tlp.conf L0082: CPU_MIN_PERF_ON_BAT="0"
/etc/tlp.conf L0083: CPU_MAX_PERF_ON_BAT="30"
/etc/tlp.conf L0091: CPU_BOOST_ON_AC="1"
/etc/tlp.conf L0092: CPU_BOOST_ON_BAT="0"
/etc/tlp.conf L0117: ENERGY_PERF_POLICY_ON_AC="balance_performance"
/etc/tlp.conf L0118: ENERGY_PERF_POLICY_ON_BAT="balance_power"
/etc/tlp.conf L0142: DISK_SPINDOWN_TIMEOUT_ON_AC="0 0"
/etc/tlp.conf L0143: DISK_SPINDOWN_TIMEOUT_ON_BAT="0 0"
/etc/tlp.conf L0197: INTEL_GPU_MIN_FREQ_ON_AC="350"
/etc/tlp.conf L0198: INTEL_GPU_MIN_FREQ_ON_BAT="350"
/etc/tlp.conf L0199: INTEL_GPU_MAX_FREQ_ON_AC="1100"
/etc/tlp.conf L0200: INTEL_GPU_MAX_FREQ_ON_BAT="750"
/etc/tlp.conf L0201: INTEL_GPU_BOOST_FREQ_ON_AC="1100"
/etc/tlp.conf L0202: INTEL_GPU_BOOST_FREQ_ON_BAT="1100"
/etc/tlp.conf L0279: USB_BLACKLIST="046d:c534"
/etc/tlp.conf L0321: DEVICES_TO_DISABLE_ON_STARTUP="bluetooth wifi wwan"
/etc/tlp.conf L0326: DEVICES_TO_ENABLE_ON_STARTUP="wifi"
/etc/tlp.conf L0331: DEVICES_TO_DISABLE_ON_SHUTDOWN="bluetooth wifi wwan"
/etc/tlp.conf L0340: DEVICES_TO_ENABLE_ON_AC="bluetooth wifi wwan"
/etc/tlp.conf L0344: DEVICES_TO_DISABLE_ON_BAT="bluetooth wwan"
/etc/tlp.conf L0349: DEVICES_TO_DISABLE_ON_BAT_NOT_IN_USE="bluetooth wifi wwan"
/etc/tlp.conf L0404: TLP_PS_IGNORE="BAT"
+++ System Info
System = HP Type1ProductConfigId HP Pavilion Power Laptop 15-cb0xx
BIOS = F.18
Release = elementary OS 5.1 Hera
Kernel = 5.3.0-26-generic #28~18.04.1-Ubuntu SMP Wed Dec 18 16:40:14 UTC 2019 x86_64
/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic root=UUID=3b678b4c-1e36-4b1f-abce-728fc72282a9 ro quiet splash pcie_aspm=off
Init system = systemd v237
Boot mode = UEFI
+++ TLP Status
State = enabled
RDW state = enabled
Last run = 21:21:55, 7 sec(s) ago
Mode = AC
Power source = AC
+++ Processor
CPU model = Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
/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 = 3000000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/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 = 3000000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/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 = 3000000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/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 = 3000000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/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 = 3000000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/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 = 3000000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/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 = 3000000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/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 = 3000000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/intel_pstate/min_perf_pct = 21 [%]
/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 = 33 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates = 31
/sys/module/workqueue/parameters/power_efficient = Y
/proc/sys/kernel/nmi_watchdog = 0
+++ Temperatures
CPU temp = 51 [°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
+++ Storage Devices
Devices = nvme-KXG50ZNV256G_TOSHIBA_97BF2015F6FS ata-CT500BX100SSD1_1516F005DD27
/dev/nvme0n1:
Type = NVMe
Disk ID = nvme-KXG50ZNV256G_TOSHIBA_97BF2015F6FS
Model = KXG50ZNV256G TOSHIBA
Firmware = AAHA4102
Scheduler = [none] mq-deadline (multi queue)
Runtime PM: control = auto, autosuspend_delay_ms = (not available)
SMART info:
/dev/sda:
Disk ID = ata-CT500BX100SSD1_1516F005DD27
Type = ATA
Model = CT500BX100SSD1
Firmware = MU01
APM Level = none/disabled
Status = active/idle
TRIM = supported
Scheduler = [mq-deadline] none (multi queue)
Runtime PM: control = on, autosuspend_delay_ms = -1
SMART info:
5 Reallocated_Sector_Ct = 0
9 Power_On_Hours = 2008 [h]
12 Power_Cycle_Count = 7309
177 Wear_Leveling_Count = 100 [%]
194 Temperature_Celsius = 27 [°C]
232 Available_Reservd_Space = 100 [%]
241 Host_Writes_32MiB = 17.068 [TB]
+++ AHCI Link Power Management (ALPM)
/sys/class/scsi_host/host0/link_power_management_policy = min_power
/sys/class/scsi_host/host1/link_power_management_policy = max_performance
/sys/class/scsi_host/host2/link_power_management_policy = min_power
+++ 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
+++ Intel Graphics
/sys/module/i915/parameters/enable_dc = -1 (use per-chip default)
/sys/module/i915/parameters/enable_fbc = 1 (enabled)
/sys/module/i915/parameters/enable_psr = -1 (use per-chip default)
/sys/module/i915/parameters/modeset = -1 (use per-chip default)
/sys/class/drm/card0/gt_min_freq_mhz = 350 [MHz]
/sys/class/drm/card0/gt_max_freq_mhz = 1100 [MHz]
/sys/class/drm/card0/gt_boost_freq_mhz = 1100 [MHz]
/sys/kernel/debug/dri/0/i915_ring_freq_table: 350 400 450 500 550 600 650 700 750 800 850 900 950 1000 1050 1100 [MHz]
+++ Wireless
bluetooth = off (software)
wifi = on
wwan = none (no device)
hci0(btusb) : bluetooth, not connected
wlo1(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 = 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 = auto (0x060000, Host bridge, skl_uncore)
/sys/bus/pci/devices/0000:00:01.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:02.0/power/control = auto (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:04.0/power/control = auto (0x118000, Signal processing controller, proc_thermal)
/sys/bus/pci/devices/0000:00:14.0/power/control = auto (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:14.2/power/control = auto (0x118000, Signal processing controller, intel_pch_thermal)
/sys/bus/pci/devices/0000:00:16.0/power/control = auto (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:17.0/power/control = auto (0x010601, SATA controller, ahci)
/sys/bus/pci/devices/0000:00:1c.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.4/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.5/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.6/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1d.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1f.0/power/control = auto (0x060100, ISA bridge, no driver)
/sys/bus/pci/devices/0000:00:1f.2/power/control = auto (0x058000, Memory controller, no driver)
/sys/bus/pci/devices/0000:00:1f.3/power/control = auto (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1f.4/power/control = auto (0x0c0500, SMBus, no driver)
/sys/bus/pci/devices/0000:01:00.0/power/control = auto (0x030000, VGA compatible controller, no driver)
/sys/bus/pci/devices/0000:01:00.1/power/control = auto (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:03:00.0/power/control = auto (0xff0000, Unassigned class [ff00], rtsx_pci)
/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 (0x020000, Ethernet controller, r8169)
/sys/bus/pci/devices/0000:06:00.0/power/control = auto (0x010802, Non-Volatile memory controller, nvme)
+++ USB
Autosuspend = enabled
Device whitelist = (not configured)
Device blacklist = 046d:c534
Bluetooth blacklist = disabled
Phone blacklist = enabled
WWAN blacklist = disabled
Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 003 ID 8087:0a2a control = auto, autosuspend_delay_ms = 2000 -- Intel Corp. (btusb)
Bus 001 Device 002 ID 0bda:58eb control = auto, autosuspend_delay_ms = 2000 -- Realtek Semiconductor Corp. (uvcvideo)
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 = 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 = HP
/sys/class/power_supply/BAT0/model_name = Primary
/sys/class/power_supply/BAT0/cycle_count = (not supported)
/sys/class/power_supply/BAT0/charge_full_design = 4576 [mAh]
/sys/class/power_supply/BAT0/charge_full = 4576 [mAh]
/sys/class/power_supply/BAT0/charge_now = 4576 [mAh]
/sys/class/power_supply/BAT0/current_now = 0 [mA]
/sys/class/power_supply/BAT0/status = Full
Charge = 100.0 [%]
Capacity = 100.0 [%]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment