A charging device comprising: a connection portion to which selectively connectable are a first type battery pack and a second type battery pack , - wherein the first type battery pack is having a first battery that can be charged by the charging device and is having a switching circuit and the first type battery pack is configured to turn the switching circuit off based on internal data of the first type battery pack to interrupt a charging current, and - wherein the second type battery pack is having a second battery that can be charged by the charging device and the second type battery pack is configured to provide internal data of the second type battery pack to the charging device ; and the charging device further comprising charging means for supplying charging current to the first battery or the second battery included in a battery pack when connected to the connection portion ; and the charging device further comprising a battery type discriminator configured to discriminate between the first battery type pack and the second battery type pack ; and the charging device further comprising control means configured to control a charging condition of the second battery type pack based on the internal data of the second type battery pack provided by the second type battery pack when the second type battery pack is connected to the connection portion , and control a charging condition so as to abort (S318) the operation to supply the charging current when the first type battery pack is connected to the connection portion and the control means infers that charging of the first battery included in the first type battery pack is not feasible (S316). a connection portion to which selectively connectable are a first type battery pack and a second type battery pack , - wherein the first type battery pack is having a first battery that can be charged by the charging device and is having a switching circuit and the first type battery pack is configured to turn the switching circuit off based on internal data of the first type battery pack to interrupt a charging current, and - wherein the second type battery pack is having a second battery - wherein the first type battery pack is having a first battery that can be charged by the charging device and is having a switching circuit and the first type battery pack is configured to turn the switching circuit off based on internal data of the first type battery pack to interrupt a charging current, and - wherein the second type battery pack is having a second battery that can be charged by the charging device and the second type battery pack is configured to provide internal data of the second type battery pack to the charging device ; and the charging device further comprising charging means for supplying charging current to the first battery or the second battery included in a battery pack when connected to the connection portion ; and the charging device further comprising a battery type discriminator configured to discriminate between the first battery type pack and the second battery type pack ; and the charging device further comprising control means configured to control a charging condition of the second battery type pack based on the internal data of the second type battery pack provided by the second type battery pack when the second type battery pack is connected to the connection portion , and control a charging condition so as to abort (S318) the operation to supply the charging current when the first type battery pack is connected to the connection portion and the control means infers that charging of the first battery included in the first type battery pack is not feasible (S316). <EOS>