How to produce pure cobalt batteries