December 2013
Beginner
416 pages
12h 45m
English
To get a better idea of how much CPU power your app is consuming, go through these steps.
1. Run the application on a device.
2. Go to the Task Manager, and look at how much CPU power the app is consuming, as shown in Figure 9.4. When the timer is not running, it should say 0.00% or very close to it. Through careful management of the activity lifecycle, you have reduced the app’s power consumption.
Figure 9.4 CPU usage of the On Your Bike application
3. Go back to your application, start the timer, and then go back to the Task Manager. You may see the CPU increase a tiny amount, 0.50% or so, and then it will settle back ...
Read now
Unlock full access