An information processing method and an electronic device are provided. The method includes: acquiring a first parameter related to a first behavior of a user of an electronic device, in a case that a current position of the electronic device is a first position, where the first behavior is a behavior which does not cause the electronic device to move; determining whether the first parameter meets a preset condition to obtain a first determination result; and adjusting the current position from the first position to a second position, in a case that it is determined that the first parameter meets the preset condition.