Magnetic single-element lithium battery