Skip to content

Instantly share code, notes, and snippets.

--- TLP 1.7.0-beta.2.pre --------------------------------------------
+++ Configured Settings:
defaults.conf L0006: TLP_ENABLE="1"
defaults.conf L0007: TLP_WARN_LEVEL="3"
defaults.conf L0008: TLP_MSG_COLORS="91 93 1 92"
defaults.conf L0009: TLP_PERSISTENT_DEFAULT="0"
defaults.conf L0010: DISK_IDLE_SECS_ON_AC="0"
defaults.conf L0011: DISK_IDLE_SECS_ON_BAT="2"
defaults.conf L0012: MAX_LOST_WORK_SECS_ON_AC="15"
--- TLP 1.7.0-beta.2.pre --------------------------------------------
+++ Configured Settings:
defaults.conf L0006: TLP_ENABLE="1"
defaults.conf L0007: TLP_WARN_LEVEL="3"
defaults.conf L0008: TLP_MSG_COLORS="91 93 1 92"
defaults.conf L0009: TLP_PERSISTENT_DEFAULT="0"
defaults.conf L0010: DISK_IDLE_SECS_ON_AC="0"
defaults.conf L0011: DISK_IDLE_SECS_ON_BAT="2"
defaults.conf L0012: MAX_LOST_WORK_SECS_ON_AC="15"
@linrunner
linrunner / PKGBUILD
Last active December 19, 2022 07:27
Build arch kernel packages from local git kernel tree
# This will build Arch Linux binary and linux-headers packages from a git
# kernel tree in the current directory
# Derived from:
# https://github.com/archlinux/svntogit-packages/blob/packages/linux/trunk/PKGBUILD
_srcname="$PWD"
pkgbase=linux-tpc
pkgver=6.1.0
pkgrel=1
@linrunner
linrunner / amd_pstate-v1
Created December 18, 2022 11:51
tlp-stat -p with amd_pstate
==================
amd_pstate=passive
+++ System Info
System = LENOVO ThinkPad P14s Gen 2a 21A0007PGE
BIOS = R1MET51W (1.21 )
EC Firmware = 1.21
OS Release = Arch Linux
Kernel = 6.0.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 08 Dec 2022 11:03:38 +0000 x86_64
/proc/cmdline = BOOT_IMAGE=/vmlinuz-linux root=UUID=83c1e7b3-749f-4003-b11d-93878f835d3b rw rootflags=subvol=@ cryptdevice=UUID=3458aa3e-b269-45db-b4e6-f49d38878bb4:juli_crypt:allow-discards loglevel=3 quiet amd_pstate=passive btusb.enable_autosuspend=0

TLP 1.4 Test: Battery Care for LG Gram Laptops

Read the overview document first.

Supported Features

LG Gram laptops using the lg_laptop driver have a feature called 'battery care limit', basically a fixed stop charge threshold at 80%. The hardware behaviour is:

  1. Connected to the charger, charging stops when the charge level reaches the stop threshold

TLP 1.4 Test: Battery Care for Samsung laptops

Read the overview document first.

Supported Features

Samsung laptops using the samsung_laptop driver have a feature called 'battery life extender', basically a fixed stop charge threshold at 80%. The hardware behaviour is:

  1. Connected to the charger, charging stops when the charge level reaches the stop threshold

TLP 1.4 Test: Battery Care for Lenovo Laptops (non-ThinkPad series)

Read the overview document first.

Supported Features

Lenovo laptop series using the ideapad_laptop driver have a feature called 'battery conservation mode', basically a fixed stop charge threshold at 60%. The hardware behaviour is:

  1. Connected to the charger, charging stops when the charge level reaches the stop threshold

TLP 1.4 Test: Battery Care for Huawei MateBooks

Read the overview document first.

Supported Features

Huawei laptops using the huawei_wmi driver provide both a start and a stop charge threshold ranging from 0% (threshold off) to 100%. The hardware behaviour is:

  1. When connecting the charger, charging starts if the charge level is below the start threshold

TLP 1.4 Test: Battery Care for ASUS Laptops

Read the overview document first.

Supported Features

ASUS laptops using the asus_wmi driver have a stop charge threshold ranging from 0% (threshold off) to 100%. The hardware behaviour is:

  1. Connected to the charger, charging stops when the charge level reaches the stop threshold

TLP 1.4 Test: Battery Care for Non-ThinkPads

Introduction

TLP has supported charge control thresholds for ThinkPads since the beginning. With release 1.4, support will be extended to laptops from selected other vendors for which a corresponding driver already exists in the Linux kernel.

Since I don't own any of the newly supported laptops, I'm reaching out to the community of TLP users with a request to test the new functionality on their hardware.