W3C home > Mailing lists > Public > public-device-apis@w3.org > November 2011

RE: Battery Status API Last Call Feedback

From: Josh Soref <jsoref@rim.com>
Date: Tue, 29 Nov 2011 17:11:11 +0000
To: "public-device-apis@w3.org" <public-device-apis@w3.org>
Message-ID: <957F1ECDA90E004B8DBDE23CFC94E3A31164B5BB@XMB103ECNC.rim.net>
Mounir wrote:
> With the current state of the spec, the only privacy issue is quite
> minor: a website can know if you are currently running in battery mode which
> means not plugged. The only usage I can imagine of that information is a
> website trying to suck your power out. Even, such website can exist today and
> the only new information given is whether it is worth trying or not.

This isn't accurate.

In theory a web site could play a video and calculate how much energy a video costs. Then it could monitor battery and calculate when you're watching videos.

It'd be fairly rough, but if you can calculate that 1% normally takes say 30 minutes to consume, and that you can consume 1% in say 4 minutes by watching a video, then if you see 1% consumed in 4 minutes, you can guess someone was playing a video.

It could probably do similar things to calculate the cost of using GPS and then use it to determine when GPS might have been used.

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
Received on Tuesday, 29 November 2011 17:11:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:14:24 GMT