1. Are you ready for the Galaxy S20? Here is everything we know so far!

How to make sure my app isn't draining batteries

Discussion in 'Android Development' started by chrisdev44, Apr 1, 2016.

  1. chrisdev44

    chrisdev44 Lurker
    Thread Starter

    I didn't realize that the Android Battery tool allows people to not only see which apps are hogging battery, but you can even uninstall those apps directly from the tool.

    With this being such a big issue, how can I test my app's drain or figure out which bits of code / scenarios cause the most drain? Any tips?
     


  2. Deleted User

    Deleted User Guest

    You could try running the Android battery tool with your app running on the device. What does it say? If it's not a huge battery hog, then no problem.
     
  3. chrisdev44

    chrisdev44 Lurker
    Thread Starter

    That's just one moment of one instance on one controlled device, not really the granularity that I'm looking for. Knowing which points of my app are causing issues can help me figure out where to focus my efforts.

    My worry is that it'll be exponentially worse for certain users, certain devices, etc that I can't always replicate
     
Loading...
Similar Threads - sure app isn't
  1. DarkSideMilk
    Replies:
    6
    Views:
    412
  2. rootabaga
    Replies:
    6
    Views:
    396
  3. dorlow
    Replies:
    8
    Views:
    797
  4. MsBlocksWorth
    Replies:
    2
    Views:
    335
  5. ComposerShield
    Replies:
    0
    Views:
    698
  6. Mycall702
    Replies:
    5
    Views:
    619
  7. Kerri Anderson
    Replies:
    4
    Views:
    2,028
  8. Matthel14
    Replies:
    1
    Views:
    206
  9. Galinho13
    Replies:
    4
    Views:
    806
  10. james27007
    Replies:
    2
    Views:
    3,996

Share This Page

Loading...