On Fri, Sep 9, 2011 at 3:03 AM, A. Purohit <[email protected]> wrote: > How can we know how much my app [ livewallpaper here ] is consuming? > I assume refresh rate will highly affect battery consumption.
Have your app run for 12 hours or so on a device that is not plugged in. Check the battery screen in the Settings app (usually in the About area, though that might vary by device). If you don't show up, then you are OK, to a rough approximation. Getting detailed power stats is more troublesome and tend to be device-specific, such as PowerTutor: http://ziyang.eecs.umich.edu/projects/powertutor/ The ultimate is using the Qualcomm MDP and its Trepn power profile, but that device is rather expensive. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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

