Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1818017
  • 博文数量: 276
  • 博客积分: 1574
  • 博客等级: 上尉
  • 技术积分: 2894
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-26 23:23
个人简介

生活的美妙在于,不知道一下秒是惊艳还是伤神,时光流转,珍惜现在的拥有的时光

文章分类

全部博文(276)

文章存档

2017年(17)

2016年(131)

2015年(63)

2013年(2)

2012年(32)

2011年(31)

分类: LINUX

2016-09-30 16:53:22

对于经常接AC的用户来说,电池保持在40%-80%之间可以让电池生命周期更长久
由于我的t460s有两块电池,分别设置
linux-pw37:~ # cat /etc/default/tlp
# Battery charge thresholds (ThinkPad only, tp-smapi or acpi-call kernel module
# required). Charging starts when the remaining capacity falls below the
# START_CHARGE_THRESH value and stops when exceeding the STOP_CHARGE_THRESH value.
# Main / Internal battery (values in %)
START_CHARGE_THRESH_BAT0=40
STOP_CHARGE_THRESH_BAT0=80
# Ultrabay / Slice / Replaceable battery (values in %)
START_CHARGE_THRESH_BAT1=40
STOP_CHARGE_THRESH_BAT1=80

重启tlp.service

linux-pw37:~ # systemctl restart tlp.service
linux-pw37:~ # tlp stat -v -b               
--- TLP 0.9 --------------------------------------------

+++ ThinkPad Extended Battery Functions
tp-smapi   = inactive (unsupported hardware)
tpacpi-bat = active

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer                   = SMP
/sys/class/power_supply/BAT0/model_name                     = 00HW023
/sys/class/power_supply/BAT0/cycle_count                    = (not supported)
/sys/class/power_supply/BAT0/energy_full_design             =  23540 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  24100 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  24090 [mWh]
/sys/class/power_supply/BAT0/power_now                      =      0 [mW]
/sys/class/power_supply/BAT0/status                         = Unknown (threshold effective)

tpacpi-bat.BAT0.startThreshold                              =     40 [%]
tpacpi-bat.BAT0.stopThreshold                               =     80 [%]
tpacpi-bat.BAT0.forceDischarge                              =      0

Charge                                                      =  100.0 [%]
Capacity                                                    =  102.4 [%]

+++ ThinkPad Battery Status: BAT1 (Ultrabay / Slice / Replaceable)
/sys/class/power_supply/BAT1/manufacturer                   = SANYO
/sys/class/power_supply/BAT1/model_name                     = 01AV405
/sys/class/power_supply/BAT1/cycle_count                    = (not supported)
/sys/class/power_supply/BAT1/energy_full_design             =  26330 [mWh]
/sys/class/power_supply/BAT1/energy_full                    =  28230 [mWh]
/sys/class/power_supply/BAT1/energy_now                     =  28230 [mWh]
/sys/class/power_supply/BAT1/power_now                      =      0 [mW]
/sys/class/power_supply/BAT1/status                         = Full

tpacpi-bat.BAT1.startThreshold                              =     40 [%]
tpacpi-bat.BAT1.stopThreshold                               =     80 [%]
tpacpi-bat.BAT1.forceDischarge                              =      0

Charge                                                      =  100.0 [%]
Capacity                                                    =  107.2 [%]

下面是tlp官方的介绍

ThinkPads only

START_CHARGE_THRESH_BAT0=75
STOP_CHARGE_THRESH_BAT0=80

START_CHARGE_THRESH_BAT1=75
STOP_CHARGE_THRESH_BAT1=80

Set ThinkPad battery charge thresholds for main battery (BAT0) and auxiliary/Ultrabay battery (BAT1). Values are given as a percentage of the full capacity. A value of 0 is translated to the hardware defaults 96 / 100%.

Charging starts upon connecting AC power, but only if the remaining capacity is below the value of START_CHARGE_TRESH (start threshold). Charging stops when reaching the STOP_CHARGE_TRESH (stop threshold) value. If, however when you connect the AC adapter, charge is above the start threshold, then it will not charge.

Note: the charge threshold settings are disabled by default and must be enabled explicitly by removing the leading '#'.

ThinkPad T420(s)/T520/W520/X220 (and all newer models): check .

For further questions concerning charge thresholds please visit the .


阅读(2991) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~