Two working modes of battery pack