7
|
Johannes Jensen · 技术社区 · 14 年前 |
![]() |
1
9
According to the LIS302DL 加速度计数据表,在100Hz的更新率下消耗约0.75 mwatts的功率,在待机模式下消耗0.0025 mwatts的功率(即没有读数)。 So, the short answer is "Yes", but off the top of my head, I can't put those numbers in perspective to give you an idea of, say, "how many minutes of on time" it drains from the battery. My recommendation would be to do a bit of testing. 找到提供满意结果的最低更新率。 |
![]() |
2
15
Given the numbers in the accepted answer the power usage by the actual accelerometer is trivial. Your real hit will come from your app having to process the events and thus making the CPU not sleep more often. 3GS有一个4.51瓦时的电池。当以100赫兹的频率运行时,只有加速度计的放电会在(大约)6000小时内(假设0.75毫瓦的值是正确的)杀死电池。 (Also, the iPhone 4 has a 5.25 Watt-hour battery, 4S 5.3 Whr and 5 5.45 Whr, in case you're curious) |
![]() |
3
2
从 Event Handling Guide for iPhone OS :
根据这一点,更新频率较高的代价可能是应用程序必须处理每个加速度计事件,而不是长时间闲置。 此外,从 iPhone Application Programming Guide :
|
![]() |
4
1
My answer would be yes. It does drain battery faster. And 60 times / seconds is excessive. |
![]() |
WkWk · Apple Watch动作通知不起作用 2 年前 |
![]() |
Otavio Miguel · 在手机中保留我自己未发布的ios应用 2 年前 |
![]() |
Nico Passaglia · 移动键盘向上移动站点 6 年前 |