My laptop is Lenovo T400, and OS is Ubuntu 12.04.
I have not been able to adjust the thresholds for battery starting charging and stopping charging. I observed that its current starting charging threshold is about 40%, and stopping charging threshold is about 60%. I forgot if it was me and which program I used to control the battery to stop charging at 60% and start charging at 40%.
I followed my previous post https://askubuntu.com/questions/58789/how-to-check-charged-percentage-of-battery-and-to-adjust-its-thresholds, but I don't find /sys/devices/platform/smapi. Also I have /proc/acpi/battery/BAT0/, but I have only three files alarm, info and state.
I want to adjust the thresholds. So I wonder how to do that?

modprobe tp_smapias root, and then see if the files under/sys/devices/platform/smapiare there.FATAL: Module tp_smapi not found..dell_laptopanddell_wmimodule, for example; I never explored it to see what it does)