前台应用 activity 超过 100%?
Foreground app activity over 100%?
我刚刚在监控我的 iOS 游戏的能源使用情况,我发现前台应用程序 activity 经常高达 126%。我只是想知道这是否是我应该关心的事情?能源使用显示恒定值 1/20--- 但时间列始终是“00:00 - 00:00”,所以我有点困惑这意味着什么。
另外,有没有办法在我的应用程序中禁用蓝牙、gps,因为这些功能未被使用?我认为它们会有助于某种能源的使用。 Instruments 显示除了状态 "on" 和时间“00:00” 之外没有其他信息。
The Energy Usage instrument indicates a level from 0 to 20, indicating
how much energy your app is using at any 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 the 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.
我不认为我会为你所看到的内容操心。你的 FPS 是多少?您是否保持 60 fps?您的主要时间花在了前台应用程序上,因此如果您希望精简它,您应该查看 CPU 在做什么。如果你想看看你是否可以在那里提高性能,你可以看看 Time Profiler。
话虽如此,我认为用户确实意识到如果您正在玩游戏,电池寿命会受到影响。但是,该评论应根据游戏类型进行调整。如果您正在玩井字游戏并且正在耗尽电池的电量,我想您会皱起眉头。
你没有办法(这不会让你被拒绝)强行关闭东西。即使你可以,你也可能最终招致愤怒的用户。假设您使用的是蓝牙耳机...然后您会关闭蓝牙?
只要确保你的游戏很有趣,人们就会原谅你;)
我刚刚在监控我的 iOS 游戏的能源使用情况,我发现前台应用程序 activity 经常高达 126%。我只是想知道这是否是我应该关心的事情?能源使用显示恒定值 1/20--- 但时间列始终是“00:00 - 00:00”,所以我有点困惑这意味着什么。
另外,有没有办法在我的应用程序中禁用蓝牙、gps,因为这些功能未被使用?我认为它们会有助于某种能源的使用。 Instruments 显示除了状态 "on" 和时间“00:00” 之外没有其他信息。
The Energy Usage instrument indicates a level from 0 to 20, indicating how much energy your app is using at any 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 the 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.
我不认为我会为你所看到的内容操心。你的 FPS 是多少?您是否保持 60 fps?您的主要时间花在了前台应用程序上,因此如果您希望精简它,您应该查看 CPU 在做什么。如果你想看看你是否可以在那里提高性能,你可以看看 Time Profiler。
话虽如此,我认为用户确实意识到如果您正在玩游戏,电池寿命会受到影响。但是,该评论应根据游戏类型进行调整。如果您正在玩井字游戏并且正在耗尽电池的电量,我想您会皱起眉头。
你没有办法(这不会让你被拒绝)强行关闭东西。即使你可以,你也可能最终招致愤怒的用户。假设您使用的是蓝牙耳机...然后您会关闭蓝牙?
只要确保你的游戏很有趣,人们就会原谅你;)