In reply to lb1dej:
I would look for a strong permanent magnet near where the compass was stored. Loudspeakers, even small ones like in mobile phones are a good suspect. Magnetic catches e.g. on some cellphone cases are another. Generators like in wind up torches or motors are another.
You can use the compass to help find the source of a magnetic field - as it gets close the compass needle will move.