W3C home > Mailing lists > Public > public-device-apis@w3.org > December 2010

Re: power save mode

From: Robin Berjon <robin@berjon.com>
Date: Wed, 15 Dec 2010 12:40:49 +0100
Cc: public-device-apis@w3.org
Message-Id: <751F4216-12AF-4168-B071-B81FCBF17720@berjon.com>
To: Antoine Sanchez <ckkoshi@gmail.com>
On Dec 14, 2010, at 23:55 , Antoine Sanchez wrote:
> Computers have eco/full power mode, we should be able to know that.
> Also, we should know if devise is plugged and if not, the battery level.
> Or maybe device should simply send information about how he feels, so
> developers can adapt there code (animation, request refresh rate,
> etc.).

You can get the battery level with SysInfo, but not whether the device has made a specific decision to change its power management mode. Do you need something like that, or is inferring it from battery level and whether you're plugged in enough?

-- 
Robin Berjon - http://berjon.com/
Received on Wednesday, 15 December 2010 11:41:20 GMT

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