An electronic key device (110;401;501) for remotely controlling an electronic device comprising: a first communication module configured to support low frequency communication and ultra high frequency communication; a second communication module configured to support cellular communication via a cellular communication network; at least one sensor (480;540); at least one processor; and a memory electrically connected with the processor, wherein, when being executed, the memory is configured to store instructions that cause the at least one processor to: receive, from an electronic device (100,201), via the cellular communication network, a signal indicating that a third communication module (300,320) of the electronic device (100,201) that supports the low frequency communication with the electronic key device is in an inactivated state, detect a motion of the electronic key device based on the at least one sensor, and if the motion is detected and when the electronic key device approaches the electronic device, transmit, to the electronic device, via the cellular communication network, a signal for controlling the third communication module (300,320) of the electronic device to move from the inactivated state to an activation state, the signal for controlling the third communication module (300,320) based on motion information of the electronic key device. a first communication module configured to support low frequency communication and ultra high frequency communication; a second communication module configured to support cellular communication via a cellular communication network; at least one sensor (480;540); at least one processor; and a memory electrically connected with the processor, wherein, when being executed, the memory is configured to store instructions that cause the at least one processor to: receive, from an electronic device (100,201), via the cellular communication network, a signal indicating that a third communication module (300,320) of the electronic device (100,201) that supports the low frequency communication with the electronic key device is in an inactivated state, detect a motion of the electronic key device based on the at least one sensor, and if the motion is detected and when the electronic key device approaches the electronic device, transmit, to the electronic device, via the cellular communication network, a signal for controlling the third communication module (300,320) of the electronic device to move from the inactivated state to an activation state, the signal for controlling the third communication module (300,320) based on motion information of the electronic key device. receive, from an electronic device (100,201), via the cellular communication network, a signal indicating that a third communication module (300,320) of the electronic device (100,201) that supports the low frequency communication with the electronic key device is in an inactivated state, detect a motion of the electronic key device based on the at least one sensor, and if the motion is detected and when the electronic key device approaches the electronic device, transmit, to the electronic device, via the cellular communication network, a signal for controlling the third communication module (300,320) of the electronic device to move from the inactivated state to an activation state, the signal for controlling the third communication module (300,320) based on motion information of the electronic key device.