电池百分比 - 在任何 iPhone 上进行准确测试
我正在寻找一种方法来对 iPhone 进行准确的测试,并找出电池百分比下降需要多长时间。在考虑这一点时,我想
电池的温度会对我的结果产生影响吗 即,如果我将 iPhone 带到室外进行测试,它与我在室内进行的测试是否一致?
运行测试时电池剩余电量有影响吗 即,与 95% 相比,如果测试以 30% 运行,电池百分比下降得更快吗?
我的目标是一个测试,我可以在我的设备上运行该测试,并在每次运行应用程序时获得相同的结果(或足够接近的结果)。
我的应用程序逻辑正常工作,这只是最后一个想法。是否有任何代码可以用来解决上述问题并消除我的不一致之处?可能找到电池的温度并对此采取措施吗?
预先非常感谢,
斯图尔特
I am looking for a way to run an accurate test on an iPhone and find how long it takes for battery percentage to drop. While considering this I thought
Would the temperature of the battery make a difference to my result
i.e If I took my iPhone outside and ran the test would it be consistent with the test I ran indoors?Does the percentage left in the battery when the test is run make a difference
i.e Would the battery percentage drop faster if the test was run at 30% when compared with 95%?
My goal is a test which I can run on my device and get the same result (or near enough) every time the app is run.
I have the app logic working, this was just a last thought. Is there any code I could use to factor in the above problems and iron out my inconsistencies? Possibly find the temperature of the battery and do something with this?
Many thanks in advance,
Stuart
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,温度可能会影响电池消耗的速度。
请参阅:http://chemistry.about.com/od/howthingsworkfaqs/f/ Coldbattery.htm
是的,电池剩余寿命确实会影响电池消耗的速度。将电池充电到 65% 所需的时间比从 65% 充电到 100% 所需的时间要少得多。放电时也会发生同样的情况。
Yes, the temperature could play a role in how fast the battery drains.
See: http://chemistry.about.com/od/howthingsworkfaqs/f/coldbattery.htm
Yes, the amount of battery life left does affect how fast the battery drains. It takes much less time to charge a battery to 65% than it does to charge it from 65% to 100%. The same thing happens with discharging.
iPhone 配备锂离子电池。网络上肯定会有描述此类电池测试条件的技术文献。
The IPhone has a lithium ion battery. There will certainly be technical literature on the web which describes test conditions for such batteries.