能源使用仪器 - iOS

发布于 2024-12-24 19:51:45 字数 217 浏览 4 评论 0原文

当我运行应用程序时,我试图测量 iPod 的能源使用水平。我将数据从设备导入到 Instruments 应用程序,能源使用级别显示条形图。但是,在“仪器”的详细信息窗格中,能源使用级别没有显示任何数字来指示我的设备中应用程序使用的能源级别。您知道如何获得该能源使用水平吗?我按照仪器文档中所述的步骤从 iOS 设备获取能源使用报告;我的 iOS 设备是 iPod touch 3G,我使用的是 Xcode 3.0。谢谢!

I'm trying to measure the energy usage level from my ipod when I run my application. I import the data from my device to Instruments app and the Energy usage level displays a bar graph. However, in the detail pane of Instruments the energy usage level don't show any number that indicate the level of energy used by the app in my device. Do you know how to get this energy usage level? I'm followed the steps stated in the Instruments Documentation to get the Energy Usage report from the iOS device; My iOS device is an ipod touch 3G and I'm using Xcode 3.0. Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

寄意 2024-12-31 19:51:45

您必须先断开设备连接,测试您的应用程序,然后重新连接。在仪器中,选择 -> 文件 -> 从设备导入能量诊断

无论如何它都不准确,我想知道如何从能量水平(0-20)转换为实际单位。

You have to disconnect your device first, test your app, and reconnect. In instrument, select ->File ->Import Energy diagnostic From Device

It's not accurate anyway, I wonder how to translate from energy level (0-20) to real unit.

黎夕旧梦 2024-12-31 19:51:45

从左侧仪器列表中选择“能源使用”后,从菜单中选择“查看”->“能源使用”。 Detail ,或 Command + D 作为快捷方式。然后,您将看到包含能源使用级别的详细视图。

或者

移动您的检查头以查看能源使用水平 Inspection Head in Instruments

另请注意,在您的设备设置中 ->开发商->能源诊断记录(开/关开关),关闭此开关将重置以前的日志。

While you Energy Usage is selected from left hand Instruments list, from your menu select View -> Detail , or command + D for shortcut. You would then see detail view with Energy Usage Level.

Or

Move your inspection head to see Energy usage level Inspection Head in Instruments

Also note that in your device settings -> Developer -> Energy diagnostics Logging (On/Off switch), turning this switch off would reset previous logs.

黑色毁心梦 2024-12-31 19:51:45

能源诊断还存在其他问题,即缺乏粒度且并不总是准确。我的公司编写了 Powergremlin 来解决这些问题,虽然非常简单,你可能会发现它很有用。

Energy Diagnostics has other problems, namely it lacks granularity and isn't always accurate. My company wrote Powergremlin to solve those problems and, while very simple, you might find it useful.

南笙 2024-12-31 19:51:45

最后我找到了解决方案。我使用的是标记为第 3 代的 iPod,但由于它不起作用,我决定尝试使用 iPhone 3GS,它可以工作,能量级别使用情况显示在仪器中。

Finally I found a solution. I was using an ipod labeled as 3rd generation but as it didn't work I decided to try with an iPhone 3GS and it works, the energy level usage is shown in Instruments.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文