Re:Facebook iOS App Battery Explanation
by X-Istence on Thursday October 22, 2015 @08:03PM
(#10436029)
This is actually really neat, do you guys have a blog post detailing how you do this?
Re:Facebook iOS App Battery Explanation
by barkingcat on Thursday October 22, 2015 @10:22PM
(#10436464)
At mozilla - for B2G battery drain issues there is a project for building battery harnesses - the work of one man working in low level power measurements
https://hacks.mozilla.org/2014/04/measuring-power-consumptio...
Re:Facebook iOS App Battery Explanation
by CamperBob2 on Friday October 23, 2015 @12:52AM
(#10436868)
Curious how other folks handle these issues.
One approach might be to use a thermometer or IR camera to keep track of the phone's temperature relative to ambient. If something is causing unusual amounts of battery drain, the phone is going to get (much) hotter.
I remember a presentation by Amazon at AnDevCon describing a similar setup they use internally as part of their validation. The built in Android battery profile wasn't sufficiently accurate to what was actually causing drain (most OEMs don't modify the default AOP power profile to represent what their system components actually consume in power). They actually went to the point to connecting into the battery electronics on the battery side to monitor drain. Unfortunately I don't see the presentation available online and this was at least 4 years ago.
We ended up wiring a disassembled iPhone to battery simulation hardware and are now able to measure battery drain while stepping through a debugger/pushing the phone through an integration test to identify power usage regressions.
Curious how other folks handle these issues.