<div class="gmail_quote">---------- Forwarded message ----------<br>From: "Richard Smith" <<a href="mailto:smithbone@gmail.com">smithbone@gmail.com</a>><br>Date: Jul 27, 2014 10:32 AM<br>Subject: Re: [UKids] Testing Help needed for ACPower logger<br>
To:  <<a href="mailto:unleashkids@googlegroups.com">unleashkids@googlegroups.com</a>><br><br type="attribution"><div class="quoted-text">On 07/27/2014 10:06 AM, George Hunt wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have tested the software on an XO1, on top of the HaitiOS, which Adam<br>
Holt is using in Haiti. And the testing is, at this point, difficult for<br>
me.  I have been trying to plug in the test XO when I start my<br>
programming, and disconnect whenever I walk away from my desk. But I<br>
often get distracted, and forget.  And I don't seem to have the<br>
discipline to write my own handwritten log, so that later I can verify<br>
everything.<br>
<br>
I'd also like to test on XO1.5, XO1.75, and XO4, and on top of the<br>
current 13.2.1 OS release.  Thanks to James Cameron's work on Tiny Core<br>
XO, the installation procedure for the "ACPower" program should work on<br>
all of the XO's.<br>
</blockquote>
<br></div>
I recommend you do the bulk of your testing on >= 1.5.  The reason is that all of those platforms have a command to the EC that will disconnect the external power input and fake a power loss.  Its used in the manufacturing tests to do a battery discharge/re-charge test.<br>

<br>
Using that feature you can automate your testing and compare your results.<br>
<br>
In fact I think you can take the manufacturing battery test script as is, put it in a loop and run it.  Then you can compare the battery log from the script with your ACPower results.<br>
<br>
>From there you could move on to something more random.<div class="quoted-text"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have not determined whether going into standby affects the summary output.<br>
</blockquote>
<br></div>
In theory it should not as there should be an event that happens any time the external power state changes.  In practice, I seem to remember that event delivery isn't 100% and there are various powerd versions with bugs where on/off events are not matched.<font color="#888888"><br>

<br>
-- <br>
Richard A. Smith</font><div class="elided-text"><br>
<br>
-- <br>
Unsung Heroes of OLPC, interviewed live @ <a href="http://unleashkids.org" target="_blank">http://unleashkids.org</a> !<br>
--- You received this message because you are subscribed to the Google Groups "Unleash Kids" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:unleashkids%2Bunsubscribe@googlegroups.com" target="_blank">unleashkids+unsubscribe@<u></u>googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/<u></u>optout</a>.<br>
</div></div>