[webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

Ryosuke Niwa 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.

- Ryosuke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110615/7ede9046/attachment.html>


More information about the webkit-dev mailing list