Patent ID: 7525288

Claim:
A computer-readable storage medium adapted to store a computer program for controlling a charging/discharging apparatus which receives power from a power supplying apparatus, the program comprising: a temperature measuring step for measuring an internal temperature of said charging/discharging apparatus; a first transmitting step for transmitting said internal temperature data of said charging/discharging apparatus to said power supplying apparatus, wherein said first transmitting step also collects charged state information of a battery pack attached to said charging/discharging apparatus and supplies said charged state information to said power supplying apparatus; a battery pack temperature measuring step for measuring an internal temperature of said battery pack; a second transmitting step for transmitting said internal temperature data of said battery pack to said power supplying apparatus; and a selection step for selecting a charging-mode based on the charged state information, said internal temperature data of said charging/discharging apparatus, and said internal temperature data of said battery pack, wherein the selection step selects the charging-mode from at least a first charging-mode and a second charging-mode, the second charging mode charging the battery pack with a current smaller than the first mode, wherein when the internal temperature of the charging/discharging apparatus is higher than a predetermined value, the selection step terminates charging, and wherein when the internal temperature of the battery pack is out of a predetermined range, the selection step selects the second charging mode.