linux 电池管理软件,在Linux中下载并安装TLP电源管理工具
下面我们为你介绍在各大Linux发行版(Ubuntu、Debian、Arch Linux、Fedora、openSUSE)中安装TLP的方法。TLP是运行在Linux终端下的一款电源管理工具,当前的版本是TLP 1.1,已提供下载,不过它有PPA源可以安装在Ubuntu、Linux Mint下,也有tar.gz软件包供安装编译。
使用TLP的好处
TLP可以自动在后台处理相应的任务,它默认带有配置(/etc/default/tlp),使用TLP不需要另外的配置,不过它是可定制以满足你各种要求的工具,多数人使用TLP来调整处理笔记本的电池,以增加电池的寿命。
TLP 1.1更新详情
1.Disks:
SATA_LINKPWR_ON_AC/BAT: try multiple values to support new recommended ALPM policy "med_power_with_dipm" in kernel 4.15
2.Processor:
ENERGY_PERF_POLICY_ON_AC/BAT: support changed values performance, balance-performance, default, balance-power, power
3.ThinkPad Battery:
Support ThinkPad 13 1st & 2nd Gen, E130; new tpacpi-bat version
tlp-stat --psup: show ASLbase for tpacpi-bat (in device/path)
tlp discharge: show state of battery and force_discharge
4.USB:
USB_BLACKLIST_PRINTER: exclude printers from autosuspend
5.Bugfixes
intercept link_power_management_policy write error
fix AC power detection for MacBook Pro 2017
move runtime data from /var/run/tlp to /run/tlp
DEVICES_TO_DISABLE_ON_BAT_NOT_IN_USE="bluetooth" not working as expected
don't detect wireless input devices' batteries as power supply
下载TLP
在Ubuntu系统中安装TLP
1.先添加PPA:
sudo add-apt-repository ppa:linrunner/tlp
2.更新软件列表:
sudo apt-get update
3.安装TLP命令:
sudo apt-get install tlp tlp-rdw
sudo apt-get install tp-smapi-dkms acpi-call-dkms(ThinkPad的附加要求)
在Debian系统中安装TLP
1./etc/apt/sources.list
Debian 9.0 /etc/apt/sources.list:
deb http://ftp.debian.org/debian stretch-backports main
Debian 8.0 /etc/apt/sources.list:
deb http://ftp.debian.org/debian jessie-backports-sloppy main
2.apt-get update
3.apt-get install tlp tlp-rdw
4.使用:
apt-get install -t stretch-backports tlp tlp-rdw
或:
apt-get install -t jessie-backports-sloppy tlp tlp-rdw
5.运行:
apt-get install acpi-support-base pm-utils(Without systemd:if your system runs with sysvinit,make shure the following packages are installed)
apt-get install tp-smapi-dkms acpi-call-dkms(ThinkPad的附加要求)
在Arch Linux系统中安装TLP
1.pacman -S tlp tlp-rdw
2.pacman -S tp_smapi acpi_call(ThinkPad的附加要求)
3.Service Units
To complete the installation you must enable TLP's services:
systemctl enable tlp.service
systemctl enable tlp-sleep.service
Using the Radio Device Wizard (tlp-rdw) requires an additional service:
systemctl enable NetworkManager-dispatcher.service
You should also mask the following services to avoid conflicts and assure proper operation of TLP's radio device switching options:
systemctl mask systemd-rfkill.service
systemctl mask systemd-rfkill.socket
在Fedora系统中安装TLP
dnf install tlp tlp-rdw
在openSUSE系统中安装TLP
zypper install tlp tlp-rdw
附:启动TLP的方法
sudo tlp start
附:tlp-stat
1.Status report with configuration and all active settings:
sudo tlp-stat
2.Show battery information:
sudo tlp-stat -b
sudo tlp-stat --battery
3.Show configuration:
tlp-stat -c
tlp-stat --config
4.Show disk data:
tlp-stat -d
tlp-stat --disk
5.Show PCI(e) device data:
tlp-stat -e
tlp-stat --pcie
6.Show graphics card data:
tlp-stat -g
tlp-stat --graphics
7.Show processor data:
tlp-stat -p
tlp-stat --processor
8.Show radio device state:
tlp-stat -r
tlp-stat --rfkill
9.Show system data:
tlp-stat -s
tlp-stat --system
10.Show temperatures and fan speed:
tlp-stat -t
tlp-stat --temp
11.Show USB device data:
tlp-stat -u
tlp-stat --usb
12.Show more data:
tlp-stat -v
tlp-stat --verbose
13.Show warnings:
tlp-stat -w
tlp-stat --warn
14.Monitor power supply udev events:
tlp-stat -P
tlp-stat --pev
15.Show power supply diagnostic:
tlp-stat --psup
16.Show trace output:
tlp-stat -T
tlp-stat --trace
相关主题
linux 电池管理软件,在Linux中下载并安装TLP电源管理工具相关推荐
- linux 下视频编辑软件下载,在Linux系统中下载和安装Shotcut视频编辑工具
Shotcut是一款免费的.跨平台的非线性视频编辑工具,它使用MLT框架并利用FFMepg的功能构建,可应用在Linux操作系统下.当前Shotcut 20.02.17版本已发布下载,它增加了一些显着 ...
- linux重启kvm服务命令,linux中kvm的安装及快照管理
一.kvm的安装及状态查看 1.安装软件 yum -y install kvm virt-manager libvirt 2.启动libvirtd 报错,升级device-mapper-libs yu ...
- linux如何下载github脚本,在Linux系统中下载及安装GitHub Atom code editor的方法
GitHub Atom代码编辑器可用于Linux.Mac和Windows平台,本文介绍在Ubuntu/Debian/Arch Linux/Fedora/OpenSUSE系统中下载及安装GitHub A ...
- SUSE Linux Enterprise Server for SAP Applications15 SP3 下载及安装教程
SUSE Linux Enterprise Server for SAP Applications15 SP3 下载及安装教程 1. 安装规划 2. 准备条件 3. 参考资料 4. 软件下载 5. 安 ...
- Nginx在Linux(centos7)环境下的下载与安装
Nginx在Linux(centos7)环境下的下载与安装 一.下载Nginx 1.免费的开源版本官方网址 2.选择需要下载的版本 二.安装Nginx 1.安装前准备(需要安装相关依赖库) 2.安装N ...
- transmission Linux(debian)下的BT下载客户端安装
transmission Linux(debian)下的BT下载客户端安装 转载于:https://blog.51cto.com/2042617/1597540
- windows安装vim_如何在Windows中下载,安装和使用Vim
windows安装vim Vim is Linux based opensource tool. The roots goes to the vi editor. In Linux distribut ...
- Mac 软件 CleanMyMac X 免费下载及安装使用教程
Mac 软件 CleanMyMac X 免费下载及安装使用教程 简介 cleanMyMac 是 Mac 上的一款系统清理软件,一直以来凭借着漂亮的外表与强大的内在独霸 Mac 清理领域,功能强大,界面 ...
- 客户关系管理软件是什么?企业为什么需要客户关系管理软件?
随着智能时代向我们走来,智能手表.智能眼镜.智能家居等各种智能产品,大家已经耳熟能详.但在企业管理软件领域,提到智能客户关系管理软件,很多人可能感到很新鲜,或者听过这个名词,但不太了解.那么,智能客户 ...
最新文章
- 安装Intel图像处理IPP库
- 127.0.0.1和0.0.0.0和localhost的区别
- android开发中用到的px、dp、sp
- Android事件机制
- ffmpeg speex转换为mp3或者aac
- eclipse 运行MapReduce程序错误异常汇总(解决Map not fount)
- Python小白的数学建模课-04.整数规划
- 工科神器matlab高校遭禁用,网友:关我p事,python可取而代之
- 3-16Pytorch与随机抽样
- Js toString()方法笔记
- python电脑版-mPython
- 转载:《TypeScript 中文入门教程》 17、注解
- 股票补仓计算机在线计算,补仓股价计算器,股票补仓:计算器
- BES系列蓝牙开发总结
- TEM波以及TEM TE TM模的区别
- 世界排名前五位的女程序员
- python 列表拆分_python列表拆分
- 后缀是lnk是什么文件_后缀lnk是什么文件格式(lnk文件怎么恢复word)
- c语言10以内得加法,10以内加法练习题(最新整理)
- Qt-5-and-OpenCV-4-Computer-Vision-Projects 学习笔记 - 检测人脸