Re: [sensors] Find a better name for 'unconnected' state

> If it is "idle", shouldn't it be "active". 

I don't understand this.

> So "activating" is basically meaning "changing state",

"activating" just means changing from "idle" to "activated".

> I am wondering whether some sensors will require time to shut down

They do, but since this is by design not observable (so the UA can shut the sensor down or keep it active if others are still relying on it), calling `.stop()` on a sensor simply tells the UA it no longer needs data from it, and prevents any further data from being exposed to the API's client. So it never will need to be async.  

> what will users use the "activating" state for?

That's a good question. I'll give you another one: which states do you think the API consumers would like to know, and which state changes do you think they be interested in?

-- 
GitHub Notification of comment by tobie
Please view or discuss this issue at https://github.com/w3c/sensors/issues/160#issuecomment-291078648 using your GitHub account

Received on Monday, 3 April 2017 08:24:42 UTC