Hi,
I just install tp_smapi module on my laptop. and set the start_charge_thresh by using:
echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
It is works fine at beginning. but every time when I shutdown and power on the laptop, the value of start_charge_thresh is set back the default value '96'.
it seems like system reload the smapi module when boot up and reset all the values. Can it be keep to the value I want to set?
My OS is Ubuntu 7.04 and kernel is 2.6.20-16-generic. and Laptop module is IBM thinkpad X40 2371.
thanks in advance.
And the tp_smapi version is 0.39 which I am using.
As far as I know, the things you set with tp_smapi will go away after reboot.
So if you want your settings to be "permanent" add the command
"echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh"
somwhere in your initscripts.