In an electronic apparatus which receives power from a battery having an identification, the electronic apparatus including an identification reading means for reading the identification from the battery, memory means for storing a table that contains battery information, means for updating the battery information, means for detecting remaining power of the battery and means for indicating the level of remaining power, a method for managing said battery, the method comprising the steps of:
- (a) reading the identification from the battery;
- (b) searching the memory means containing the battery information for the identification read in step (a), wherein the battery information includes a power-on time and a power-off time of the battery, power consumption time and accumulated consumption time;
- (c) setting the power-on time in the battery information in the memory means, according to the identification;
- (d) setting the power-off time in the battery information in the memory means, according to the identification;
- (e) calculating the power consumption time of the battery and accumulating the power consumption time in the battery information in the memory means;
- and
- (f) detecting a level of a remaining power in the battery, based on the accumulated consumption time and outputting the level of the remaining power detected;
- (g) registering a new identification in the battery information in the memory means when the identification read in step (a) is not found in the battery information in the memory by step (b);
- (h) periodically repeating the calculating step, the adding step, the detecting step and the displaying step in order to display the current level of remaining power periodically;
- and
- (i) charging the battery with a charger and updating the accumulated consumption time.