Vineesh TP
Vineesh TP

Reputation: 7943

Power consumption of an iOS application

I want check power usage of my iOS application. I tried with the Instruments.

In the 'Energy Usage Level' it shows values 1/20 (0 to 20),indicating how much energy your app is using at any given time.

What the value meant 0 to 20?. And how Can I export the value in to text document

Edit : How can I convert it to percentage of energy usage ?

Upvotes: 2

Views: 1315

Answers (1)

Mostafa Sultan
Mostafa Sultan

Reputation: 2438

What Apple mentioned is the following :

The Energy Usage instrument shows a level from 0 to 20, indicating how much energy your app is using at a given time. These numbers are subjective. If your app’s energy usage level is occasionally high, it doesn’t necessarily mean that your app has a problem. Your app may simply require more energy for some of the tasks it performs. For example, it may use GPS while performing complex network operations. This is valid energy use. What you should look for are spikes or areas of high energy use that are unexpected or that could be performed at more optimal times.

the numbers are subjective it just can be used as an indicator on how high your usage is, thats all.

the link also provides a way to log the energy usage level.

Upvotes: 1

Related Questions