电池百分比 - 在任何 iPhone 上进行准确测试

发布于 2024-08-15 20:05:26 字数 386 浏览 2 评论 0原文

我正在寻找一种方法来对 iPhone 进行准确的测试,并找出电池百分比下降需要多长时间。在考虑这一点时,我想

  1. 电池的温度会对我的结果产生影响吗 即,如果我将 iPhone 带到室外进行测试,它与我在室内进行的测试是否一致?

  2. 运行测试时电池剩余电量有影响吗 即,与 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

  1. 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?

  2. 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 技术交流群。

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

发布评论

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

评论(2

无所谓啦 2024-08-22 20:05:26
  1. 是的,温度可能会影响电池消耗的速度。
    请参阅:http://chemistry.about.com/od/howthingsworkfaqs/f/ Coldbattery.htm

  2. 是的,电池剩余寿命确实会影响电池消耗的速度。将电池充电到 65% 所需的时间比从 65% 充电到 100% 所需的时间要少得多。放电时也会发生同样的情况。

  1. Yes, the temperature could play a role in how fast the battery drains.
    See: http://chemistry.about.com/od/howthingsworkfaqs/f/coldbattery.htm

  2. 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.

披肩女神 2024-08-22 20:05:26

iPhone 配备锂离子电池。网络上肯定会有描述此类电池测试条件的技术文献。

The IPhone has a lithium ion battery. There will certainly be technical literature on the web which describes test conditions for such batteries.

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