At times, Magnemite runs out of electricity and ends up on the ground. If you give batteries to a grounded Magnemite, it’ll start moving again.
The electricity emitted by the units on each side of its body cause it to become a strong magnet.