Abstract:
An electronic device is provided. The electronic device includes a sensor module configured to sense a pressure applied to the electronic device and to send a pressure value corresponding to the sensed pressure to a processor and the processor configured to perform an operation corresponding to the pressure value received from the sensor module, wherein if the sensed pressure belongs to a first interval, the sensor module sends a first pressure value, which represents the first interval, to the processor, wherein if the sensed pressure belongs to a second interval higher than the first interval, the sensor module sends a second pressure value corresponding to the sensed pressure to the processor, and wherein if the sensed pressure belongs to a third interval higher than the second interval, the sensor module sends a third pressure value, which represents the third interval, to the processor.
Abstract:
An electronic device and a method performed in the electronic device are provided. The electronic device includes a display module, and a first processor and a second processor that are electrically connected with the display module. The first processor is configured to detect an operation performed in the electronic device, determine a range of display control authority to be provided to the second processor according to the operation, and provide the range of the display control authority to the second processor. The second processor is configured to generate a display screen corresponding to the range of the display control authority and provide the display screen through the display module.