http://sourceforge.net/projects/tpctl/files/tp_smapi/
tar zxvf tp_smapi-0.40.tgz
cd tp_smapi-0.40/
sudo apt-get install build-essential linux-headers-`uname -r`
sudo -s
make
make load
make install
電力剩下20%時開始充電
echo 20 > /sys/devices/platform/smapi/BAT0/start_charge_thresh電力到達100%時停止充電
不強制充電echo 100 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh
echo 1 > /sys/devices/platform/smapi/BAT0/force_discharge
參考資料
http://www.thinkwiki.org/wiki/Tp_smapi#Battery_charge_control_features
沒有留言 :
張貼留言