问题描述
我已按照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和我总是得到所有预期的信息(包括时间标志)。
简单来说,能源使用栏不会显示任何图表(它确实显示运行时间),能耗表(详细信息视图)始终为空白。
可能是什么问题?除Apple步骤外,我还需要做任何事情吗?
提前致谢。
我发现了能量诊断准确度不高,所以我公司制作的很简单,但在我们的测试中更准确。它是开源的,所以只需下载&在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.
这篇关于仪器未显示能量使用水平:它是空的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!