How to use the battery pack voltage imbalance