NotePC を AC電源で利用する場合フル充電しっぱなしだとバッテリの寿命が短くなります.フル充電せずに手前で充電を止めるようにする方法のメモです.
#いつも持ち運ぶために100%にしたあと設定を覚えてなくてそのままにしてしまうのでメモ><
環境
- Debian stretch amd64
- Thinkpad X201s
導入
$ sudo apt install tlp
確認
% sudo tlp-stat -b
--- TLP 0.7 --------------------------------------------
+++ ThinkPad Extended Battery Functions
tp-smapi = active
tpacpi-bat = inactive (kernel module 'acpi_call' not installed)
+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/devices/platform/smapi/BAT0/manufacturer = SANYO
/sys/devices/platform/smapi/BAT0/model = 42T4XXX
/sys/devices/platform/smapi/BAT0/manufacture_date = 2010-08-14
/sys/devices/platform/smapi/BAT0/first_use_date = 2010-09-22
/sys/devices/platform/smapi/BAT0/cycle_count = 277
/sys/devices/platform/smapi/BAT0/design_capacity = 57720 [mWh]
/sys/devices/platform/smapi/BAT0/last_full_capacity = 27340 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_capacity = 22140 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_percent = 81 [%]
/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/start_charge_thresh = 96 [%]
/sys/devices/platform/smapi/BAT0/stop_charge_thresh = 100 [%]
/sys/devices/platform/smapi/BAT0/force_discharge = 0
設定( 充電開始 % を75% /充電終了 % を 85% にする場合 )
% sudo tlp setcharge 75 85 BAT0
Setting temporary charge thresholds for BAT0:
stop = 85
start = 75
もしバッテリが複数ある場合は BAT0, BAT1 のようになるはず.
フル充電に戻す
外で使う前にフル充電したい場合など.
% sudo tlp fullcharge
Setting temporary charge thresholds for BAT0:
stop = 100
start = 96
参考URL
- Easily Increase Your Battery Life With TLP for Linux
- ThinkPad のバッテリーを長持ちさせる方法について – Lenovo Support (JP)