Accordingly, if the electronic device, such as a notebook computer, is not activated yet, the electronic device can be prevented from being activated by the battery pack determined as having the fault, thereby ensuring the safety of the electronic device.