Lithium battery back-end detection