android - How do I calculate the battery drain for a particular app using dumpsys batterystats? -


i new android , adb commands. have executed following command in terminal: adb shell dumpsys batterystats --charged com.google.android.youtube. gives me estimated power use in mah, shown below. have 2 questions:

what computed drain: 93.8 mean , can use calculate percentage of power consumed particular app?

adb shell dumpsys batterystats --charged com.google.android.youtube   estimated power use (mah):     capacity: 2390, computed drain: 93.8, actual drain: 0.00000000     screen: 52.5     cell standby: 23.3     uid u0a96: 6.26     uid 1000: 3.91 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -