Skip to content

Instantly share code, notes, and snippets.

@karstenes
Created October 26, 2022 18:48
Show Gist options
  • Save karstenes/0b7eba367c1243a804762bcfc04ef920 to your computer and use it in GitHub Desktop.
Save karstenes/0b7eba367c1243a804762bcfc04ef920 to your computer and use it in GitHub Desktop.
tlp-stat -s -b ac
--- TLP 1.5.0 --------------------------------------------
+++ System Info
System = LENOVO ThinkPad T440p ThinkPad T440p
BIOS = 4.16-1239-gd5c31acee4-dirty
OS Release = Artix Linux
Kernel = 6.0.2-artix1-1.1 #1 SMP PREEMPT_DYNAMIC Sun, 16 Oct 2022 21:55:53 +0000 x86_64
/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=ff437830-1e43-4145-8fea-7ad6da6febe2 rw loglevel=3 quiet iomem=relaxed
Init system = openrc
Boot mode = BIOS (CSM, Legacy)
+++ TLP Status
State = enabled
RDW state = not installed
Last run = 01:45:34 PM, 5 sec(s) ago
Mode = AC
Power source = AC
+++ Battery Care
Plugin: thinkpad
Supported features: charge thresholds, recalibration
Driver usage:
* natacpi (thinkpad_acpi) = active (charge thresholds, recalibration)
* tpacpi-bat (acpi_call) = inactive (superseded by natacpi)
Parameter value ranges:
* START_CHARGE_THRESH_BAT0/1: 0(off)..96(default)..99
* STOP_CHARGE_THRESH_BAT0/1: 1..100(default)
+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer = SANYO
/sys/class/power_supply/BAT0/model_name = 45N1769
/sys/class/power_supply/BAT0/cycle_count = 0 (or not supported)
/sys/class/power_supply/BAT0/status = Charging
/sys/class/power_supply/BAT0/charge_control_start_threshold = 0 [%]
/sys/class/power_supply/BAT0/charge_control_end_threshold = 100 [%]
/sys/class/power_supply/BAT0/charge_behaviour = [auto]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment