Disclosed is an electronic apparatus comprising a memory which is electrically connected to a processor and in which at least one command associated with the execution of the processor is stored, wherein the command is configured such that information on the frequency of the woken-up state of a display for a designated period of time is collected upon execution of the processor and that the information on the frequency of the woken-up state is compared with designated conditions, and a sensitivity associated with the detection of the arrangement status of the electronic apparatus is adjusted or maintained according to whether the conditions are satisfied or not. Other various embodiments as understood from the specification are possible.