摘要 |
An electronic apparatus that selectively uses as a power source one of a battery and an external power source to be powered therefrom, the electronic apparatus includes: a charging unit that charges the battery through the external power source; a power status determining unit that determines whether the external power source can drive the electronic apparatus; a history storage unit that stores a history of determination results of the power status determining unit; and a charging control unit that sets, to a maximum capacity of the battery, an upper limit of battery remaining power if the history indicates that the external power source can not drive for at least part of a specific past period, or sets the upper limit to a given value lower than the maximum capacity if the history indicates that the external power source can drive throughout the specific past period. |