BATTERY PACK AND METHOD OF CONTROLLING THE SAME