Comment 1 for bug 1388654

Revision history for this message
Lorn Potter (lorn-potter) wrote :

Looking at the code, there are a few things that need fixing to fix this.

1) qtubuntu-sensors backend does not check what the data rate has been set before starting the sensor.
2) platform-api does not arbitrate fastest data rate request and down sample to other slower data rate requests.

If it is platform policy that sensor data rates are not guaranteed (this is allowed by QtSensors API docs) then #2 does not need fixing. But fixing #1 without fixing #2 is problematic, as clients can change the rate of all clients sensors of a particular type when they do.