Take a look at 
http://developer.android.com/reference/android/os/BatteryManager.html#EXTRA_VOLTAGE.

Mihai Fonoage

On Feb 15, 7:49 am, Maxood <[email protected]> wrote:
> Hi Mark! I want to display Batter level stats in my app as shown in
> the following link:
>
> http://itunes.apple.com/us/app/app-genie/id352781306?mt=8
>
> Wonder how can i access batter voltage/power information at runtime?
>
> On Dec 23 2009, 5:50 pm, Mark Murphy <[email protected]> wrote:
>
>
>
> > Motalen wrote:
> > > Is this to say that the Droid has the capability to report higher
> > > precision values given the nature of the hardware BUT there is no way
> > > to access it?
>
> > Here is my interpretation:
>
> > -- Precision refers to the fineness of detail. Many Android devices
> > report at 1% precision, but the DROID reports at 10% precision.
>
> > -- Accuracy refers to how well the reported values reflect reality.
>
> > > If I am mistaken, which I hope I am, how would we go
> > > about accessing the finer granularity that is needed when developing
> > >batteryapplications on the Droid?
>
> > As far as I know, you can't. As Ms. Hackborn said, "[10%] is just the
> > precision the Droidbatteryreports".
>
> > > I have no problem getting single
> > > digit precision with other handsets only the Droid produces the
> > > strange '10's increments' only.
>
> > That's the way Motorola elected to implement thebatterylevel
> > information. The SDK does not mandate a minimum level of precision, so
> > device manufacturers can report 1%, 10%, 3.14%, or whatever floats their
> > boats. Applications (particularly paid ones) should not be relying upon
> > some minimum level of precision, just as they should not be relying on
> > certain LED colors or the availability of a physical CAMERA button.
>
> > If you have more detailed questions on Motorola devices, I recommend
> > asking Motorola the questions, since they have developer support boards:
>
> >http://developer.motorola.com
>
> > --
> > Mark Murphy (a Commons 
> > Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> > Android Development Wiki:http://wiki.andmob.org

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to