When I’m building a model with working lights, I usually hide the battery in a recess routed out for it in the bottom of the (wooden) base. And then I have to come up with some way to keep it from falling out. In the past, I’ve used screweyes and a bit of wire (disadvantage: has to be retwisted every time I change the battery) or some kind of clever clip bent out of music wire (disadvantage: calls for cleverness) or a little wooden shelf to put it on top of (disadvantage: can fall out).
But last night I had a brainstorm: I glued two flat round supermagnets to the roof of the compartment. The battery has a steel case, so it sticks to the magnets, secure yet easy to remove if I need to. I was pretty proud of that, I can tell you.
But here’s the question: Is sticking two magnets to the side of the battery going to affect the battery’s function? I don’t know enough about electrochemistry to know whether it’s going to be a problem or not.