Mark!! Thanks a ton!! I found the souce code, built it and just saw the BatteryStatsService.java in which the comment reads "All information we are collecting about things that can happen that impact * battery life." - exactly what I was looking for.
Thanks once again. Now, my actual development work starts! Sagar Hatekar On Oct 5, 4:52 pm, "Mark Murphy" <mmur...@commonsware.com> wrote: > > I searched the entire API... couldn't find BatteryStats. > > It's not in the API. It is in the source code. This is why you cannot > access it from the API, as I have pointed out. > > > 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. > > You will find this stuff in the source code.http://source.android.com, or > Google Code Search. > > You may not find the authors of that application on this list, though. > > -- > 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 -~----------~----~----~----~------~----~------~--~---