You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-...@googlegroups.com
Hi All,
I want to know is there is any android api available which is exposed to developer to get rough estimate about power consumed by application. So it is easier to identify power wasting app.
Awaiting for response. Thanks in advance
-Phub
Rudolf Hornig
unread,
Sep 24, 2012, 2:39:13 PM9/24/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-...@googlegroups.com
Now public API. Though the battery consumption screen in the system settings was designed to give this information to the user.
James Snee
unread,
Sep 25, 2012, 10:36:55 AM9/25/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-...@googlegroups.com
There's no API as such at the moment. Although a lot of work is being carried out into analysing application source to identify areas of high energy consumption. In our lab we're looking at static analysis and profiling tools to aid this.
Other than that, I used a tool recently by AT&T that profiles apps running in the emulator, reporting back various information about estimated battery consumption etc (http://developer.att.com/developer/forward.jsp?passedItemId=9700312). This may give you a better idea of what's going on.
Hope this helps,
James
zyrikby
unread,
Sep 26, 2012, 9:41:49 AM9/26/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-...@googlegroups.com
Hi.
Check also this research paper: “Accurate Online Power Estimation and Automatic Battery Behavior Based Power Model Generation for Smartphones”. Here is a link: http://powertutor.org/
On Monday, September 24, 2012 8:02:15 PM UTC+2, phub wrote:
Narseo Vallina Rodriguez
unread,
Sep 26, 2012, 9:46:48 AM9/26/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-...@googlegroups.com
PowerTutor only works for the phones they have tested as it's using a
customised power model for each one of them using linear regression
techniques. Nevertheless, it should be considered as an estimator as
hardware has so many peculiarities that they cannot easily incorporate
all of them on the power model. If you're using a non-supported phone,
it is very likely that it can return inaccurate values