That would not work - not on any reasonable time frame, when you turn the device off, etc. But it could indeed be combining magnetic field data with data from other sensors (gyroscope, accelerometer, etc.) to get a better reading and filter out interference (such as juicemes magnets ;-) ).