Search code examples
androidsonysony-smartwatch

Sony SmartWatch 3 (SWR50) no longer returns Sensor.TYPE_LINEAR_ACCELERATION


I am writing an application which uses the Sensor.TYPE_LINEAR_ACCELERATION.

mAccelerometer = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION);

This was working up until recently however each SensorEvent now returns a values float array containing: NaN, NaN, NaN.

I have tried the same code on an LG watch and it is returning values as I would expect.

The versions of software on the SWR50 are:

Android Wear 1.1.1.1929530

Google Play services 7.5.71 (1955121-534)

Android OS 5.1.1

Note that the Sensor.TYPE_ACCELEROMETER returns values (which was confirmed in the Manufacturer (Menu-Launcher) app in the developer options) so the accelerometer doesn't appear to be broken.

Can anyone from Sony confirm this issue? Otherwise maybe I need to get a new watch if it is broken.


Solution

  • Sounds strange that it would just stop working all of a sudden.

    1. Did you install any firmware updates recently?
    2. Have you tried power cycling the watch?
    3. Have you tried doing a factory reset?