This guide will show you how to use Battery Doctor and help you to find those issues.
1). Let’s consider a real case using a game. Start it and play for about five minutes, and then exit the game in an unusual way. In our case we forced the exit by pressing the Home button. The game stopped, and the home screen displayed. From a user standpoint, everything looks fine. After a few minutes of inactivity the screen goes dark as expected. Let’s check it with OnePowerGuard Pro. In the Kernel wakelocks. We can see that two kernel wakelocks remain despite the fact that there is no activity.
2). One is the PowerManagerService, which means that there is a user partial wakelock, and the other is an AudioOutLock wait lock. Let’s have a look at the Partial wakelock screen.
Note: vbus_present is more than PowerManagerService, Because I always used the USB to capture a screenshot.
3). Looking at the partial wakelock screen, we can see that an audio channel is still open with the media gallery application. This is curious as the media gallery application was not used explicitly by the user. The game actually launched the Media Gallery for the game’s music playback. The developer has simply forgotten to close the audio channel when the application is interrupted by the home button.
4). And Then Let’s select the cpu stats screen, we can see that the game takes up the most of the CPU.
Battery Doctor of OnePowerGuard Pro are very useful and powerful tools. It can make you find the wakelocks, CPU consumption, Network traffic, alarms, etc.
4. Enjoy your successes
One basic rule in performance optimization is to check the results for each action taken and this applies here too:
- Don’t make too many changes at once: once a hot spot has been removed you may have a completely different picture. This is why processing two or more findings at once may be a waste of time.
- Don’t obsess: you want to enjoy your phone too so don’t obsess by hunting down the last second of wakelock. Enjoy your results!