6

使用tlp优化电池消耗

 3 years ago
source link: https://www.lujun9972.win/blog/2018/04/24/%E4%BD%BF%E7%94%A8tlp%E4%BC%98%E5%8C%96%E7%94%B5%E6%B1%A0%E6%B6%88%E8%80%97/index.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

安装TLP

在archlinux上通过下面命令来安装:

sudo pacman -S tlp tlp-rdw --noconfirm
resolving dependencies...
looking for conflicting packages...

Packages (2) tlp-1.1-1  tlp-rdw-1.1-1

Total Installed Size:  0.32 MiB

:: Proceed with installation? [Y/n] 
(0/2) checking keys in keyring                     [----------------------]   0%
(1/2) checking keys in keyring                     [###########-----------]  50%
(2/2) checking keys in keyring                     [######################] 100%
(0/2) checking package integrity                   [----------------------]   0%
(1/2) checking package integrity                   [###################---]  90%
(2/2) checking package integrity                   [######################] 100%
(0/2) loading package files                        [----------------------]   0%
(1/2) loading package files                        [###################---]  90%
(2/2) loading package files                        [######################] 100%
(0/2) checking for file conflicts                  [----------------------]   0%
(1/2) checking for file conflicts                  [###########-----------]  50%
(2/2) checking for file conflicts                  [######################] 100%
(0/2) checking available disk space                [----------------------]   0%
(1/2) checking available disk space                [###########-----------]  50%
(2/2) checking available disk space                [######################] 100%
:: Processing package changes...
(1/2) installing tlp                               [----------------------]   0%
(1/2) installing tlp                               [######################] 100%
Optional dependencies for tlp
    acpi_call: ThinkPad battery functions, Sandy Bridge and newer
    bash-completion: Bash completion [installed]
    ethtool: Disable Wake On Lan
    lsb-release: Display LSB release version in tlp-stat
    smartmontools: Display S.M.A.R.T. data in tlp-stat
    tp_smapi: ThinkPad battery functions
    x86_energy_perf_policy: Set energy versus performance policy on x86
    processors
(2/2) installing tlp-rdw                           [----------------------]   0%
(2/2) installing tlp-rdw                           [######################] 100%
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) Reloading device manager configuration...
(3/3) Arming ConditionNeedsUpdate...

如果你用的是 Thikpad 的笔记本则还可以安装

sudo pacman -S tp_smapi acpi_call --noconfirm
resolving dependencies...
looking for conflicting packages...

Packages (2) acpi_call-1.1.0-123  tp_smapi-0.43-17

Total Download Size:   0.03 MiB
Total Installed Size:  0.04 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 tp_smapi-0.43-17-x86_64    0.0   B  0.00B/s 00:00 [----------------------]   0%
 tp_smapi-0.43-17-x86_64    0.0   B  0.00B/s 00:00 [----------------------]   0%
 tp_smapi-0.43-17-x86_64    0.0   B  0.00B/s 00:00 [----------------------]   0%
 tp_smapi-0.43-17-x86_64    0.0   B  0.00B/s 00:00 [----------------------]   0%
 tp_smapi-0.43-17-x86_64    0.0   B  0.00B/s 00:00 [----------------------]   0%
 tp_smapi-0.43-17-x86_64    0.0   B  0.00B/s 00:00 [----------------------]   0%
 tp_smapi-0.43-17-x86_64    0.0   B  0.00B/s 00:00 [----------------------]   0%
 tp_smapi-0.43-17-x86_64    0.0   B  0.00B/s 00:00 [----------------------]   0%
 tp_smapi-0.43-17-x86_64    0.0   B  0.00B/s 00:00 [----------------------]   0%
 tp_smapi-0.43-17-x86_64   23.7 KiB   592K/s 00:00 [######################] 100%
 acpi_call-1.1.0-123...     0.0   B  0.00B/s 00:00 [----------------------]   0%
 acpi_call-1.1.0-123...     0.0   B  0.00B/s 00:00 [----------------------]   0%
 acpi_call-1.1.0-123...     0.0   B  0.00B/s 00:00 [----------------------]   0%
 acpi_call-1.1.0-123...     0.0   B  0.00B/s 00:00 [----------------------]   0%
 acpi_call-1.1.0-123...     0.0   B  0.00B/s 00:00 [----------------------]   0%
 acpi_call-1.1.0-123...    11.7 KiB  2.85M/s 00:00 [######################] 100%
(0/2) checking keys in keyring                     [----------------------]   0%
(1/2) checking keys in keyring                     [###########-----------]  50%
(2/2) checking keys in keyring                     [######################] 100%
(0/2) checking package integrity                   [----------------------]   0%
(1/2) checking package integrity                   [##############--------]  67%
(2/2) checking package integrity                   [######################] 100%
(0/2) loading package files                        [----------------------]   0%
(1/2) loading package files                        [##############--------]  67%
(2/2) loading package files                        [######################] 100%
(0/2) checking for file conflicts                  [----------------------]   0%
(1/2) checking for file conflicts                  [###########-----------]  50%
(2/2) checking for file conflicts                  [######################] 100%
(0/2) checking available disk space                [----------------------]   0%
(1/2) checking available disk space                [###########-----------]  50%
(2/2) checking available disk space                [######################] 100%
:: Processing package changes...
(1/2) installing tp_smapi                          [----------------------]   0%
(1/2) installing tp_smapi                          [######################] 100%
(2/2) installing acpi_call                         [----------------------]   0%
(2/2) installing acpi_call                         [######################] 100%
:: Running post-transaction hooks...
(1/2) Updating linux module dependencies...
(2/2) Arming ConditionNeedsUpdate...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK