Patent attributes
According to certain embodiments, an electronic device, comprises a sensor module; a flexible display; and a processor operatively connected to the sensor module and the flexible display, wherein the processor is configured to: measure a first position of the flexible display using the sensor module, thereby resulting in a measured first position value, measure a second position of the flexible display using the sensor module based on a movement of the flexible display, thereby resulting in a measured second position value, determine a change amount in movement of the flexible display using the measured first position value and a measured second position value, thereby resulting in a determined movement change, correct the measured second position value using a threshold based on the determined movement change amount of the flexible display, thereby resulting in a corrected second position value, and display a screen based on the corrected second position value.