DZone
Performance Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Performance Zone > Mobile Developers Shouldn't Have to Think about Battery Usage Any More

Mobile Developers Shouldn't Have to Think about Battery Usage Any More

Matt Lacey user avatar by
Matt Lacey
·
Jan. 17, 15 · Performance Zone · Interview
Like (0)
Save
Tweet
10.37K Views

Join the DZone community and get the full member experience.

Join For Free

I realize this is potentially controversial but hear me out.

Ignoring the devices with massive batteries that can last days.

  • Batteries in devices are better than they used to be. 
  • People have learnt when they can't use devices all day without consequence to the battery.
  • Because of this people have learnt to manage their usage so that they get through the day without running out of power. After all its them that suffer if the battery is drained.
  • People do this through a combination of managing their usage, recharging during the day and disabling radios and background tasks that they don't want or need.

So, if people have learnt to use their devices so that battery life isn't an issue, I think we're at a point where developers don't need to think about optimising their code to minimize power consumption.

Yes, some apps require intense processing or network activity that requires extra power consumption but this shouldn't be an extended event.

Also, line of business apps can have extra, special requirements for preserving battery life and ensuring usability. They're a hopefully obvious exception.

Some games are particularly bad at this and this should clearly be avoided. If I play a game for half an hour and it uses up half of the power in the battery (naming no names) then something is definitely wrong.

Of course this all comes with a disclaimer. I accept no responsibility for bad reviews or other negative consequences if your app drains a person's battery.

If you're an app developer, do you think about the battery consumption of your apps?

dev mobile app

Published at DZone with permission of Matt Lacey, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Monitoring Spring Boot Application With Prometheus and Grafana
  • Screen Sharing in Java
  • No-Code/Low-Code Use Cases in the Enterprise
  • Introduction to JWT (Also JWS, JWE, JWA, JWK)

Comments

Performance Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo