0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

TLPでLinuxのバッテリーの充電上限を設定

Last updated at Posted at 2025-05-19

インストール

sudo dnf install tlp

Fedoraでは競合するデーモンを削除する必要がある(詳細については公式ドキュメントを参照)。

Fedora 40以前

sudo dnf remove power-profiles-daemon

Fedora 41以降

sudo dnf remove tuned tuned-ppd

設定ファイルの変更

sudo vi /etc/tlp.conf

tlp.confの中身(抜粋)。

# Battery charge level below which charging will begin.
# START_CHARGE_THRESH_BAT0=75
# Battery charge level above which charging will stop.
# STOP_CHARGE_THRESH_BAT0=80

STOP_CHARGE_THRESH_BAT0を有効化し必要なら設定を変更し保存。

起動

sudo systemctl enable tlp.service

参考

TLPのドキュメント
https://linrunner.de/tlp/installation/index.html

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?