UPS lithium battery pack