I’m developing an iPhone app that uses location services and runs in the background. It seems that the battery drains faster while running, but when I try to do some structured tests, the result Not sure.
The steps I’m taking are:
>Charge the battery to 100%
>Remove the SIM card (I need it for another phone)
>Close push mail/calendar/contacts
>Reinstall the application
>Restart the phone
>Start the application
>Return to SpringBoard (application selection screen)
< p>Then I waited for about 15 hours to see what the battery is. The result so far is:
>The application is not running-69% remaining
>The application is running-remaining 65%
>application running-83% remaining
The information it provides does help track down the cause of the battery drain problem.
In retrospect, I should say that I’m new to iOS , Not a developer (as a QA development application).
What is the best way to benchmark the battery usage of iPhone applications?
I’m developing an iPhone app that uses location services and runs in the background. It seems that the battery drains faster while running, but when I try to do some structured tests, the result Not sure.
The steps I’m taking are:
>Charge the battery to 100%
>Remove the SIM card (I need it for another phone)
>Close push mail/calendar/contacts
>Reinstall the application
>Restart the phone
>Start the application
>Return to SpringBoard (application selection screen)
< p>Then I waited for about 15 hours to see what the battery is. The result so far is:
>The application is not running-69% remaining
>The application is running-remaining 65%
>application running-83% remaining
The original answer is to use Apple’s Measure Energy Impact in Xcode.
The information it provides is really helpful in tracking down the cause of the battery drain problem.
In retrospect, I should say that I am new to iOS, not a developer (as a QA development app) .