Hamish_Fernsby
Hamish_Fernsby

Reputation: 578

how to disable automatic magnetometer calibration?

There are plenty of threads about how to calibrate the compass sensor by rotating in all 3 axes and that you can only really know if it's out of calibration by checking against GPS data. Like:

Inbuilt sensor calibration functionality in Android

Check and enable Magnetic sensor calibration in Android

Compass give me crazy data, is calibration needed or it's the sensor broken?

But my problem is this - I am using the magnetometer for other scientific purposes and I don't want it to recalibrate to the present environment because that would affect my measurements. Does the android OS only calibrate the sensor when the phone is moved more than a certain threshold or is it based on a timer or both? Is it possible to disable calibration altogether or would that require rooting the OS? thanks for any thoughts on this :-)

Upvotes: 0

Views: 1168

Answers (1)

Keunwoo Park
Keunwoo Park

Reputation: 455

Have you tried uncalibrated magnetometer?

The document says their measurement makes fewer jumps from the calibration

Upvotes: 0

Related Questions