Re: Battery Status Event Spec

On Mar 31, 2011, at 16:14 , Tran, Dzung D wrote:
>> Isn't that what level is for?
> Yes, that is right. However, I don't know it make sense to have both timeRemaining and level. Isn't they kind of represent the same thing. It is hard to accurately calculate timeRemaining. At least on my computer, I noticed that timeRemaining fluctuate and sometime it gave me something like 4hr 20mins then later it gives me 4hr 32mins. 

It is certainly true that timeRemaining is hard to calculate, and will necessarily fluctuate as the activities you perform on your computer change. I think that it should be optional (I don't think that all platforms support it) but that it should be exposed if available as it is even harder for an application to evaluate it than it is for the system.

-- 
Robin Berjon - http://berjon.com/

Received on Thursday, 31 March 2011 14:48:55 UTC