Lithium battery pack connection line selection