Ang.: Re: [android-kernel] Re: Getting the battery current and voltage values for the Android Phone

28 views
Skip to first unread message

Daniel Petersson

unread,
Mar 16, 2010, 4:13:27 PM3/16/10
to android...@googlegroups.com

Hi,

449 mA is the max current for USB charging connected to a PC. If you read the value when charging with a wall plug you will get a higher value (probably around 700 mA but it is depending on the charger and the PMIC).

/D

Den 15 mar 2010 15.55, "Chris Stratton" <cs0...@gmail.com> skrev:

It might be a current estimate, but since it was reported to be
nonzero only with external power it sounds more like charge current
than drain.  Would be interesting if it turns out different with the
wall charger vs. usb.

Android being open source Chintan should be able to track down the
source of the number by perusing the sources.

Its probably possible to make an instrumented dummy battery for
research purposes, though it would requure figuring out the interface.


Dianne Hackborn wrote:
> Possibly. But as I said, the G1 battery can't measure this.
>
> On Mon, M...

> > <android-kernel%2Bunsu...@googlegroups.com<android-kernel%252Buns...@googlegroups.com>

> > >
> > > > website:http://groups.google.com/group/android-kernel
> > >
> > > --
> > > Dianne Hack...

> hac...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
>...

Chintan

unread,
Mar 18, 2010, 12:55:35 AM3/18/10
to Android Linux Kernel Development
Ok, I am also able to read 449 mA for charging via USB.
Just wondering how is the phone able to measure the charging current
and not able to measure the discharge current.

For now I am planning to connect an external resistor and measure the
discharge current. I think that's the way to only way to get the
current values.

Thanks for your inputs.

On Mar 16, 4:13 pm, Daniel Petersson


<petersson.daniel.ke...@gmail.com> wrote:
> Hi,
>
> 449 mA is the max current for USB charging connected to a PC. If you read
> the value when charging with a wall plug you will get a higher value
> (probably around 700 mA but it is depending on the charger and the PMIC).
>
> /D
>

> Den 15 mar 2010 15.55, "Chris Stratton" <cs07...@gmail.com> skrev:
>
> It might be a current estimate, but since it was reported to be
> nonzero only with external power it sounds more like charge current
> than drain.  Would be interesting if it turns out different with the
> wall charger vs. usb.
>
> Android being open source Chintan should be able to track down the
> source of the number by perusing the sources.
>
> Its probably possible to make an instrumented dummy battery for
> research purposes, though it would requure figuring out the interface.
>
> Dianne Hackborn wrote:
> > Possibly. But as I said, the G1 battery can't measure this.
>
> > On Mon, M...
> > > <android-kernel%2Bunsu...@googlegroups.com<android-kernel%252Buns...@googlegroups.com>
>

> <android-kernel%252Buns...@googlegroups.com<android-kernel%25252Bun...@googlegroups.com>


>
>
>
> > > > > website:http://groups.google.com/group/android-kernel
>
> > > > --
> > > > Dianne Hack...

> > hack...@android.com

Reply all
Reply to author
Forward
0 new messages