Lithium battery downstream analysis