On Tue, 29 Nov 2016, at 15:17, Boris Zbarsky wrote: > > I understand the privacy concerns, but why can't these be handled similar > > to the Geolocation API? Ask permission to use / user opts in. > > Because prompting users is generally an antipattern. If, as a user, you > got a battery API prompt on every single page (because the trackers on > it were trying to use it), what would be your reaction?
There are other solutions that are not prompting. The specification even provide guidance such as returning less granular values or even default values. -- Mounir _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform