tp_smapi and battery charging thresholds question
Posted: Thu Apr 26, 2012 5:14 pm
Hi everyone,
I am currently running crunchbang 10 statler, and I am trying to get the battery charging thresholds to work. I have the package tp-smapi-dkms installed and sysfs utils installed. my question is: do I need to modprobe tp_smapi everytime I boot my machine?
In my sysfs.conf, I have copied what is on the thinkwiki page, but those directories don't show up unless I modprobe tp_smapi. unfortunately it doesn't remember after reboot.
here's what is in sysfs.conf
# cat >> /etc/sysfs.conf << EOF (what does this mean? should i uncomment this?)
# For a LiIon battery in a Thinkpad
devices/platform/smapi/BAT0/start_charge_thresh = 50
devices/platform/smapi/BAT0/stop_charge_thresh = 80
EOF
Crunchbang has an autostart script (similar to rc local and sysfsutils) but having to input my sudo password everytime to modprobe tp_smapi is tedious. please let me know what you think!
I am currently running crunchbang 10 statler, and I am trying to get the battery charging thresholds to work. I have the package tp-smapi-dkms installed and sysfs utils installed. my question is: do I need to modprobe tp_smapi everytime I boot my machine?
In my sysfs.conf, I have copied what is on the thinkwiki page, but those directories don't show up unless I modprobe tp_smapi. unfortunately it doesn't remember after reboot.
here's what is in sysfs.conf
# cat >> /etc/sysfs.conf << EOF (what does this mean? should i uncomment this?)
# For a LiIon battery in a Thinkpad
devices/platform/smapi/BAT0/start_charge_thresh = 50
devices/platform/smapi/BAT0/stop_charge_thresh = 80
EOF
Crunchbang has an autostart script (similar to rc local and sysfsutils) but having to input my sudo password everytime to modprobe tp_smapi is tedious. please let me know what you think!