[olpc-help] XO shuts down when power cord removed

Basic questions about your XO? Or search on top right for related questions.

[olpc-help] XO shuts down when power cord removed

Postby Andrew Cooper » Sun Jan 06, 2008 2:55 pm

Hi all!

The XO is fantastic! The only problem I'm having is that it will only work when the power cord is plugged in to both the XO and a wall socket. This wasn't always the case, though - it worked on battery power alone for a while before this problem cropped up. The battery charge indicator light is green when it's plugged into the wall (I can no longer get anything to happen when it's not plugged in, so I have no clue what the indicator light would be). I searched the wiki and followed the directions on http://lists.laptop.org/pipermail/commu ... 00310.html to create a battery log.

When I booted with it plugged into an outlet and ran the log, I got numbers like:

1199285351,99,6446480,0,2027,65060,Full,Full

1199285361,99,6446450,390,2025,65060,Full,Full

When I unplugged it, i started getting numbers like:

1199285555,99,5920050,-882682,2052,65056,Discharging,Full

It was working for about 20 minutes, then I was going to plug the cord back in and to see if it'd say "charging"

When I touched the mouse pad, the computer turned off. I plugged the power cord back in, restarted and everything worked fine.

Following the batterlog directions again, I now get numbers like

1199691272,95,6078650,390,1848,64686,Discharging,Full
....
1199691414,95,6075600,0,1849,64686,Discharging,Full
...(after ~5 minutes)
1199691970,95,6076210,0,1872,64687,Discharging,Full
1199691981,95,6074990,390,1873,64687,Discharging,Full

When I unplugged the cord, the XO turned off immediately.

Any suggestions as to what might be going on or what to do about it? I'm thinking of following the directions for the Activated Upgrade (http://wiki.laptop.org/go/Activated_Upgrade) to build 653 just to see if that helps, but I'm worried about just adding confusion to the situation.

Any thoughts?

Thanks for your help!!

Cheers,
Andrew




____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs


____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support
Andrew Cooper
 

[olpc-help] XO shuts down when power cord removed

Postby Andrew Cooper » Sun Jan 06, 2008 6:59 pm

Well, I followed the directions for the Activated Upgrade to build 653. The upgrade went fine, but the computer still shuts down the instant I remove the power cord (or simply unplug the power cord from the wall). Now, when I try to turn the computer on without the cord plugged in, I at least get the power light turning green and the the battery light blinking orange before everything goes dark (it still doesn't boot). Note, when I remove the battery, the battery light does blink orange (once) upon re-insertion of the battery.

Any thoughts what might be up?

Thanks a bunch!

cheers,
Andrew







____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support
Andrew Cooper
 

[olpc-help] XO shuts down when power cord removed

Postby Richard A. Smith » Sun Jan 06, 2008 7:29 pm

Andrew Cooper wrote:

Well, I followed the directions for the Activated Upgrade to build
653. The upgrade went fine, but the computer still shuts down the

By "still shuts down" you mean that this problem existed prior to
updating your OS build? I ask because there was a previous report of
losing the battery after an OS build update. OS build 653 contains the
same q2d06 system firmware (what the laptop shipped with) so nothing is
different wrt battery charging.

instant I remove the power cord (or simply unplug the power cord from
the wall).

Sounds like your battery is run down and not charging back up. So
unplugging is the same as the "off" switch. :)

Now, when I try to turn the computer on without the cord
plugged in, I at least get the power light turning green and the the
battery light blinking orange before everything goes dark

More evidence that your battery is dead. It has just enough juice to
get things started but then as other subsystems start coming up the
votage drops below the critical level and stuff shuts off.

Follow the instructions I gave here:

http://lists.laptop.org/pipermail/commu ... 00310.html

And then report back the data.

--
Richard Smith <richard@laptop.org>
One Laptop Per Child
_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support
Richard A. Smith
 

[olpc-help] XO shuts down when power cord removed

Postby Richard A. Smith » Sun Jan 06, 2008 7:34 pm

Andrew Cooper wrote:

