Lithium battery pack connected to controller