WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
95582
[Gtk] Add Battery Status API support
https://bugs.webkit.org/show_bug.cgi?id=95582
Summary
[Gtk] Add Battery Status API support
José Dapena Paz
Reported
2012-08-31 09:09:22 PDT
Battery Status API allows web applications to track power status of the device. It allows to behave different depending on that (i.e. avoid expensive calculations or polling if battery is low and discharging). Specs:
http://dvcs.w3.org/hg/dap/raw-file/tip/battery/Overview.html
Attachments
Patch
(44.18 KB, patch)
2012-09-04 10:50 PDT
,
José Dapena Paz
pnormand
: review-
webkit-ews
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
José Dapena Paz
Comment 1
2012-09-04 10:50:52 PDT
Created
attachment 162059
[details]
Patch
WebKit Review Bot
Comment 2
2012-09-04 10:54:49 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See
http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Early Warning System Bot
Comment 3
2012-09-04 11:13:55 PDT
Comment on
attachment 162059
[details]
Patch
Attachment 162059
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/13743569
Early Warning System Bot
Comment 4
2012-09-04 11:17:24 PDT
Comment on
attachment 162059
[details]
Patch
Attachment 162059
[details]
did not pass qt-wk2-ews (qt): Output:
http://queues.webkit.org/results/13757285
Build Bot
Comment 5
2012-09-04 11:17:33 PDT
Comment on
attachment 162059
[details]
Patch
Attachment 162059
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/13739629
Build Bot
Comment 6
2012-09-04 12:19:08 PDT
Comment on
attachment 162059
[details]
Patch
Attachment 162059
[details]
did not pass win-ews (win): Output:
http://queues.webkit.org/results/13744616
Zan Dobersek
Comment 7
2013-01-24 08:55:46 PST
Can we get this work moving again? I can help if help is needed.
Philippe Normand
Comment 8
2013-04-12 12:15:22 PDT
Comment on
attachment 162059
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=162059&action=review
> Source/WebCore/ChangeLog:13 > + Test are disabled, as there is a linking issue related to > + WebCoreInternals.
It'd be nice to figure this issue out. Also, not sure we want to add new features in WK1 at this point :/
Zan Dobersek
Comment 9
2013-04-13 10:05:00 PDT
Comment on
attachment 162059
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=162059&action=review
The specification is a candidate recommendation so I think it would be great if we can get the implementation up and working.
>> Source/WebCore/ChangeLog:13 >> + WebCoreInternals. > > It'd be nice to figure this issue out. Also, not sure we want to add new features in WK1 at this point :/
I think this is simply a matter of exporting the undefined symbols, nothing uncommon really.
Zan Dobersek
Comment 10
2013-04-13 10:06:28 PDT
(In reply to
comment #9
)
> The specification is a candidate recommendation so I think it would be great if we can get the implementation up and working. >
Link to the specification:
http://www.w3.org/TR/battery-status/
ChangSeok Oh
Comment 11
2013-08-23 10:50:32 PDT
Oops. I didn't notice this movement supporting BatteryStatus before.. :p What's going on this? I've also worked a patch for this feature. If you guys don't mind, I'd like to post my patch somewhere. :)
Zan Dobersek
Comment 12
2013-08-23 11:09:09 PDT
Shame about the duplicated work. My set of patches is complete, but still requires reviewing. The patches are spread in the bugs that are blocking this one.
Zan Dobersek
Comment 13
2013-12-11 10:22:22 PST
Aaand it's done.
ChangSeok Oh
Comment 14
2013-12-12 00:06:14 PST
(In reply to
comment #13
)
> Aaand it's done.
Zan, great works! :)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug