Abstract: The present disclosure provides a control method and an electronic device. The electronic device comprises a first body, a second body and a sensor unit. The first body has a first communication unit, the second body has a second communication unit, the first body and the second body communicate with each other through the first and second communication units. A relative position between the first body and the second body is changeable. The method comprises: detecting a positional relation between the first body and the second body, determining a distance parameter between the first and second communication units based on the positional relation, and adjusting power of each of the first and second communication units based on the distance parameter between the first and second communication units.