[ltp] [ltp]Questtion about battery

Venture Lee linux-thinkpad@linux-thinkpad.org
Wed, 28 May 2008 10:13:02 +0800


------=_Part_7359_15443685.1211940782332
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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.

On Wed, May 28, 2008 at 7:45 AM, rocku <digimortal@wp.pl> wrote:

> Dom pisze:
>
>> Venture Lee wrote:
>>
>>> Hello, Everybody:
>>>
>>>        I want to konw something about battery while Gentoo Linux is ran
>>> on my Thinkpad X60
>>>
>>>        First, whether or not the setting information is save by the
>>> battery.
>>>
>>>            E.g, #echo 10 >
>>> /sys/devices/platform/smapi/BAT0/start_charge_thresh
>>>
>>>        In that case,how bettery save the information is ?
>>>
>>>        Be save in the memory which in bettery?
>>>
>>>        Thanks a lot!
>>>
>>>
>>>      liwenqiu
>>>
>> Hi,
>>
>> If I understood you correctly, you want to save that setting permanently.
>>
>> To my knowledge this setting won't be saved - the value will be restarted
>> after you restart your system.
>>
>
> On my R61i this setting is remembered between restarts. My thought is that
> it is saved in battery's EEPROM of flash.
>
> --
> Pozdrawiam,
> rocku
> digimortal(at)wp.pl
>
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>

------=_Part_7359_15443685.1211940782332
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi rocku:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; when you shutdown and disconnected AC, Is setting still can be remembered? <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Could you tell me how to write this setting to EEPROM.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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.<br>
<br><div class="gmail_quote">On Wed, May 28, 2008 at 7:45 AM, rocku &lt;digimortal@wp.pl&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dom pisze:<div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Venture Lee wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello, Everybody:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;I want to konw something about battery while Gentoo Linux is ran on my Thinkpad X60<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;First, whether or not the setting information is save by the battery.<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;E.g, #echo 10 &gt; /sys/devices/platform/smapi/BAT0/start_charge_thresh<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;In that case,how bettery save the information is ?<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Be save in the memory which in bettery?<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Thanks a lot!<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;liwenqiu<br>
</blockquote>
Hi,<br>
<br>
If I understood you correctly, you want to save that setting permanently.<br>
<br>
To my knowledge this setting won&#39;t be saved - the value will be restarted after you restart your system.<br>
</blockquote>
<br></div>
On my R61i this setting is remembered between restarts. My thought is that it is saved in battery&#39;s EEPROM of flash.<br><font color="#888888">
<br>
-- <br>
Pozdrawiam,<br>
rocku<br>
digimortal(at)wp.pl</font><div><div></div><div class="Wj3C7c"><br>
-- <br>
The linux-thinkpad mailing list home page is at:<br>
<a href="http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad" target="_blank">http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad</a><br>
</div></div></blockquote></div><br>

------=_Part_7359_15443685.1211940782332--