I read your mail out of order. I see you have already followed my
instructions. Thanks

I'll have more info later.

--
Richard Smith <richard@laptop.org>
One Laptop Per Child
_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support
Richard A. Smith
 

[olpc-help] XO shuts down when power cord removed

Postby Richard A. Smith » Sun Jan 06, 2008 7:45 pm

Andrew Cooper wrote:

1199691272,95,6078650,390,1848,64686,Discharging,Full
....
1199691414,95,6075600,0,1849,64686,Discharging,Full
...(after ~5 minutes)
1199691970,95,6076210,0,1872,64687,Discharging,Full
1199691981,95,6074990,390,1873,64687,Discharging,Full

When I unplugged the cord, the XO turned off immediately.

Any suggestions as to what might be going on or what to do about it? I'm thinking of following the directions for the Activated Upgrade (http://wiki.laptop.org/go/Activated_Upgrade) to build 653 just to see if that helps, but I'm worried about just adding confusion to the situation.

Any thoughts?

The EC thinks your battery is fully charged and so its not trying to
charge it.

Do you have a developer key? If not get one. You will need it to use
batman.fth and thats what we are going to use to reset your SOC so it
will try to charge.

--
Richard Smith <richard@laptop.org>
One Laptop Per Child
_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support
Richard A. Smith
 

[olpc-help] XO shuts down when power cord removed

Postby Andrew Cooper » Sun Jan 06, 2008 7:56 pm

Thanks Richard!!! I'll apply for a key once I get home tonight and have wireless access.

cheers,
Andrew

----- Original Message ----
Sent: Sunday, January 6, 2008 3:45:07 PM
Subject: Re: [olpc-help] XO shuts down when power cord removed



The
EC
thinks
your
battery
is
fully
charged
and
so
its
not
trying
to
charge
it.

Do
you
have
a
developer
key?
If
not
get
one.
You
will
need
it
to
use
batman.fth
and
thats
what
we
are
going
to
use
to
reset
your
SOC
so
it
will
try
to
charge.

--
Richard
Smith
<richard@laptop.org>
One
Laptop
Per
Child
_______________________________________________
community-support
mailing
list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support





____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch ... y=shopping
_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support
Andrew Cooper
 

[olpc-help] XO shuts down when power cord removed

Postby Andrew Cooper » Wed Jan 09, 2008 3:44 am

Thanks, Richard! I got a developer key and rebooted. Now what?

Thanks again for your help!

Cheers,
Andy

--- On Sun, 1/6/08, Richard A. Smith <richard@laptop.org> wrote:
The EC thinks your battery is fully charged and so its not
trying to
charge it.

Do you have a developer key? If not get one. You will
need it to use
batman.fth and thats what we are going to use to reset your
SOC so it
will try to charge.

--
Richard Smith <richard@laptop.org>
One Laptop Per Child
_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support


____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch ... y=shopping
_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support
Andrew Cooper
 

[olpc-help] XO shuts down when power cord removed

Postby Richard A. Smith » Wed Jan 09, 2008 9:53 pm

Andrew Cooper wrote:
Thanks, Richard! I got a developer key and rebooted. Now what?
Thanks again for your help!

I'll release the mod to batman.fth tonight with instructions. May be
late though.

--
Richard Smith <richard@laptop.org>
One Laptop Per Child
_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support
Richard A. Smith
 

[olpc-help] XO shuts down when power cord removed

Postby Andrew Cooper » Thu Jan 10, 2008 3:32 am

Hi Richard,
I followed your instructions, and things seemed to go great…until I started following the bat-log. It basically went like this:

1199992649,0,6514800,9357,1923,81, Charging, Normal
1199992659,0,7507270,260,1928,81, Charging, Normal
1199992669,0, 7505440,130,1937,81, Charging, Normal
1199992679,0, 7504830,260,1937,81, Charging, Normal
1199992690,81, 7505440,260,1948,81, Charging, Normal
1199992700,81, 7504220,390,1948,81, Charging, Normal
1199992710,81, 7504830,130,1952,81, Charging, Normal
1199992720,97,6467830,260,1958,81, Full, Full
1199992730,97,6468440,0,1958,81, Full, Full
1199992741,97,6467830,0,1961,81, Full, Full

