[ltp] Re: ThinkPad Batteries

Daniel Castro linux-thinkpad@linux-thinkpad.org
Wed, 12 Nov 2008 22:13:48 +0000


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

hey!

another thing...
i'm trying:
echo 30 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
echo 80 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh

but I noticed that when it reaches 79% it stays there, it will not get to
80% and it will never start discharging...

so I did:
echo 95 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
echo 100 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh

and left it to charge to 81% and then did the 30-80 one again.... and it is
stuck there in 81%....

i though that it would charge up to 80% and then run on battery until it
gets to 30%, then charge again to 80% and so on... isn't that what's
explected?

maybe because it is on a docking station?

cheers!


2008/11/12 Daniel Castro <castromd@tcd.ie>

>
>
> 2008/11/12 Elias Oltmanns <eo@nebensachen.de>
>
>> Please try to keep in mind that top-posting is not very popular.
>
>
> noted! ;)
>
>
>>
>>
>> "Daniel Castro" <castromd@tcd.ie> wrote:
>> > Thanks very much Stefan!
>> >
>> > But... I get:
>> > daniel@BlackBeauty:~$ sudo module-assistant auto-install tp-smapi
>> > tp-smapi, what is tp-smapi?
>> > daniel@BlackBeauty:~$ sudo module-assistant auto-install tp_smapi
>> > tp_smapi, what is tp_smapi?
>> >
>> > Would it have a different name under Hardy?
>>
>> Lucky you, Ubuntu sometimes really manages to be the distro for lazy
>> people, they just don't realise that ;-).
>>
>> # sudo aptitude install linux-ubuntu-modules-2.6.24-21-generic
>> # modprobe tp-smapi
>
>
> works like a charm!
>
> elias, you are the real thinkpad expert. what's you recommendation?
> my T61 is always at home sitting on the docking station, and i unplug the
> AC when not in use.
> should i leave the battery on and configure it to be 30%-80% with this
> tp-smapi module or should i remove the battery (with ~60% charge) and store
> it. i'm not so concerned about power outage, it would be like a desktop
> without a ups....
>
>
>>
>>
>> Rather strangely, there are no reverse-depends on that package even
>> though they explicitly advise you not to install that package directly
>> but to rely on the package system.
>>
>> Regards,
>>
>> Elias
>> --
>> The linux-thinkpad mailing list home page is at:
>> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>>
>>
>
>
> --
> ________________________
>
> Daniel Castro, M.Sc.
> +353 083-318-2058
> dancasmo@gmail.com
> castromd@tcd.ie
> ________________________
>



-- 
________________________

Daniel Castro, M.Sc.
+353 083-318-2058
dancasmo@gmail.com
castromd@tcd.ie
________________________

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

hey!<br><br>another thing...<br>i&#39;m trying:<br>echo 30 &gt; /sys/devices/platform/smapi/BAT0/start_charge_thresh <br>echo 80 &gt; /sys/devices/platform/smapi/BAT0/stop_charge_thresh <br><br>but I noticed that when it reaches 79% it stays there, it will not get to 80% and it will never start discharging...<br>
<br>so I did:<br>echo 95 &gt; /sys/devices/platform/smapi/BAT0/start_charge_thresh <br>
echo 100 &gt; /sys/devices/platform/smapi/BAT0/stop_charge_thresh <br><br>and left it to charge to 81% and then did the 30-80 one again.... and it is stuck there in 81%....<br><br>i though that it would charge up to 80% and then run on battery until it gets to 30%, then charge again to 80% and so on... isn&#39;t that what&#39;s explected?<br>
<br>maybe because it is on a docking station?<br><br>cheers!<br><br><br><div class="gmail_quote">2008/11/12 Daniel Castro <span dir="ltr">&lt;<a href="mailto:castromd@tcd.ie">castromd@tcd.ie</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote">2008/11/12 Elias Oltmanns <span dir="ltr">&lt;<a href="mailto:eo@nebensachen.de" target="_blank">eo@nebensachen.de</a>&gt;</span><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;">

Please try to keep in mind that top-posting is not very popular.</blockquote></div><div><br>noted! ;)<br>&nbsp;</div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
<div><br>
&quot;Daniel Castro&quot; &lt;<a href="mailto:castromd@tcd.ie" target="_blank">castromd@tcd.ie</a>&gt; wrote:<br>
</div><div>&gt; Thanks very much Stefan!<br>
&gt;<br>
&gt; But... I get:<br>
&gt; daniel@BlackBeauty:~$ sudo module-assistant auto-install tp-smapi<br>
&gt; tp-smapi, what is tp-smapi?<br>
&gt; daniel@BlackBeauty:~$ sudo module-assistant auto-install tp_smapi<br>
&gt; tp_smapi, what is tp_smapi?<br>
&gt;<br>
&gt; Would it have a different name under Hardy?<br>
<br>
</div>Lucky you, Ubuntu sometimes really manages to be the distro for lazy<br>
people, they just don&#39;t realise that ;-).<br>
<br>
# sudo aptitude install linux-ubuntu-modules-2.6.24-21-generic<br>
# modprobe tp-smapi</blockquote></div><div><br>works like a charm!<br><br>elias, you are the real thinkpad expert. what&#39;s you recommendation?<br>my T61 is always at home sitting on the docking station, and i unplug the AC when not in use.<br>

should i leave the battery on and configure it to be 30%-80% with this tp-smapi module or should i remove the battery (with ~60% charge) and store it. i&#39;m not so concerned about power outage, it would be like a desktop without a ups....<br>

&nbsp;</div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Rather strangely, there are no reverse-depends on that package even<br>
though they explicitly advise you not to install that package directly<br>
but to rely on the package system.<br>
<br>
Regards,<br>
<br>
Elias<br>
<font color="#888888">--<br>
</font><div><div></div><div>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>
<br>
</div></div></blockquote></div></div><br><br clear="all"><div><div></div><div class="Wj3C7c"><br>-- <br>________________________<br><br>Daniel Castro, M.Sc.<br>+353 083-318-2058<br><a href="mailto:dancasmo@gmail.com" target="_blank">dancasmo@gmail.com</a><br>
<a href="mailto:castromd@tcd.ie" target="_blank">castromd@tcd.ie</a><br>
________________________<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>________________________<br><br>Daniel Castro, M.Sc.<br>+353 083-318-2058<br><a href="mailto:dancasmo@gmail.com">dancasmo@gmail.com</a><br><a href="mailto:castromd@tcd.ie">castromd@tcd.ie</a><br>
________________________<br>

------=_Part_4075_16619432.1226528028319--