仪器未显示能量使用水平:它是空的 [英] Instruments doesn't show Energy Usage Level: it is empty

查看:124
本文介绍了仪器未显示能量使用水平:它是空的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已按照Apple步骤使用Energy Diagnostics Instruments从我的设备获取应用能耗水平(https://developer.apple.com/library/ios/#documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/Built-InInstruments /Built-InInstruments.html#// apple_ref / doc / uid / TP40004652-CH6-SW63)。



我已尝试使用自己的应用程序以及来自除了能源使用信息之外,AppStore和我总是得到所有预期的信息(包括时间标志)。
简单来说,能源使用栏不会显示任何图表(它确实显示运行时间),能耗表(详细信息视图)始终为空白。



<我正在使用iPodTouch4和XCode 4.2。
可能是什么问题?除Apple步骤外,我还需要做任何事情吗?



提前致谢。

解决方案

我发现了能量诊断准确度不高,所以我公司制作的 Powergremlin 很简单,但在我们的测试中更准确。它是开源的,所以只需下载&在Xcode中构建它。


I have followed the Apple steps to get my app energy usage level from my device using Energy Diagnostics Instruments (https://developer.apple.com/library/ios/#documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/Built-InInstruments/Built-InInstruments.html#//apple_ref/doc/uid/TP40004652-CH6-SW63).

I have tried with my own app and with several apps from the AppStore and I always get all the info expected (including time flags) except the Energy Usage Info. Simply, the Energy Usage Bar doesn't show any graph (it does show the running time) and the Energy Consumption table (detail view) is always blank.

I am using an iPodTouch4 and XCode 4.2. What could be the problem? Do I need to do anything apart from Apple steps?

Thanks in advance.

解决方案

I've found Energy Diagnostics to have lackluster accuracy, so my company made Powergremlin which is simple, but much more accurate in our tests. It's open source, so just download & build it in Xcode.

这篇关于仪器未显示能量使用水平:它是空的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