Matching of lithium battery pack and motor