[webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore
rniwa at webkit.org
Wed Jun 15 11:32:55 PDT 2011
On Wed, Jun 15, 2011 at 11:29 AM, Darin Fisher <darin at chromium.org> wrote:
> There should probably be a way to poll the current state. Much as you can
> poll the document.readyState and respond to progress events, it would seem
> to make sense to have a way to poll the battery state as well as respond to
> battery state change events.
I agree. I'm rather surprised by the fact the current draft doesn't provide
any API for that.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev