Re: [sensors] Call 'onchange' only when data changes and considering frequency hint

Think we must distinguish between _polling frequency_  (one which is 
used by the actual device sensor to poll data) and _update frequency_
  (how often a JS Sensor object notifies its updates).
The user provides frequency hint only for update frequency, this hint 
also defines minimal desired interval between two updates.
The polling frequency will be chosen internally by UA. However, 
polling frequency affects the latency of the returned sensor data. So,
 it would be advisable to introduce also  _latency_  sensor 
construction parameter, so that UA will consider it when selecting the
 actual polling frequency. @tobie, wdyt?



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

Received on Tuesday, 14 February 2017 10:59:24 UTC