Lithium battery electrolyte detection technology