| CPC G06F 1/3234 (2013.01) | 18 Claims |

|
1. An electronic device comprising:
a communication circuit configured to transmit or receive data over at least one link that is set up between an external electronic device and the electronic device; and
a processor configured to:
identify time intervals between packets that are transmitted or received over the at least one link;
identify a ratio of time intervals that are equal to or less than a designated value among the time intervals, wherein the ratio is a ratio of a length of time intervals that are equal to or less than the designated value to a length of time intervals that is equal to or greater than the designated value;
select a target wake time (TWT) mode or a power saving mode based on the ratio, wherein in the TWT mode the communication circuit is switched to an active state every designated time, and wherein in the power saving mode the communication circuit is switched to an inactive state in case that the packet is not transmitted or received during a designated time; and
control the communication circuit based on the selected mode.
|