Skip to content

Instantly share code, notes, and snippets.

@hotice
Created August 23, 2016 12:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hotice/ed58c1215c4ead10a561f28f781b8c9c to your computer and use it in GitHub Desktop.
Save hotice/ed58c1215c4ead10a561f28f781b8c9c to your computer and use it in GitHub Desktop.
$ sudo tlp-stat
[sudo] password for andrei:
--- 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=on
RUNTIME_PM_ALL=0
RUNTIME_PM_BLACKLIST="0a:00.0 03:00.0"
RUNTIME_PM_DRIVER_BLACKLIST="radeon nouveau"
USB_AUTOSUSPEND=1
USB_BLACKLIST_WWAN=1
RESTORE_DEVICE_STATE_ON_STARTUP=0
+++ System Info
System = Dell Inc. Dell System XPS L702X
BIOS = A18
Release = Ubuntu 16.04.1 LTS
Kernel = 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64
/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-4.4.0-34-generic root=UUID=9694e135-3bc6-4ddc-b9d1-48bbf720a6d5 ro quiet splash
Init system = systemd v229
Boot mode = BIOS (CSM, Legacy)
+++ TLP Status
State = enabled
Last run = 15:48:24, 257 sec(s) ago
Mode = AC
Power source = AC
+++ Processor
CPU model = Intel(R) Core(TM) i7-2670QM CPU @ 2.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 = 3100000 [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 = 3100000 [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 = 3100000 [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 = 3100000 [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 = 3100000 [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 = 3100000 [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 = 3100000 [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 = 3100000 [kHz]
/sys/devices/system/cpu/intel_pstate/min_perf_pct = 25
/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 = 38
/sys/devices/system/cpu/intel_pstate/num_pstates = 24
x86_energy_perf_policy.cpu0 = performance
x86_energy_perf_policy.cpu1 = performance
x86_energy_perf_policy.cpu2 = performance
x86_energy_perf_policy.cpu3 = performance
x86_energy_perf_policy.cpu4 = performance
x86_energy_perf_policy.cpu5 = performance
x86_energy_perf_policy.cpu6 = performance
x86_energy_perf_policy.cpu7 = performance
/proc/sys/kernel/nmi_watchdog = 0
+++ Undervolting
PHC kernel not available.
+++ Temperatures
CPU temp = 54 [°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 = KINGSTON SVP200S37A120G
Firmware = 502ABBF0
APM Level = 254
Status = active/idle
TRIM = supported
Scheduler = deadline
Runtime PM: control = on, autosuspend_delay = -1
SMART info:
9 Power_On_Hours_and_Msec = 16641 [h]
12 Power_Cycle_Count = 2501
189 Airflow_Temperature_Cel = 39 [°C]
194 Temperature_Celsius = 39 (Min/Max 15/80) [°C]
/dev/sdb:
Model = ST9750420AS
Firmware = 0002DEM1
APM Level = 254
Status = active/idle
Scheduler = deadline
Runtime PM: control = on, autosuspend_delay = -1
SMART info:
4 Start_Stop_Count = 7505
5 Reallocated_Sector_Ct = 0
9 Power_On_Hours = 20812 [h]
12 Power_Cycle_Count = 2998
190 Airflow_Temperature_Cel = 43 [°C]
193 Load_Cycle_Count = 345224
194 Temperature_Celsius = 43 (0 14 0 [°C]
241 Total_LBAs_Written = 0.505 [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
/sys/class/scsi_host/host4/link_power_management_policy = max_performance
/sys/class/scsi_host/host5/link_power_management_policy = max_performance
+++ AHCI Host Controller Runtime Power Management
/sys/bus/pci/devices/0000:00:1f.2/ata1/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata2/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata3/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata4/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata5/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata6/power/control = on
+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)
+++ Intel Graphics
/sys/module/i915/parameters/powersave = (not available)
/sys/module/i915/parameters/enable_rc6 = 1 (enabled)
/sys/module/i915/parameters/enable_dc = (not available)
/sys/module/i915/parameters/enable_fbc = -1 (use per-chip default)
/sys/module/i915/parameters/enable_psr = 0 (disabled)
/sys/module/i915/parameters/lvds_downclock = (not available)
/sys/module/i915/parameters/modeset = -1 (use per-chip default)
/sys/module/i915/parameters/semaphores = -1 (use per-chip default)
+++ Wireless
bluetooth = on
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 = 0
/sys/module/snd_hda_intel/parameters/power_save_controller = N
+++ Runtime Power Management
Device classes = Ethernet, Wireless, Audio, Host Bridge, [SD] Card Reader, Firewire
Device blacklist = 0a:00.0 03:00.0
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:02.0/power/control = on (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:16.0/power/control = on (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:1a.0/power/control = on (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1b.0/power/control = on (0x040300, Audio device, snd_hda_intel)
/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:1c.5/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1d.0/power/control = on (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1f.0/power/control = on (0x060100, ISA bridge, lpc_ich)
/sys/bus/pci/devices/0000:00:1f.2/power/control = on (0x010601, SATA controller, ahci)
/sys/bus/pci/devices/0000:00:1f.3/power/control = on (0x0c0500, SMBus, no driver)
/sys/bus/pci/devices/0000:00:1f.6/power/control = on (0x118000, Signal processing controller, no driver)
/sys/bus/pci/devices/0000:01:00.0/power/control = on (0x030000, VGA compatible controller, no driver)
/sys/bus/pci/devices/0000:03:00.0/power/control = on (0x028000, Network controller, iwlwifi)
/sys/bus/pci/devices/0000:04:00.0/power/control = on (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:0a:00.0/power/control = on (0x020000, Ethernet controller, r8169)
+++ USB
Autosuspend = enabled
Device whitelist = (not configured)
Device blacklist = (not configured)
WWAN blacklist = enabled
Bus 002 Device 004 ID 0a12:0001 control = auto, autosuspend_delay_ms = 2000 -- Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) (btusb)
Bus 002 Device 006 ID 1038:1600 control = on, autosuspend_delay_ms = 2000 -- SteelSeries ApS (usbhid)
Bus 002 Device 005 ID 1a40:0101 control = auto, autosuspend_delay_ms = 0 -- Terminus Technology Inc. Hub (hub)
Bus 002 Device 003 ID 1a40:0101 control = auto, autosuspend_delay_ms = 0 -- Terminus Technology Inc. Hub (hub)
Bus 002 Device 002 ID 8087:0024 control = auto, autosuspend_delay_ms = 0 -- Intel Corp. Integrated Rate Matching Hub (hub)
Bus 002 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 002 ID 1532:0032 control = on, autosuspend_delay_ms = 2000 -- Razer USA, Ltd (usbhid)
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
Bus 001 Device 003 ID 0408:2fb1 control = auto, autosuspend_delay_ms = 2000 -- Quanta Computer, Inc. (uvcvideo)
Bus 001 Device 002 ID 8087:0024 control = auto, autosuspend_delay_ms = 0 -- Intel Corp. Integrated Rate Matching 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 = SANYO
/sys/class/power_supply/BAT0/model_name = Dell
/sys/class/power_supply/BAT0/cycle_count = (not supported)
/sys/class/power_supply/BAT0/charge_full_design = 8400 [mAh]
/sys/class/power_supply/BAT0/charge_full = 2922 [mAh]
/sys/class/power_supply/BAT0/charge_now = 2922 [mAh]
/sys/class/power_supply/BAT0/current_now = 1 [mA]
/sys/class/power_supply/BAT0/status = Full
Charge = 100.0 [%]
Capacity = 34.8 [%]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment