Skip to content

Instantly share code, notes, and snippets.

@mightyllama89
Created August 20, 2021 18:32
Show Gist options
  • Save mightyllama89/6b25293c4327fdb4245d36abe67ee0e8 to your computer and use it in GitHub Desktop.
Save mightyllama89/6b25293c4327fdb4245d36abe67ee0e8 to your computer and use it in GitHub Desktop.
tlp-stat
--- 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"
/etc/tlp.conf L0158: DISK_APM_LEVEL_ON_AC="keep"
/etc/tlp.conf L0159: DISK_APM_LEVEL_ON_BAT="keep"
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"
/etc/tlp.conf L0264: WIFI_PWR_ON_AC="off"
/etc/tlp.conf L0265: WIFI_PWR_ON_BAT="on"
defaults.conf L0030: WOL_DISABLE="Y"
/etc/tlp.conf L0276: SOUND_POWER_SAVE_ON_AC="1"
/etc/tlp.conf L0277: SOUND_POWER_SAVE_ON_BAT="1"
defaults.conf L0033: SOUND_POWER_SAVE_CONTROLLER="Y"
/etc/tlp.conf L0291: BAY_POWEROFF_ON_AC="0"
/etc/tlp.conf L0292: BAY_POWEROFF_ON_BAT="1"
/etc/tlp.conf L0297: BAY_DEVICE="sr0"
/etc/tlp.conf L0302: RUNTIME_PM_ON_AC="on"
/etc/tlp.conf L0303: RUNTIME_PM_ON_BAT="auto"
defaults.conf L0039: RUNTIME_PM_DRIVER_BLACKLIST="amdgpu mei_me nouveau nvidia pcieport radeon"
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 L0027: TLP_DEBUG="arg bat disk lock nm path pm ps rf run sysfs udev usb"
/etc/tlp.conf L0121: CPU_BOOST_ON_AC="1"
/etc/tlp.conf L0122: CPU_BOOST_ON_BAT="0"
/etc/tlp.conf L0380: DEVICES_TO_DISABLE_ON_STARTUP="wwan"
/etc/tlp.conf L0403: DEVICES_TO_ENABLE_ON_AC="wifi"
/etc/tlp.conf L0408: DEVICES_TO_DISABLE_ON_BAT="wwan"
/etc/tlp.conf L0455: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi"
/etc/tlp.conf L0461: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi"
+++ System Info
System = Apple Inc. 1.0 MacBookPro6,2
BIOS = MBP61.88Z.0057.B0F.1112091028
Release = Ubuntu 20.04.3 LTS
Kernel = 5.4.0-81-generic #91-Ubuntu SMP Thu Jul 15 19:09:17 UTC 2021 x86_64
/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-5.4.0-81-generic root=UUID=ca546a65-0631-4bf6-a824-65160b27c906 ro i915.modeset=1 i915.lvds_channel_mode=2 i915.force_probe=1 i915.enable_dpcd_backlight=0 i915.panel_use_ssc=0
Init system = systemd v245 (245.4-4ubuntu3.11)
Boot mode = UEFI
+++ TLP Status
State = enabled
RDW state = enabled
Last run = 01:23:27 PM, 6 sec(s) ago
Mode = AC
Power source = battery
+++ Processor
CPU model = Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 1197000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 2395000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies = 2395000 2394000 2261000 2128000 1995000 1862000 1729000 1596000 1463000 1330000 1197000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 1197000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 2395000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies = 2395000 2394000 2261000 2128000 1995000 1862000 1729000 1596000 1463000 1330000 1197000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 1197000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 2395000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies = 2395000 2394000 2261000 2128000 1995000 1862000 1729000 1596000 1463000 1330000 1197000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 1197000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 2395000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies = 2395000 2394000 2261000 2128000 1995000 1862000 1729000 1596000 1463000 1330000 1197000 [kHz]
/sys/devices/system/cpu/cpufreq/boost = 1
Intel EPB: unsupported CPU.
/sys/module/workqueue/parameters/power_efficient = Y
/proc/sys/kernel/nmi_watchdog = 0
+++ Temperatures
CPU temp = 53 [°C]
Fan speed (fan1) = 2881 [/min]
Fan speed (fan2) = 2889 [/min]
+++ 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 = nvme0n1 sda
/dev/nvme0n1: not present.
/dev/sda:
Type = ATA
Model = SanDisk Ultra II 480GB
Firmware = X41100RL
APM Level = 254
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 = 22296 [h]
12 Power_Cycle_Count = 482
194 Temperature_Celsius = 29 (Min/Max 17/67) [°C]
+++ 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
/sys/class/scsi_host/host2/link_power_management_policy = med_power_with_dipm
/sys/class/scsi_host/host3/link_power_management_policy = med_power_with_dipm
+++ 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
+++ Intel Graphics
/sys/module/i915/parameters/enable_dc = -1 (use per-chip default)
/sys/module/i915/parameters/enable_fbc = 0 (disabled)
/sys/module/i915/parameters/enable_psr = 0 (disabled)
/sys/module/i915/parameters/modeset = 1 (enabled)
+++ Wireless
bluetooth = on
wifi = on
wwan = none (no device)
hci0(btusb) : bluetooth, not connected
wlp3s0(wl) : wifi, connected, power management = off
+++ 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 = amdgpu mei_me nouveau nvidia pcieport radeon
/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:1a.0/power/control = on (0x0c0300, USB controller, no driver)
/sys/bus/pci/devices/0000:00:1a.7/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 = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.2/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:1d.0/power/control = on (0x0c0300, USB controller, no driver)
/sys/bus/pci/devices/0000:00:1d.7/power/control = on (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1e.0/power/control = on (0x060401, PCI bridge, no driver)
/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, i801_smbus)
/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, nouveau)
/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, tg3)
/sys/bus/pci/devices/0000:03:00.0/power/control = on (0x028000, Network controller, wl)
/sys/bus/pci/devices/0000:04:00.0/power/control = on (0x0c0010, FireWire (IEEE 1394), firewire_ohci)
/sys/bus/pci/devices/0000:ff:00.0/power/control = on (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:00.1/power/control = on (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:02.0/power/control = on (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:02.1/power/control = on (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:02.2/power/control = on (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:02.3/power/control = on (0x060000, Host bridge, no driver)
+++ USB
Autosuspend = enabled
Device whitelist = (not configured)
Device blacklist = (not configured)
Bluetooth blacklist = disabled
Phone blacklist = disabled
WWAN blacklist = disabled
Bus 002 Device 004 ID 05ac:8242 control = on, autosuspend_delay_ms = 2000 -- Apple, Inc. Built-in IR Receiver (usbhid)
Bus 002 Device 003 ID 05ac:8507 control = auto, autosuspend_delay_ms = 2000 -- Apple, Inc. Built-in iSight (uvcvideo)
Bus 002 Device 002 ID 0424:2514 control = auto, autosuspend_delay_ms = 0 -- Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub (hub)
Bus 002 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
Bus 001 Device 004 ID 05ac:0236 control = on, autosuspend_delay_ms = 2000 -- Apple, Inc. Internal Keyboard/Trackpad (ANSI) (usbhid, bcm5974)
Bus 001 Device 008 ID 05ac:8218 control = auto, autosuspend_delay_ms = 2000 -- Apple, Inc. Bluetooth Host Controller (btusb)
Bus 001 Device 003 ID 0a5c:4500 control = auto, autosuspend_delay_ms = 0 -- Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth) (hub)
Bus 001 Device 002 ID 0424:2514 control = auto, autosuspend_delay_ms = 0 -- Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub (hub)
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 = EGOWAY
/sys/class/power_supply/BAT0/model_name = A1321
/sys/class/power_supply/BAT0/cycle_count = 67
/sys/class/power_supply/BAT0/charge_full_design = 7200 [mAh]
/sys/class/power_supply/BAT0/charge_full = 6673 [mAh]
/sys/class/power_supply/BAT0/charge_now = 5994 [mAh]
/sys/class/power_supply/BAT0/current_now = 1741 [mA]
/sys/class/power_supply/BAT0/status = Discharging
Charge = 89.8 [%]
Capacity = 92.7 [%]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment