W3C home > Mailing lists > Public > public-device-apis-log@w3.org > December 2016

[sensors] Need API to report platform accuracy changes

From: Mark Foltz via GitHub <sysbot+gh@w3.org>
Date: Mon, 26 Dec 2016 19:15:21 +0000
To: public-device-apis-log@w3.org
Message-ID: <issues.opened-197613439-1482779719-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:52 UTC