An electronic device (610, 410, 310, 301), operating as a client device, comprising: a connector comprising one or more signal terminals for communication with an external electronic device (620, 420, 320, 302), operating as a host device; at least one processor operatively connected to the connector; and memory operatively connected to the at least one processor, the memory storing instructions, when executed by the at least one processor, cause the electronic device (610, 410, 310, 301) to: identify a connection to the external electronic device (620, 420, 320, 302) using a resistance applied to a pin of the connector, receive a source capability message including one or more pieces of information about power which is supported by the external electronic device (620, 420, 320, 302) in the form of a power data object, PDO, field and additional information, in the form of the PDO field, used for identifying a first type of the external electronic device (620, 420, 320, 302) as the host device, from the external electronic device (620, 420, 320, 302) via connection to the external electronic device (620, 420, 320, 302) through the connector (4110, and identify the first type of the external electronic device (620, 420, 320, 302) among a plurality of types of external electronic devices as the host device, based on the additional information, characterized in that the additional information includes at least one of a predetermined first current value or a predetermined first voltage value for identifying the first type of the external electronic device (620, 420, 320, 302) as the host device, and wherein the predetermined voltage value and current value are values other than generally used integer values. a connector comprising one or more signal terminals for communication with an external electronic device (620, 420, 320, 302), operating as a host device; at least one processor operatively connected to the connector; and memory operatively connected to the at least one processor, the memory storing instructions, when executed by the at least one processor, cause the electronic device (610, 410, 310, 301) to: identify a connection to the external electronic device (620, 420, 320, 302) using a resistance applied to a pin of the connector, receive a source capability message including one or more pieces of information about power which is supported by the external electronic device (620, 420, 320, 302) in the form of a power data object, PDO, field and additional information, in the form of the PDO field, used for identifying a first type of the external electronic device (620, 420, 320, 302) as the host device, from the external electronic device (620, 420, 320, 302) via connection to the external electronic device (620, 420, 320, 302) through the connector (4110, and identify the first type of the external electronic device (620, 420, 320, 302) among a plurality of types of external electronic devices as the host device, based on the additional information, characterized in that the additional information includes at least one of a predetermined first current value or a predetermined first voltage value for identifying the first type of the external electronic device (620, 420, 320, 302) as the host device, and wherein the predetermined voltage value and current value are values other than generally used integer values. identify a connection to the external electronic device (620, 420, 320, 302) using a resistance applied to a pin of the connector, receive a source capability message including one or more pieces of information about power which is supported by the external electronic device (620, 420, 320, 302) in the form of a power data object, PDO, field and additional information, in the form of the PDO field, used for identifying a first type of the external electronic device (620, 420, 320, 302) as the host device, from the external electronic device (620, 420, 320, 302) via connection to the external electronic device (620, 420, 320, 302) through the connector (4110, and identify the first type of the external electronic device (620, 420, 320, 302) among a plurality of types of external electronic devices as the host device, based on the additional information, characterized in that the additional information includes at least one of a predetermined first current value or a predetermined first voltage value for identifying the first type of the external electronic device (620, 420, 320, 302) as the host device, and wherein the predetermined voltage value and current value are values other than generally used integer values.