In Oppo mobile phone gyroscope is giving twice the accelerometer data(no of data per time period). In oneplus it is giving 5 times and in MI phone it perfectly giving the same no of data for both accelerometer and gyroscope. Same code block has been used in all mobile phones but I am getting correct result for MI phones where as Oppo and oneplus are giving wrong. Please check and provide some insight.
Code: sm.registerListener(sensorObject[i].sel, allDeviceSensors.get(i), delay);
// sm is object of sensorManager // sel is object of SensorEventListener