Better_Battery_Stats_v0.9.0.0

Better_Battery_Stats_v0.9.0.0

Requirements:

android 2.3 and up



Overview: BetterBatteryStats is calling the "batteryinfo" service of Android to retrieve data already lying there without generating overhead.



Image















BetterBatteryStats is focussing and has been tested on Froyo, Gingerbread, Honeycomb (3.1, thanks to daveid), ICS on different ROMs and Kernels.



What are wakelocks and why should you care about them?

When it comes to Android the most discussed and commented topic that I know is battery drain / battery life. I'm a quite heavy user because I spend a lot of time on the train every day reading my mails, surfing and listening to music but still my phone is off for a long time during the day and while I accept the battery being drained while I use the phone I care about it draining slowly while "doing nothing".





Wakelocks or to be more precise partial wakelocks is a pattern (in fast a class) than helps devs to make sure that important pieces of their code do not get interrupted.

Basically the phone has (simplified, kernel devs don't shoot) three states:

1. awake with screen on

2. awake

3. sleeping (that's you phone favorite state)



The transitions are from (1) to (2) and finally from (2) to (3). Now as long as you use your phone it's in (1) and does not leave that state as long as you keep using it interactively. If you stop using it the phone is aiming to go to (3) as fast as possible.

And here's where wakelocks are important: as our phones as smartphones they tend to do background processing. Some of this processing is important like e.g. making a phone call, listening to music or synchronizing your contacts.

As the phone wants to go from (2) to (3) and on the other hand you don't want to hang up while you are in a call the app keeps hold of a wakelock to prevent that transisiton. When you hang up the partial wakelock gets release and here we go (the phone goes to sleep).



So partial wakelocks is a tool and it's not something that we should forbid for obvious reasons. Now there are cases when the design on an app is not real life proven (conditions of poor of no converage) and the wakelocks have negative effects because they are held unnecessarily or for too long.

BetterBatteryStats identifies these wakelocks and using your expertise or the once from our users here you can understand what happens and find a strategy to change that for the better.



Mirrors :



http://adf.ly/NUzPv



INSTRACSION :



move to sdcard and install at apk file

itzhak160 — Sun May 12, 2013 10:58 pm


Related Posts Plugin for WordPress, Blogger...