On 11/5/13 4:49 PM, Andreas Gal wrote:
> If you can access the remaining battery status of a large enough
> population over time it should be easy to use telemetry to measure
> this pre and post patch.
> 
> Andreas
> 
> Sent from Mobile.

As it turns out, the platform currently offers an abstract notion of
"battery level" as a number in [.0, 1.0] and/or discharging time. I
believe that we would need something a bit closer to the metal, e.g. a
number of W•s.

I wonder if I should pursue this as a xpcom/js-ctypes library or whether
we should work on extending the BatteryManager WebAPI. Note that I am
interested in using it in workers.

Any thought?

Cheers,
 David

-- 
David Rajchenbach-Teller, PhD
 Performance Team, Mozilla
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to