An electronic device comprising: a housing; a plurality of metallic parts forming a portion of the housing; a clock generator disposed in the housing; and a processor , wherein the processor is configured to sense a grip on the electronic device based on a current loop formed by a first signal generated by the clock generator and transmitted through a first metallic part and a second metallic part of the plurality of the metallic parts, wherein the second metallic part is disposed adjacent to the first metallic part with a first separator disposed between the first metallic part and the second metallic part and configured to electrically separate the first metallic part and the second metallic part , wherein at least one of the plurality of metallic parts comprises an antenna, wherein the clock generator is electrically connected to the first metallic part , wherein the electronic device further comprises a first capacitor and a first inductor disposed between the clock generator and the first metallic part , the first capacitor configured for preventing leakage while signals generated by the clock generator are transmitted to the first metallic part , wherein the clock generator is electrically connected to the second metallic part , wherein the electronic device further comprises a second capacitor and a second inductor disposed between the clock generator and the second metallic part , the second capacitor configured for preventing leakage while signals generated by the clock generator are transmitted to the second metallic part , wherein the processor is configured to determine that the current loop is formed, when a signal loss of the first signal in the current loop due to the first separator is less than a default loss. a housing; a plurality of metallic parts forming a portion of the housing; a clock generator disposed in the housing; and a processor , wherein the processor is configured to sense a grip on the electronic device based on a current loop formed by a first signal generated by the clock generator and transmitted through a first metallic part and a second metallic part of the plurality of the metallic parts, wherein the second metallic part is disposed adjacent to the first metallic part with a first separator disposed between the first metallic part and the second metallic part and configured to electrically separate the first metallic part and the second metallic part , wherein at least one of the plurality of metallic parts comprises an antenna, wherein the clock generator is electrically connected to the first metallic part , wherein the electronic device further comprises a first capacitor and a first inductor disposed between the clock generator and the first metallic part , the first capacitor configured for preventing leakage while signals generated by the clock generator are transmitted to the first metallic part , wherein the clock generator is electrically connected to the second metallic part , wherein the electronic device further comprises a second capacitor and a second inductor disposed between the clock generator and the second metallic part , the second capacitor configured for preventing leakage while signals generated by the clock generator are transmitted to the second metallic part , wherein the processor is configured to determine that the current loop is formed, when a signal loss of the first signal in the current loop due to the first separator is less than a default loss. <EOS>