A first electronic device comprising: a body; a docking portion that is provided in the body, wherein the docking portion is detachably coupled to a second electronic device; a terminal configured to come into contact with a terminal of the second electronic device according to a coupling of the first electronic device to the second electronic device; and a controller configured to: identify the coupling of the first electronic device to the second electronic device; determine a basic performance of the second electronic device, where the basic performance represents a configuration or function of hardware of the second electronic device; compare the determined basic performance of the second electronic device with an extended performance of the first electronic device, where the extended performance represents a configuration or function of hardware of the first electronic device; determine the extended performance that can be provided by the first electronic device based on at least one of an additional performance or a replacement performance that can be provided by the first electronic device determined based on a result of the comparison, the additional performance and the replacement performance each representing a configuration or function of hardware of the first electronic device; and control the second electronic device using the first electronic device according to the basic performance of the second electronic device and the extended performance. a body; a docking portion that is provided in the body, wherein the docking portion is detachably coupled to a second electronic device; a terminal configured to come into contact with a terminal of the second electronic device according to a coupling of the first electronic device to the second electronic device; and a controller configured to: identify the coupling of the first electronic device to the second electronic device; determine a basic performance of the second electronic device, where the basic performance represents a configuration or function of hardware of the second electronic device; compare the determined basic performance of the second electronic device with an extended performance of the first electronic device, where the extended performance represents a configuration or function of hardware of the first electronic device; determine the extended performance that can be provided by the first electronic device based on at least one of an additional performance or a replacement performance that can be provided by the first electronic device determined based on a result of the comparison, the additional performance and the replacement performance each representing a configuration or function of hardware of the first electronic device; and control the second electronic device using the first electronic device according to the basic performance of the second electronic device and the extended performance. identify the coupling of the first electronic device to the second electronic device; determine a basic performance of the second electronic device, where the basic performance represents a configuration or function of hardware of the second electronic device; compare the determined basic performance of the second electronic device with an extended performance of the first electronic device, where the extended performance represents a configuration or function of hardware of the first electronic device; determine the extended performance that can be provided by the first electronic device based on at least one of an additional performance or a replacement performance that can be provided by the first electronic device determined based on a result of the comparison, the additional performance and the replacement performance each representing a configuration or function of hardware of the first electronic device; and control the second electronic device using the first electronic device according to the basic performance of the second electronic device and the extended performance.