Richard,<br><br>I've just received a box with 60 faulty batteries inside, so I'll be playing with them<br>for the next few years...<br><br>I did a "bat-recover" on one of them for about 18 hours and I noticed this:<br>
When I run "watch-battery", it still says "No battery". I did a full-reset of the XO<br>but nothing happened, it still says "No battery".<br>Then I loaded batman.fth and ran bat-charge and I got a nice output. All the values<br>
seemed to be OK when charging or discharging the battery.<br>I tried "batman-start; 6a bat-set-status; batman-stop" and I could see tha 6a in<br>the first block, but "watch-battery" still says "No battery".<br>
<br>What is the difference between batman's "bat-charge" and "watch-battery"?<br>Tell me if I'm wrong, but I think that "bat-charge" reads battery info directly from it,<br>and "watch-battery" takes that info from the EC. So, the problem could be that<br>
the EC isn't synced with the battery. Am I right?<br><br>So long I could recover 2 batteries out of 4. I'll try more batteries, the batteries<br>that seem to be ok now are the same model (GP NTA2490), and the other two<br>
(the ones I couldn't recover even with bat-recover) are BYD LP183662AR-2S.<br><br>If you want me to do a particular test with any of these batteries, just ask and I'll<br>share my results with you.<br><br><div class="gmail_quote">
On Wed, Apr 29, 2009 at 2:25 PM, Richard A. Smith <span dir="ltr"><<a href="mailto:richard@laptop.org">richard@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Emiliano Pastorino wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Are you using the latest batman.fth? I pulled a lot of batman<br>
functionality into the firmware and had to modify batman.fth to<br>
avoid the errors above.<br>
<br>
I'm using 0.3.6.<br>
</blockquote>
<br></div>
Sorry. I didn't have the latest up on the site. Grab a fresh copy.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there any up-to-date document on how to proceed when recovering a faulty battery using recent firmware?<br>
</blockquote>
<br></div>
No. But the difference is just running batman-start prior to bat-recover. If you want to stop bat-recover then remove the battery. It will error and drop to an ok prompt.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Should I expect any output when running batman-start? I noticed that battery interface is suspended, but I don't see anything else<br>
going on.<br>
</blockquote>
<br></div>
Nope. And while batman is enabled don't expect the charge LED to do anything normal. It will flash in odd patterns.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Now I'm trying to recover a red led flashing battery. Suddenly, it went from flashing red to nothing and I'm also getting "No battery" from "watch-battery"<br>
and 0 1 2 0 1 2..... from "see-bstat".<br>
When the led was flashing red, I could get an error code of "2" from "ec-abnormal@ .". Now I'm getting "0". I'd like to know what that 2 meant. Where<br>
can I get the explanation of those error codes?<br>
</blockquote>
<br></div>
The error list on the wiki is a bit out of date. I'll work on updating a list on the battery diagnostics page. A 2 mean that the status register setting in the battery gas gauge was not what the EC expected it to be. This happens every so often and is usually transient. If it was actually written into the EEPROM and you get that every time then please do a bat-dump-banks and look at the value in the 2nd line of bank0, Col 1. It should be 0x6a if is not then you can use bat-set-status to fix it.<br>
<br>
ok batman-start<br>
ok 6a bat-set-status<br>
ok batman-stop<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'll be testing more faulty batteries, so I'll be bothering here periodically :)<br>
</blockquote>
<br></div>
No problem. Please help me keep the battery diagnostic page up to date with things that you find.<br>
<br>
On that note. I need to get with you sometime and get some charge logs. I'm want to know how the capacity of the batteries you have had out in the field are holding up.<div><div></div><div class="h5"><br>
<br>
-- <br>
Richard Smith <<a href="mailto:richard@laptop.org" target="_blank">richard@laptop.org</a>><br>
One Laptop Per Child<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Ing. Emiliano Pastorino<br>LATU - Plan Ceibal<br>Av. Italia 6201 CP: 11500, Montevideo, Uruguay<br>Tel: (598 2) 601 5773 int.: 210<br>