A note of interest.
Old carbon zinc batteries were not magnetic.
Any new style has a magnetic case and can have a major effect on the accuracy of the compass.