Pollution prevention and control in lithium battery production