A charging device includes a charging unit; a detection unit for detecting a temperature and a temperature increasing rate of a rechargeable battery; a controller for controlling the charging unit to supply a charging current to the rechargeable battery; and a compensating unit for setting a value of the first threshold to be greater if the temperature of the rechargeable battery at the time of mounting the rechargeable battery on the charging device is equal to or smaller than a second threshold and smaller if otherwise. The charging unit stops supplying the charging current to the rechargeable battery if the temperature increasing rate is equal to or greater than a first threshold.