Lithium battery resistance balancing