- From: Robin Berjon <robin@berjon.com>
- Date: Tue, 6 Sep 2011 13:08:13 +0200
- To: Joćo Eiras <joaoe@opera.com>
- Cc: public-device-apis@w3.org
On Sep 4, 2011, at 23:42 , Joćo Eiras wrote: > On a general note, I do not understand well the need for baterrylow/critical events. Would be far simpler to just use level, and two extra properties in the event object like lowLevelThreshold, criticalLevelThreshold with the user agent's configured values. Then the app could just check the current level against the configured one. A suggestion to make it simpler. This works only on the assumption that for a given platform low and critical levels are numeric thresholds. A smart platform might conceivably compute these levels based on the rate of consumption rather than fixed absolute values. -- Robin Berjon - http://berjon.com/ - @robinberjon
Received on Tuesday, 6 September 2011 11:08:46 UTC