关于iPhone:iOS应用程序的功耗

Power consumption of an iOS application

我想检查我的iOS应用程序的电源使用情况。
我尝试使用乐器。

在"能源使用水平"中,它显示值1/20(0到20),指示您的应用在任何给定时间消耗了多少能量。

该值表示0到20?
以及如何将值导出到文本文档中

编辑:如何将其转换为能源使用百分比?


苹果提到的是以下内容:

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 appa€?s energy usage level is occasionally high, it
doesna€?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.

这些数字是主观的,仅可以用作指示使用率的指标,仅此而已。

该链接还提供了一种记录能耗水平的方法。