-2

my application consuming more battery, it is using more battery in one hour it using around 30%. how to handle it. I don't have any idea about it.

Thanks,

Abhishek Mishra
  • 1,625
  • 16
  • 32
  • You should write major functionality of your application so that someone can help!! like your application is using location continuously or something else! – Ketan Parmar Aug 05 '16 at 05:26
  • Do you mean an application that you wrote? If so, generally speaking, the more you use your hard drive - the faster you use up your battery. This also includes if your application is being swapped out to the hard drive because it is big enough that the operating system is doing the swapping. You should post more information about both your program as well as the computer you are using. Remember that the more resources you use - the faster the battery is used up. :-) – Mark Manning Aug 05 '16 at 05:26
  • Yes, i am getting location continuously, What is the solution for it? @KetanParmar – Abhishek Mishra Aug 05 '16 at 05:36
  • Whether you are getting location continuously, the battery could not reduced so fast like that – nghien_rbc Aug 05 '16 at 06:25
  • 1
    Use the energy instruments tool – Paulw11 Aug 05 '16 at 06:49

1 Answers1

4

You can do things like: 1. Turn location services on only when they are needed. 2. You can reduce the location Accuracy. Refer this Apple Documentation

Nilesh Jha
  • 1,626
  • 19
  • 35