The above only took a few minutes. Five maybe? So, I unplugged, and it seemed to be behaving normally. E.g.

1199993475,93,5723020,-920442,2280,65251,Discharging,Full
1199993485,92,5716310,-921354,2282,65245,Discharging,Full
But then, after abot 10 minutes, at:

1199993698,91,5572350,-943691,2318….(I wasn’t writing quickly enough to get these last numbers – I haven’t figured out how to find the bat-log, so I was copying those numbers by hand)

I started getting the same error messages as I did when it couldn’t find the battery (because it wasn’t inserted)
I got a few more lines that looked normal, then another set of error messages associated with not being able to find the battery.

Then it shut down completely.

I plugged it back in, and the battery LED was orange and the icon on the homescreen said the battery was charging. I let it charge until the light went green, which again only took a few minutes. When I unplugged it, it ran for a minute or two then shut down again.

Any thoughts?

By the way, I sent an e-mail to service@laptopgiving.org on Jan 1, and got the initial confirmation that they received my e-mail, but nothing since. Should I also send something to help@laptop.org?

Thanks again,
Andy


____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch ... y=shopping
_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support
Andrew Cooper
 

[olpc-help] XO shuts down when power cord removed

Postby Richard A. Smith » Thu Jan 10, 2008 10:42 am

Andrew Cooper wrote:

1199992649,0,6514800,9357,1923,81, Charging, Normal
1199992659,0,7507270,260,1928,81, Charging, Normal
1199992669,0, 7505440,130,1937,81, Charging, Normal
1199992679,0, 7504830,260,1937,81, Charging, Normal
1199992690,81, 7505440,260,1948,81, Charging, Normal
1199992700,81, 7504220,390,1948,81, Charging, Normal
1199992710,81, 7504830,130,1952,81, Charging, Normal
1199992720,97,6467830,260,1958,81, Full, Full
1199992730,97,6468440,0,1958,81, Full, Full
1199992741,97,6467830,0,1961,81, Full, Full


Interesting. Yeah. Something is up. That 4th number is battery current
in uA. So if it does not have 6 or 7 digits then you aren't doing much
in the way of charging the battery.

Make sure that you a copy of the battery.dmp file into the help system.
I think all you need to do is send mail to help@laptop.org describing
that its a dump of your batteries eeprom. We should get it all route to
the right ticket.

I made a tweak to batman.fth Grab the latest copy from dev.laptop.org
and re-run.

But change the procedure a bit. This time after you run 'bat-set-low'
and remove all power from the laptop. But the battery back in (No ext
power) But don't power up. Watch the battery light and see if it turns
red for 10 or 20 seconds and then turns off.

Then you can repeat the steps. ie (remove battery, power up, run
logbat, insert battery)

And actually if the same thing happens then repeat the procedure several
times to see how consistent it is.

1199993698,91,5572350,-943691,2318….(I wasn’t writing quickly enough to get these last numbers – I haven’t figured out how to find the bat-log, so I was copying those numbers by hand)

You use olpc-logbat as root so its in the root users directory /root

do this:

start terminal app
'su -' (This makes you root)
cp log-* /home/olpc
chown olpc.olpc /home/olpc/log-*

Now you can find the log files in the olpc users home directory.

I started getting the same error messages as I did when it couldn’t find the battery (because it wasn’t inserted)
I got a few more lines that looked normal, then another set of error messages associated with not being able to find the battery.

That version of EC code has some periodic timeout issues. So when
logbat constantly queries the battery you will get times where you don't
get any info. Its ok. Its fixed in my new (unreleased) EC code.

--
Richard Smith <richard@laptop.org>
One Laptop Per Child
_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support
Richard A. Smith
 

[olpc-help] XO shuts down when power cord removed

Postby Andrew Cooper » Thu Jan 10, 2008 11:17 pm

Thanks Richard,



