I searched the entire API... couldn't find BatteryStats. Also, when I run the emulator, I went to Settings ->About Phone- >Battery Usage
That's exactly what I was looking for but sadly it comes with the OS. Any idea where could I get help to reach that application? I suppose, this IS the official Android forum. So, I hope to get some help from the people who built that application. Sagar Hatekar On Oct 4, 11:54 am, "Mark Murphy" <mmur...@commonsware.com> wrote: > > Okay :( > > Any idea if how it shows the information. I was working on writing a > > similar application even before SDK 1.6 came out. > > > API would have made my job easier. If there is no API, I would have to > > dig 1 layer deep and access the linux kernel which can show the > > processor info based on each Process ID. The tough part would be > > travelling to the kernel and back. > > > Any insight ? > > I rummaged through Google Code Search to try to answer your questions. I > do not keep the tabs open indefinitely. BatteryStats as a class name comes > to mind. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android App Developer Books:http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---