O'Reilly logo

Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android by Michael Eierman, Jakob Iversen

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

Battery Issues

Mobile devices are just that—mobile. This means that they are not always connected to a power source. They rely on batteries for their power, and batteries can be drained. Your job as a developer is to not drain those batteries unnecessarily. This is not just a courtesy issue. If every time your app is used the user’s device quickly becomes a brick, it will be noticed. An app that quickly drains power will not get used, will get bad reviews, and eventually will not get downloaded at all.

The primary power draw for devices is the display. You cannot do much about that except to make sure that your code is efficient and doesn’t take an unnecessary amount of time to complete the work that the user wants to do. Also, you should make ...

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