It looks like we're getting closer.... I used the new batman.fth. After running
‘bat-set-low' I removed all power, and it promptly shut down. When I took out the
battery and then put it back in, the battery light turned red for about 20 seconds
and then turned off. I removed the battery, powered up on the cord-only. ran
logbat, inserted battery, and things seemed to be going fine. It started at
zero% and charged to ~21% in about 30-minutes or so with the battery current being
in the 7 digits the whole way. At 21%, it then jumped to 81%, the battery current
dropped to 3 digits, and in a matter of seconds hit 97% Full, Full. When I
unplugged, the computer promptly shut down.



As you suggested, I repeated the whole process. After running 'bat-set-low' I removed
all power, and it promptly shut down.




When I took out the battery and then put it back in, the battery light turned red
for about 20 seconds and then turned off. I removed the battery, powered up
on the cord-only. ran logbat, inserted battery, and things seemed to be going fine. It
started at 14% but within a minute or two jumped to 81% then 97% Full, Full.
This time, though, when I removed the cord, it started discharging as one might
expect current in the negative 6-digits (~ -980K) counting down from 97% (Discharging,
Full)...at 92% became "Discharging, Normal", and around 75% shut down
completely (after about 45 minutes).





On the third time around, the red light came on as before
when I removed and re-inserted the battery.
This time on the recharging, it started at 0% promptly jumped to 81%
then 97% (Full, Full) - taking a total of less than a minute, and then instantly shut down when I unplugged the cord.






So, what’s next?




Once I get the log files in the olpc users home directory, how do access them (for
including in an e-mail) or copy them to the USB?



Thanks again for all your help!



Cheers,

Andy

















____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62s ... o8Wcj9tAcJ

_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support
Andrew Cooper
 

[olpc-help] XO shuts down when power cord removed

Postby Richard A. Smith » Fri Jan 11, 2008 1:24 am

Andrew Cooper wrote:

So, what’s next?


More and more I'm leaning toward your battery having a bad cell in it.
But it still may be a charging code bug.

When I get the logs I'll have a better idea if thats the case. When the
capacity % took a big jump did the voltage take a big jump as well?
Voltage is the 3rd column.

Once I get the log files in the olpc users home directory, how do access them (for
including in an e-mail) or copy them to the USB?

Doing it via Sugar I'm actually not sure since its not in the journal.

I always use the command line. I'll have to consult the sugar folk for
the official way of doing it 100% with sugar.

From the command line you use the 'cp' command. Sugar mounts USB
sticks in the /media/<number> where <number> is derived from the USB disk.

so you can stick a usb disk in the XO and after it shows up in the
journal open up a terminal and type 'ls /media' you should see a
directory with numbers. Thats the USB disk.

so 'cp /home/olpc/log-* /media/<number> will copy all the files that
start with 'log-' to the usb disk.

Then you can use the journal to unmount the disk.

--
Richard Smith <richard@laptop.org>
One Laptop Per Child
_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support
Richard A. Smith
 

[olpc-help] XO shuts down when power cord removed

Postby Andrew Cooper » Fri Jan 11, 2008 2:06 am

From the command line you use the 'cp' command.
Sugar mounts USB
sticks in the /media/<number> where <number> is
derived from the USB disk.

so you can stick a usb disk in the XO and after it shows up
in the
journal open up a terminal and type 'ls /media' you
should see a
directory with numbers. Thats the USB disk.

so 'cp /home/olpc/log-* /media/<number> will copy
all the files that
start with 'log-' to the usb disk.

Then you can use the journal to unmount the disk.


That SO needs to be in an easily searchable FAQ!!! It worked like charm!! Here's what I got...

Thanks again,
Andy


____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support
Andrew Cooper
 

[olpc-help] XO shuts down when power cord removed

Postby Richard A. Smith » Mon Jan 14, 2008 2:52 am

Andrew Cooper wrote:

That SO needs to be in an easily searchable FAQ!!! It worked like charm!! Here's what I got...

Thanks again,
Andy

Here's my analysis of your data in time order.

