Lithium Battery Diagnostic System