Battery lithium carbonate production