1200060544,0,7055870,1322786,1992,65398,Charging,Normal
...
1200062623,21,7294380,1202343,3385,1633,Charging,Normal

Normal charge for about 35 minutes delivering 738 mA/h into the battery.
The voltage is higher though than I would expect. A deeply discharged
battery should be in the < 6V range.

On the next sample

1200062633,21,7506660,781,3377,1635,Charging,Normal
...
1200062684,81,7500560,390,3211,1635,Charging,Normal
1200062694,97,6617890,390,3176,1635,Full,Full

The voltage jumped up to 7.5V which is above the CC to CV threshold also
notice that your current went from 1.2A to less than 1mA. Very
abnormal. The EC switches from constant current (CC) into constant
voltage (CV), marks the battery as 81% full and watches the current to
be less than 200mA. A few cycles of that and it declares the battery Full.

Discharging...

1200064031,97,6593490,0,2277,902,Full,Full
1200064041,97,5988980,-979427,2276,897,Discharging,Full

So 20 minutes later you started the discharge in that space you seem to
have lost 305 mA/h. Odd but ok I guess.

1200066554,76,5612610,-1043880,2702,64814,Discharging,Normal

42 minutes of discharge until the voltage nears critical shutoff. 676
mA/h consumed. So 676+305 = 981 mA/h. Previous charge only had 738 mA/h
so that leaves 243 unaccounted for but thats probably close enough to match.

1200067088,,,,,,,
1200067098,0,7506050,130,2245,64951,Charging,Normal
1200067108,0,7505440,130,2236,64951,Charging,Normal
1200067119,0,7503610,390,2238,64951,Charging,Normal
1200067129,81,7508490,130,2241,64951,Charging,Normal
1200067139,81,7503610,520,2240,64951,Charging,Normal
1200067149,81,7505440,-130,2238,64951,Charging,Normal
1200067159,97,6268970,0,2237,64951,Full,Full
1200067170,97,5683370,-1002734,2242,64950,Discharging,Full
1200067180,97,5682150,-921484,2248,64944,Discharging,Full

Here's a real indicator of your troubles. When the EC detected the
battery (SOC % is zero so I guess you reset it with batman.fth?) the
Voltage is 7.5V yet ACR shows that only 45 mA/h was added to the
battery. So the battery is still very discharged. The voltage should
be much lower and the current much higher. This condition is what
happens when a battery get close to full. So the EC marks it as such.

The other log files are more of the same. Very short charging period
with an abrupt voltage jump and loss of current.

Because you have one run of 35 minutes where the charging appears to
work correctly I'm inclined to believe that this is a physical
connection issue rather than a battery chemistry issue. I think you
have a bad connection somewhere in your charge path that is creating a
high resistance and faking out the EC charging code.

How close are you to your 30 days? If you are really close then I
suggest you RMA it. If not then I have one more test I'd like to try.

I'm going to hack on batman.fth and add the ability for you to _force_
charging. Then you can run this and watch what is happening while you
prod, jiggle, and torque things around. Then we can see if your
charging current bounces around. Try to see if we can find some sort of
cause and effect. If so then its a bad connection in the charge path
somewhere. If not then something is wonky with the battery cells.

--
Richard Smith <richard@laptop.org>
One Laptop Per Child
_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support
Richard A. Smith
 

[olpc-help] XO shuts down when power cord removed

Postby Andrew Cooper » Mon Jan 14, 2008 3:55 pm

Thanks, Richard!

How
close
are
you
to
your
30
days?
If
you
are
really
close
then
I
suggest
you
RMA
it.
If
not
then
I
have
one
more
test
I'd
like
to
try.

I've started the RMA process, though it might take a while. It turns out changing addresses in between the time one receives an XO and returns and XO is a big no-no. So, they're seeing if I'll even be able to exchange.

However, while I'm waiting, I'd be happy to keep exploring in hopes of finding a conclusive answer. It's totally up to you.

Thanks again for all your help!

Cheers,
Andy






____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch ... y=shopping
_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support
Andrew Cooper
 

Next

Return to General Questions

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron