Write the calibration as soon as compass gets a MEDIUM accuracy.

previously, we would wait for the device to be in a no motion
state for a few seconds -- which might never happen before the
sensors are turned off.

Change-Id: I94815b942b4d035ec1c549ed732548538adcd355
1 file changed
tree: 5e5208e532b6c07557aabadacf800e4f01308dad
  1. libsensors/
  2. mlsdk/