I always wanted to power my Arduino Uno in a simple, fitting package. This is why I created a battery box that is removable and magnetically attaches to the bottom of the Arduino Uno. The battery box uses two rechargeable 9V batteries. Cases themselves use hooks to attach; the only hardware needed is for the battery holders and for the magnets.
The wiring on the Arduino side is very simple: just two wires coming from the magnetic connector, positive via a 1N4007 diode to the Vin pin on the Arduino, and negative to the GND pin.
The magnetic connector should be a press fit. You can then install the magnets and screw the Arduino into the case.
Finally, you can press in the upper case.
The Arduino side is now done. It will still function as a normal case, so you can still plug in the barrel jack connector or USB.
This is a bit more complicated, since any space is a premium. The positive wires coming from the 9V battery holders need to first go into the switch and then into the magnetic connector. The negative ones go straight to the connector. Do not leave too much slack, since you might not be able to close the case afterwards.
Again, the magnetic connector will be a press fit into the case. Secure the battery holders with M2 screws and nuts.
You can now add batteries and test the voltage on the pogo pins.
If everything looks good, you can close the case and put in the final magnets. Either press-fit them in or glue them in place.
The author remixed this model.
The top part of the case remains the same, but the bottom part has been significantly modified with magnets and a magnetic connector.