歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu 下 IBM Thinkpad 安裝電源軟件和硬盤保護

Ubuntu 下 IBM Thinkpad 安裝電源軟件和硬盤保護

日期:2017/2/28 16:37:21   编辑:Linux教程

Thinkpad的電源保護和硬盤保護功能相當不錯,能保證電腦商務應用的穩定性,Ubuntu下同樣可以安裝這個功能,只不過比Windows下的傻瓜安裝方式要繁瑣一些,但依然相當傻瓜

按順序執行以下命令

$ sudo aptitude install tp-smapi-source
$ sudo module-assistant get tp-smapi-source

$ sudo module-assistant build tp-smapi-source
$ sudo module-assistant install tp-smapi-source

編輯文件:
sudo gedit /etc/modules
添加以下內容:
thinkpad_ec
tp_smapi
hdaps

編輯文件:
sudo gedit /etc/rc.local
加入:
# Make battery live longer
# echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
# echo 70 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh

搞定!

Copyright © Linux教程網 All Rights Reserved