O'Reilly logo

Android 3.0 Animations by Alex Shaw

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action—measuring battery usage with PowerTutor

  1. The first thing we need to do is get PowerTutor. You can download it from the Android Market or get it from http://powertutor.org and install it to your Android device.
  2. PowerTutor will only work with real Android devices. You cannot use an emulator for this test.
  3. Open up PowerTutor on your device. When you first open it up, you will need to accept an EULA. Read through it, and if you are satisfied, you can accept it to continue.
  4. You will notice here that the PowerTutor app is only supported on some devices. If you use an unsupported device, don't despair! The figures are still useful, as they will help you understand how much power your animation is using relative to other applications.
  5. Hit

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required