Skip to content

Instantly share code, notes, and snippets.

@BarbUk
Created September 10, 2024 15:51
Show Gist options
  • Save BarbUk/3783d38f7c50e388684cae12d5f34b80 to your computer and use it in GitHub Desktop.
Save BarbUk/3783d38f7c50e388684cae12d5f34b80 to your computer and use it in GitHub Desktop.
--- TLP 1.7.0-beta.1 --------------------------------------------
+++ Battery Care
Plugin: thinkpad
Supported features: charge thresholds, recalibration
Driver usage:
* natacpi (thinkpad_acpi) = active (charge thresholds, recalibration)
* tp-smapi (tp_smapi) = readonly (status)
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/devices/platform/smapi/BAT0/manufacturer = LGC
/sys/devices/platform/smapi/BAT0/model = 45N1029
/sys/devices/platform/smapi/BAT0/manufacture_date = 2017-07-21
/sys/devices/platform/smapi/BAT0/first_use_date = 2022-12-14
/sys/devices/platform/smapi/BAT0/cycle_count = 24
/sys/devices/platform/smapi/BAT0/temperature = 34 [°C]
/sys/devices/platform/smapi/BAT0/design_capacity = 93240 [mWh]
/sys/devices/platform/smapi/BAT0/last_full_capacity = 93230 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_capacity = 77900 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_percent = 84 [%]
/sys/devices/platform/smapi/BAT0/remaining_running_time_now = not_discharging [min]
/sys/devices/platform/smapi/BAT0/remaining_charging_time = not_charging [min]
/sys/devices/platform/smapi/BAT0/power_now = 0 [mW]
/sys/devices/platform/smapi/BAT0/power_avg = 0 [mW]
/sys/devices/platform/smapi/BAT0/state = idle
/sys/class/power_supply/BAT0/charge_control_start_threshold = 75 [%]
/sys/class/power_supply/BAT0/charge_control_end_threshold = 90 [%]
/sys/class/power_supply/BAT0/charge_behaviour = [auto] inhibit-charge force-discharge
Charge = 83.6 [%]
Capacity = 100.0 [%]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment