[ltp] [ltp]Questtion about battery

rocku linux-thinkpad@linux-thinkpad.org
Wed, 28 May 2008 12:26:50 +0200


Venture Lee pisze:
> Hi rocku:
>         when you shutdown and disconnected AC, Is setting still can be 
> remembered?
>         Could you tell me how to write this setting to EEPROM.
> 
>         On my X60, It will lose when i shutdown the machine and 
> disconnected from AC. But if i keep the conntection of AC, this setting 
> will be remembered.
> 

It seems our batteries differ from each other. I didn't do anything 
except setting the charging threshold once in sysfs. It just got 
remembered :) You have to somehow store the sysfs value, my best bet is 
to use sysfsutils package (under Debian/Ubuntu at least).

-- 
Pozdrawiam,
rocku
digimortal(at)wp.pl