Hi Neil, what model is it? I am experiencing the same thing from my T42, which I unfortunately expected. According to the
wiki, some models don't have a working
stop_charge_thresh under Linux. I have tried echoing a value anyway, which of course fails. I'm using Debian/LXDE BTW.
There does appear to be a workaround though, for models other than the T42p, which is discussed
here. I haven't tried that yet on my T42, but I do have it in a temporary (time limited) holding pattern right now by watching the battery charge manually and echoing a value into the
inhibit_charge_minutes file (which could likely be exploited by a small script, in conjunction with
remaining_percent if one was clever enough to write such a thing).