Detection of lithium battery bad points