[sensors] Need API to report platform accuracy changes

mfoltzgoogle has just created a new issue for 
https://github.com/w3c/sensors:

== Need API to report platform accuracy changes ==
At least on Android, the accuracy of an already-instantiated sensor 
can change dynamically based on user or platform actions [1].  For 
example it may take some time for a sensor to calibrate itself or it 
may revert to a low accuracy mode in a battery saving situation.  This
 information could be important for applications, but it's not exposed
 through the generic API.

I don't know how easy it would be to strictly define the accuracy 
levels reported through that API [2].  It may be dependent on the 
sensor type and implementation.

[1] 
https://developer.android.com/reference/android/hardware/SensorEventListener.html#onAccuracyChanged(android.hardware.Sensor,
 int)
[2] 
https://developer.android.com/reference/android/hardware/SensorManager.html#SENSOR_STATUS_ACCURACY_HIGH

Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/154 using your GitHub account

Received on Monday, 26 December 2016 19:15:22 UTC