Detect lithium battery pack