O'Reilly logo

Android High Performance Programming by Diego Grancini, Enrique López Mañas

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

Chapter 8. Optimizing Battery Consumption

Battery consumption and usage are a crucial part of developing high-performance applications in a mobile platform. Whereas in a desktop we do not need to particularly care about the amount of energy being used, since there is a permanent connection to a source of energy, in mobile devices the situation is different and we need to keep an eye on this.

A battery lasts on average on a mobile device up to 36 hours and this time span decreases as the phone starts getting older. This is a particularly reduced amount of time, which makes our devices dependent on being close to an electricity source. Whereas Moore's law is almost still being accomplished and the processing power/unit cost relationship is roughly ...

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