> On Saturday, 20 September 2014 22:40:04 UTC+7, Bruno Prémont wrote:
>
>Hi Dave, 
>
> >Does it happen for each suspend oder just sporadically? If sporadically 
> it 
> >might be a race condition where some AXP data got read before suspend, 
> the 
> >rest after resume - ending up with incoherent data and maybe some 16bit 
> words 
> >read half before suspend and half after resume. 
> >Just a wild guess without looking at the code.  
>
 
This happens pretty much each time. If I go to standby and on again the 
reading is 
corrected.

>How fresh is your battery?


Virtually brand new. Only a couple of months at the most and not many 
charging cycles 
yet. 

>
> >The value of pmu_battery_rdc (represents battery internal resistance) 
> might 
> >also influence the behavior. Current draw on the battery may very well 
> >influence the readings. If the (in-rush) drawn current is high battery 
> may 
> >not have enough time to recover and thus presents a lower voltage for one 
> of 
> >the first readings by AXP. 
>
> Ah, this sounds plausible and may explain why the go to standby and on 
again is good.

I need to check where in the startup it reads the voltage and see if this 
is what is causing
the reading to be false. Mind you, a subsequent read should get the correct 
value so
not sure why this does not happen even after a few minutes of running with 
it showing
the low wrong value. I'll hook up the meter and put it into capture mode 
and see if there
is indeed a voltage drop.

Thanks so much for your time as sometimes a second pair of virtual eyes can 
offer some
alternatives to check. 

>
> Bruno 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to