Electronic device and method for controlling brightness of display, and non-transitory computer-readable storage medium
The electronic device optimizes screen brightness by calculating a screen off time interval based on application execution and user input, balancing user experience and power consumption.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-06-23
- Publication Date
- 2026-04-02
AI Technical Summary
Existing electronic devices face challenges in balancing screen brightness to enhance user experience and reduce power consumption, as short intervals require frequent user interaction and long intervals lead to unnecessary power usage.
The device calculates a screen off time interval based on application execution time and user input frequency, dynamically adjusting screen brightness to optimize power consumption and user interaction.
This approach enhances user experience by reducing frequent interactions while minimizing power consumption by intelligently managing screen brightness based on application usage and user input.
Smart Images

Figure KR2025008712_02042026_PF_FP_ABST
Abstract
Description
Electronic device, method, and non-transient computer-readable storage medium for controlling the brightness of a display
[0001] The following descriptions relate to an electronic device, a method, and a non-transient computer-readable storage medium for controlling the brightness of a display.
[0002] An electronic device may reduce the brightness of the screen displayed on the screen if no user input is received for a specified time interval. Short time intervals require the user to repeatedly tap to keep the display active, which may degrade the user experience. Conversely, long time intervals increase power consumption because the screen remains on longer than necessary.
[0003] The information described above may be provided as related art for the purpose of aiding understanding of the present disclosure. No claim or determination is made as to whether any of the foregoing may be applied as prior art related to the present disclosure.
[0004] An electronic device is provided. The electronic device may include a display. The electronic device may include a memory that stores instructions and includes one or more storage media. The electronic device may include at least one processor that includes a processing circuit. When the instructions are executed individually or collectively by the at least one processor, the electronic device may cause the application to identify a calculated execution time based on the number of executions of one or more applications and the total execution time of the application in the foreground state. When the instructions are executed individually or collectively by the at least one processor, the electronic device may cause the application to identify the number of one or more user inputs obtained while the execution screen of the application is displayed in a dim state. When the above instructions are executed individually or collectively by the at least one processor, the electronic device may cause the electronic device to determine a screen off time interval for the application based on the calculated execution time of the application and the number of one or more user inputs obtained while the execution screen of the application is displayed in the dim state. When the above instructions are executed individually or collectively by the at least one processor, the electronic device may cause the electronic device to perform an operation to reduce the power consumption of the electronic device based on the screen off time interval while the application is executed in the foreground state after determining the screen off time interval.
[0005] A method is provided to be performed by an electronic device comprising a display and at least one camera. The method may include an operation of identifying a calculated execution time of an application based on the number of executions of one or more applications and the total execution time of the application in a foreground state. The method may include an operation of identifying the number of one or more user inputs obtained while the execution screen of the application is displayed in a dim state. The method may include an operation of determining a screen off time interval for the application based on the calculated execution time of the application and the number of one or more user inputs obtained while the execution screen of the application is displayed in the dim state. The method may include an operation to reduce power consumption of the electronic device based on the screen off time interval while the application is executed in the foreground state after determining the screen off time interval.
[0006] A non-transient computer-readable storage medium is provided for storing one or more programs. The one or more programs may include instructions that, when executed individually or collectively by at least one processor of an electronic device, cause the electronic device to identify a calculated execution time of the application based on the number of executions of one or more of the application and the total execution time of the application in the foreground state. The one or more programs may include instructions that, when executed individually or collectively by at least one processor of an electronic device, cause the electronic device to identify the number of one or more user inputs obtained while the execution screen of the application is displayed in the dim state. The one or more programs may include instructions that, when executed individually or collectively by at least one processor of an electronic device, cause the electronic device to determine a screen off time interval for the application based on the calculated execution time of the application and the number of one or more user inputs obtained while the execution screen of the application is displayed in the dim state. When the above one or more programs are executed individually or collectively by at least one processor of an electronic device, the electronic device may include instructions that cause the electronic device to perform an operation to reduce the power consumption of the electronic device based on the screen off time interval while the application is running in the foreground state after determining the screen off time interval.
[0007] In relation to the description of the drawings, the same or similar reference numerals may be used for identical or similar components. The subject matter of the present disclosure is best understood by referring to the accompanying drawings.
[0008] FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments.
[0009] Figure 2 shows a simplified block diagram of an electronic device.
[0010] FIGS. 3A and FIGS. 3B illustrate examples of screen brightness according to the state of the display.
[0011] FIGS. 4a and FIGS. 4b illustrate examples of setting screens for time intervals associated with screen off.
[0012] FIG. 5 is a flowchart showing the operations of an electronic device for monitoring a foreground application.
[0013] FIG. 6 is a flowchart illustrating the operations of an electronic device for setting a screen off time interval for an application in the foreground state.
[0014] FIG. 7 is a flowchart illustrating the operations of an electronic device for counting user input to increase the brightness of a display screen.
[0015] FIG. 8 is a flowchart showing the operations of an electronic device for determining a screen off time interval.
[0016] FIG. 9 is a flowchart showing the operations of an electronic device for performing low-power operation based on a screen off time interval.
[0017] FIG. 10 illustrates the operations of an electronic device according to the screen off time interval.
[0018] FIG. 11 is a flowchart showing the operations of an electronic device for determining a screen off time interval.
[0019] The terms used in this disclosure are used merely to describe specific embodiments and are not intended to limit the scope of other embodiments. A singular expression may include a plural expression unless the context clearly indicates otherwise. Terms used herein, including technical or scientific terms, may have the same meaning as generally understood by those skilled in the art described in this disclosure. Terms used in this disclosure that are defined in a general dictionary may be interpreted as having the same or similar meaning as they have in the context of the relevant technology, and are not to be interpreted in an ideal or overly formal sense unless explicitly defined in this disclosure. In some cases, even terms defined in this disclosure are not to be interpreted to exclude the embodiments of this disclosure.
[0020] In the various embodiments of the present disclosure described below, a hardware-based approach is described as an example. However, since the various embodiments of the present disclosure include techniques using both hardware and software, the various embodiments of the present disclosure do not exclude a software-based approach.
[0021] Additionally, in this disclosure, expressions of "greater than" or "less than" may be used to determine whether a specific condition is satisfied or fulfilled; however, this is merely for the purpose of expressing an example and does not exclude descriptions of "greater than" or "less than." Conditions described as "greater than" may be replaced with "greater than," conditions described as "less than" may be replaced with "less than," and conditions described as "greater than and less than" may be replaced with "greater than and less than." Furthermore, "A" to "B" below refer to at least one of elements from A (including A) to B (including B). Below, "C" and / or "D" refers to including at least one of "C" or "D," i.e., {"C", "D", "C" and "D"}.
[0022] FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments.
[0023] Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) through a first network (198) (e.g., a short-range wireless communication network) or with at least one of an electronic device (104) or a server (108) through a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) through a server (108). According to one embodiment, the electronic device (101) may include a processor (120), memory (130), input module (150), sound output module (155), display module (160), audio module (170), sensor module (176), interface (177), connection terminal (178), haptic module (179), camera module (180), power management module (188), battery (189), communication module (190), subscriber identification module (196), and antenna module (197). In some embodiments, at least one of these components (e.g., connection terminal (178)) may be omitted from the electronic device (101), or one or more other components may be added. In some embodiments, some of these components (e.g., sensor module (176), camera module (180), or antenna module (197)) may be integrated into a single component (e.g., display module (160)).
[0024] The processor (120) can control at least one other component (e.g., hardware or software component) of the electronic device (101) connected to the processor (120) by executing software (e.g., program (140)), for example, and can perform various data processing or operations. According to one embodiment, as at least part of the data processing or operations, the processor (120) can store commands or data received from other components (e.g., sensor module (176) or communication module (190)) in volatile memory (132), process the commands or data stored in volatile memory (132), and store the resulting data in non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., central processing unit or application processor) or an auxiliary processor (123) that can operate independently or together with it (e.g., graphics processing unit, neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor). For example, if the electronic device (101) includes a main processor (121) and an auxiliary processor (123), the auxiliary processor (123) may be configured to use lower power than the main processor (121) or to be specialized for a designated function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as part thereof.
[0025] The auxiliary processor (123) may control at least some of the functions or states associated with at least one component of the electronic device (101) (e.g., display module (160), sensor module (176), or communication module (190)) on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. According to one embodiment, the auxiliary processor (123) (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module (180) or communication module (190)). According to one embodiment, the auxiliary processor (123) (e.g., neural network processing unit) may include a hardware structure specialized for processing an artificial intelligence model. The artificial intelligence model may be generated through machine learning. Such learning may be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or through a separate server (e.g., server (108)). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model may include a plurality of artificial neural network layers.An artificial neural network may be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to the hardware structure, the artificial intelligence model may include a software structure, either additionally or substantially.
[0026] The memory (130) can store various data used by at least one component of the electronic device (101) (e.g., processor (120) or sensor module (176)). The data may include, for example, input data or output data for software (e.g., program (140)) and related commands. The memory (130) may include volatile memory (132) or non-volatile memory (134). The memory (130) may include internal memory (136) or external memory (138).
[0027] The program (140) may be stored as software in memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
[0028] The input module (150) can receive commands or data to be used for a component of the electronic device (101) (e.g., processor (120)) from outside the electronic device (101) (e.g., user). The input module (150) may include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0029] The sound output module (155) can output a sound signal to the outside of the electronic device (101). The sound output module (155) may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as multimedia playback or recording playback. The receiver may be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part thereof.
[0030] The display module (160) can visually provide information to an external (e.g., user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling said device. According to one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of the force generated by said touch. For example, the display module (160) may be referred to as a display.
[0031] The audio module (170) can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150) or output sound through the sound output module (155) or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphones) connected directly or wirelessly to the electronic device (101).
[0032] The sensor module (176) can detect the operating state of the electronic device (101) (e.g., power or temperature) or the external environmental state (e.g., user state) and generate an electrical signal or data value corresponding to the detected state. According to one embodiment, the sensor module (176) may include, for example, a gesture sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an accelerometer sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biosensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0033] The interface (177) may support one or more specified protocols that can be used for the electronic device (101) to be connected directly or wirelessly to an external electronic device (e.g., electronic device (102)). According to one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0034] The connection terminal (178) may include a connector through which the electronic device (101) can be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0035] The haptic module (179) can convert an electrical signal into a mechanical stimulus (e.g., vibration or movement) or an electrical stimulus that can be perceived by the user through tactile or kinesthetic senses. According to one embodiment, the haptic module (179) may include, for example, a motor, a piezoelectric element, or an electric stimulation device.
[0036] The camera module (180) can capture still images and video. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0037] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented, for example, as at least part of a power management integrated circuit (PMIC).
[0038] The battery (189) can supply power to at least one component of the electronic device (101). According to one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0039] The communication module (190) can support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between an electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may include one or more communication processors that operate independently of the processor (120) (e.g., application processor) and support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., cellular communication module, short-range wireless communication module, or GNSS (global navigation satellite system) communication module) or a wired communication module (194) (e.g., LAN (local area network) communication module, or power line communication module). The corresponding communication module among these communication modules can communicate with an external electronic device (104) through a first network (198) (e.g., a short-range communication network such as Bluetooth, WiFi (wireless fidelity) direct, or IrDA (infrared data association)) or a second network (199) (e.g., a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can identify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) using subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module (196).
[0040] The wireless communication module (192) can support 5G networks and next-generation communication technologies following 4G networks, for example, new radio access technology. NR access technology can support high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and connection of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low-latency communications (URLLC)). The wireless communication module (192) can support a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate, for example. The wireless communication module (192) can support various technologies for securing performance in the high-frequency band, such as beamforming, massive MIMO (multiple-input and multiple-output), full-dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large-scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), external electronic device (e.g., electronic device (104)), or network system (e.g., second network (199)). According to one embodiment, the wireless communication module (192) may support a Peak data rate (e.g., 20 Gbps or more) for eMBB realization, loss coverage (e.g., 164 dB or less) for mMTC realization, or U-plane latency (e.g., downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) for URLLC realization.
[0041] An antenna module (197) can transmit a signal or power to or from an external source (e.g., an external electronic device). According to one embodiment, the antenna module (197) may include an antenna comprising a radiator made of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). According to one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as a first network (198) or a second network (199), may be selected from the plurality of antennas, for example, by a communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device through the selected at least one antenna. According to some embodiments, in addition to the radiator, other components (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as part of the antenna module (197).
[0042] According to various embodiments, the antenna module (197) may form a mmWave antenna module. According to one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent to a first surface (e.g., bottom surface) of the printed circuit board and capable of supporting a specified high frequency band (e.g., mmWave band), and a plurality of antennas (e.g., array antennas) disposed on or adjacent to a second surface (e.g., top surface or side surface) of the printed circuit board and capable of transmitting or receiving a signal of the specified high frequency band.
[0043] At least some of the above components can be connected to each other via a communication method between peripheral devices (e.g., bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)) and exchange signals (e.g., commands or data) with each other.
[0044] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) through a server (108) connected to a second network (199). Each of the external electronic devices (102, or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations performed on the electronic device (101) may be performed on one or more of the external electronic devices (102, 104, or 108). For example, if the electronic device (101) needs to perform a function or service automatically or in response to a request from a user or another device, the electronic device (101) may request one or more external electronic devices to perform at least part of the function or service instead of performing the function or service itself or additionally. One or more external electronic devices that receive the above request may execute at least part of the requested function or service, or additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may provide the result as is or additionally processed as at least part of the response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device (101) may provide ultra-low latency services using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server using machine learning and / or neural networks. According to one embodiment, the external electronic device (104) or the server (108) may be included within a second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0045] FIG. 2 illustrates a simplified block diagram of an electronic device. The electronic device (101) of FIG. 2 may correspond to the electronic device (101) of FIG. 1.
[0046] Referring to FIG. 2, the electronic device (101) may include a processor (210), a memory (220), and a display (230). For example, the processor (210), the memory (220), and the display (230) may be electrically and / or operably coupled with each other by a communication bus. Hereinafter, operably coupled hardware components may mean that a direct or indirect connection between hardware components is established wired or wirelessly so that a second hardware component (e.g., memory (220), display (230)) is controlled by a first hardware component (e.g., processor (210)). The hardware components illustrated in FIG. 2 are illustrated based on different blocks, but the present disclosure is not limited thereto. For example, some of the hardware components of the electronic device (101) shown in FIG. 2 (e.g., at least some of the processor (210), memory (220), and / or display (230)) may be included in a single integrated circuit such as a system on chip (SoC) or a system in package (SIP). The type and number of hardware components included in the electronic device (101) are not limited to those shown in FIG. 2. For example, the electronic device (101) may include only some of the hardware components shown in FIG. 2.
[0047] In one embodiment, the processor (210) of the electronic device (101) may include a hardware component for processing data based on one or more instructions. The hardware component for processing data may include, for example, an arithmetic and logic unit (ALU), a floating point unit (FPU), and a field programmable gate array (FPGA). As an example, the hardware component for processing data may include a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), a microcontroller (MCU), and / or a neural processing unit (NPU). The number of processors (210) may be one or more. For example, the processor (210) may have the structure of a multi-core processor, such as a dual core, a quad core, or a hexa core. The processor (210) of FIG. 2 may have substantially the same properties as the processor (120) of FIG. 1.
[0048] In one embodiment, the processor (210) may include various processing circuits and / or a plurality of processors. For example, the term “processor” as used herein, including in the claims, may include various processing circuits including at least one processor, and one or more of the at least one processor may be configured to perform the various functions described below in a distributed manner, individually and / or collectively. As used below, where “processor,” “at least one processor,” and “one or more processors” are described as being configured to perform various functions, these terms encompass, for example, but not limited to, situations where one processor performs some of the cited functions and other processor(s) perform other parts of the cited functions, and also situations where one processor can perform all of the cited functions. Additionally, the at least one processor may include a combination of processors that perform the enumerated / disclosed various functions, for example, in a distributed manner. The at least one processor may execute program instructions to achieve or perform the various functions.
[0049] In one embodiment, the memory (220) of the electronic device (101) may include a hardware component for storing data and / or instructions that are input to or output from the processor (210). For example, the memory (220) may include volatile memory such as random-access memory (RAM) and / or non-volatile memory such as read-only memory (ROM). The volatile memory may include, for example, at least one of dynamic RAM (DRAM), static RAM (SRAM), cache RAM, and pseudo SRAM (PSRAM). The non-volatile memory may include, for example, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), flash memory, hard disk, compact disk, and embedded multimedia card (eMMC).
[0050] In one embodiment, one or more instructions (or commands) representing operations and / or operations performed by the processor (210) of the electronic device (101) may be stored within the memory (220) of the electronic device (101). A set of one or more instructions may be referred to as a program, firmware, operating system, process, routine, sub-routine, and / or application. Hereinafter, being installed within the electronic device (101) may mean that one or more instructions provided in the form of an application are stored within the memory (220), and that one or more applications are stored in an executable format by the processor (210) of the electronic device (101). The specific details regarding the memory (220) of FIG. 2 may be substantially the same as the details regarding the memory (130) of FIG. 1.
[0051] Referring to FIG. 2, the memory (220) of the electronic device (101) may include an application layer (221), a framework layer (225), a hardware abstraction layer (HAL) (228), and a kernel area (229). For example, the application layer (221) may include a system UI (222), an application (223), and a display assistant (224). For example, the framework layer (225) may include a power manager service (226) including an adaptive screen off timeout controller (227). The layers of the memory (220) shown in different blocks in FIG. 2 may represent logically separated states.
[0052] In one embodiment, the application layer (221) may include programs for a user to control the electronic device (101). For example, the application layer (221) may include a system UI (user interface) (222), an application (223), and a display assistant (224). However, the present disclosure is not limited thereto. For example, the application layer (221) may include only some of the system UI (222), the application (223), and the display assistant (224). For example, the application layer (221) may include other applications in addition to the application (223).
[0053] In one embodiment, an element of the application layer (221) (e.g., system UI (222), application (223), display assistant (224)) may cause the activation (or execution) of a function provided by the framework layer (225) by calling (or requesting) an API (application programming interface) of the framework layer (225).
[0054] In one embodiment, the display assistant (224) of the application layer (221) can set a screen off time interval (or screen off time out) for each application by calling APIs of the framework layer (225). If no user input is obtained during the screen off time interval, the screen of the electronic device (101) can be automatically turned off. For example, the display assistant (224) can display a screen (e.g., the first screen (410) of FIG. 4b) for setting a screen off time interval for each application through the display (230) by calling APIs. The screen for setting a screen off time interval for each application can display applications installed in the memory of the electronic device (101). The display assistant (224) can display a screen (e.g., the second screen (420) of FIG. 4b) that displays screen off time intervals that can be set for one of the applications by calling an API according to user input for one of the applications. The display assistant (224) can display a screen (e.g., the third screen (430) of FIG. 4b) that displays an application and a screen off time interval set for the application by calling an API according to user input for one of the screen off time intervals.
[0055] In one embodiment, an element of the application layer (221) (e.g., system UI (222), application (223)) may cause the activation of a function (e.g., process observer) for monitoring a foreground application by calling an API of the framework layer (225). For example, while the function is activated, changes in the foreground application may be identified. For example, depending on the function, whether the application corresponds to a foreground state may be identified. In one example, the electronic device (101) may identify that the application is released from the foreground state depending on the function. In another example, the electronic device (101) may identify that the application enters the foreground state depending on the function.
[0056] In one embodiment, an element of the application layer (221) (e.g., system UI (222), application (223)) can adaptively determine a screen off time interval by calling APIs of an adaptive screen off timeout controller (227). For example, the element can identify an application execution time interval in the foreground state by calling APIs. For example, the element can identify an activation time interval of a function (e.g., wake lock) that causes the application screen to be displayed at a default brightness during the execution time interval by calling APIs. For example, the element can identify a usage time interval for the application excluding the activation time interval of the function from the application execution time interval by calling APIs. For example, the element can identify an average usage time interval for the application based on the usage time interval by calling APIs. For example, the element can identify a count value obtained from user input while the screen for the application is displayed based on a brightness lower than the default brightness (e.g., the first brightness (340) in FIG. 3b) (e.g., the second brightness (350) in FIG. 3b) by calling an API. For example, the element can identify a dim time interval for changing the screen of the application displayed based on the low brightness to screen off by calling an API. For example, the element can determine a new screen off time interval based on the average usage time interval for the application, the count value, and / or the dim time interval by calling an API.
[0057] In one embodiment, the display (230) of the electronic device (101) may include a display panel, a touch sensor, and / or a processing circuit. For example, the display (230) may be used to display visual information (e.g., an image, a screen, an object, a visual object, a UI (user interface), and / or a GUI (graphic user interface)).
[0058] FIGS. 3A and 3B illustrate examples of screen brightness according to the state of the display. In FIGS. 3A and 3B, a low power operation is described to reduce the brightness of the screen displayed through the display (230) in order to reduce the power consumption of the electronic device (101).
[0059] Referring to FIGS. 3a and 3b, the display (230) of the electronic device (101) may operate based on one of a first mode (310), a second mode (320), and a third mode (330). The first mode (310) may refer to an operating mode of the display (230) that displays the screen of the display (230) based on a first brightness (or default brightness) (340). In one example, the first mode (310) may be referred to as screen bright. The second mode (320) may refer to an operating mode of the display (230) that displays the screen of the display (230) based on a second brightness (350) that is lower than the first brightness (340). In one example, the second mode (320) may be referred to as screen dim. The third mode (330) may mean the turn-off (360) of the screen of the display (230). In one example, the third mode (330) may be referred to as screen off or idle mode.
[0060] For example, the electronic device (101) can identify a screen off time interval for an application in response to a transition to the foreground state of the application. The foreground state may refer to a state in which the UI (user interface) for the application is displayed through the screen of the display (230). For example, the electronic device (101) can identify setting information for a screen off time interval. Based on the setting information for a screen off time interval, the electronic device (101) can identify whether there is a screen off time interval set for the application that has transitioned to the foreground state. For example, the electronic device (101) can identify the time interval as a screen off time interval based on the identification that there is a screen off time interval set for the application. For example, the electronic device (101) may identify a time interval (e.g., 30 seconds) set as a default value in the system as a screen off time interval based on the identification that there is no screen off time interval set for the application. For example, the electronic device (101) may identify a first time interval (301) and a second time interval (302) based on the screen off time interval for the application. The screen off time interval may correspond to the sum of the first time interval (301) and the second time interval (302). The first time interval (301) may correspond to a time interval for changing the brightness of the screen for the application from a first brightness (340) to a second brightness (350). In the first time interval (301), the screen for the application may be displayed based on the first brightness (340). The first time interval (301) may be a time interval in which the screen is displayed at the first brightness (340) before being displayed at the second brightness (350).In one example, the first time interval (301) may be referred to as a bright time interval or a default time interval. The second time interval (302) may correspond to a time interval for screen-off of an application screen displayed based on the second brightness (350). In the second time interval (302), the screen for the application may be displayed based on the second brightness (350). The second time interval (302) may be a time interval in which the screen is displayed at the second brightness (350) before screen-off. In one example, the second time interval (302) may be referred to as a dim time interval. In one example, the first time interval (301) may correspond to 67 percent (%) of the screen-off time interval, and the second time interval (302) may correspond to 33 percent (%) of the screen-off time interval. However, this is merely an example, and the present disclosure is not limited thereto.
[0061] For example, the first time interval (301) and the second time interval (302) may be determined based on the screen off time interval. The first time interval (301) and / or the second time interval (302) may be determined based on a ratio to the screen off time interval. In one example, the first time interval (301) may correspond to 67 percent (%) of the screen off time interval, and the second time interval (302) may correspond to 33 percent (%) of the screen off time interval. However, this is merely an example and the present disclosure is not limited thereto. For example, the first time interval (301) and / or the second time interval (302) may be set to a specific time interval (e.g., 5 seconds).
[0062] For example, the first time interval (301) and / or the second time interval (302) may be determined during the development process of the application. The electronic device (101) may obtain information about the application from an external server via a communication circuit (not shown). The information about the application may include information about the first time interval (301) and / or the second time interval (302). Based on the information, the electronic device (101) may identify the first time interval (301) and / or the second time interval (302).
[0063] For example, the electronic device (101) may display the screen of the display (230) based on a first brightness (340) in response to the transition of the application to a foreground state. The electronic device (101) may start a timer based on displaying the screen of the display (230) based on the first brightness (340). The electronic device (101) may identify whether user input is obtained during a first time interval (301). For example, the electronic device (101) may perform a mode switch (311) upon identifying that no user input is obtained during the first time interval (301). The electronic device (101) may change the brightness of the screen of the display (230) from the first brightness (340) to the second brightness (350) according to the mode switch (311). In another example, the electronic device (101) can restart (or reset) the timer upon identification that user input is obtained during the first time interval (301).
[0064] For example, the electronic device (101) may display the screen of the display (230) based on a second brightness (350) upon identifying that no user input is obtained during a first time interval (301). The electronic device (101) may identify whether user input is obtained during a second time interval (302). For example, if no user input is obtained within the second time interval (302), the timer may expire. The electronic device (101) may identify that no user input is obtained during the second time interval (302) based on the expiration of the timer. The electronic device (101) may perform a mode switch (313) upon identifying that no user input is obtained during the second time interval (302). The mode switch (313) may cause the screen of the display (230) to turn off (360). In another example, the electronic device (101) may perform a mode switch (312) upon identifying that user input is obtained during a second time interval (302). Upon the mode switch (312), the electronic device (101) may change (304) the brightness of the screen of the display (230) from a second brightness (350) to a first brightness (340) and restart (or reset) the timer.
[0065] For example, the electronic device (101) can perform a mode switch (314) based on acquiring user input while the screen of the display (230) is turned off (360). The electronic device (101) can display the screen of the display (230) based on a first brightness (340) and start a timer according to the mode switch (314).
[0066] FIGS. 4a and 4b illustrate examples of setting screens for time intervals associated with screen off. In FIGS. 4a and 4b, examples of setting time intervals associated with screen off for applications or for each of the applications are described.
[0067] Referring to FIG. 4a, the electronic device (101) may display time intervals associated with screen turning off on the screen of the display (230). For example, the electronic device (101) may display an object (401) for a first time interval (e.g., 15 seconds), an object (402) for a second time interval (e.g., 30 seconds), an object (403) for a third time interval (e.g., 1 minute), an object (404) for a fourth time interval (e.g., 2 minutes), an object (405) for a fifth time interval (e.g., 5 minutes), an object (406) for a sixth time interval (e.g., 10 minutes), and an object (407) for a seventh time interval (e.g., 15 minutes) on the screen of the display (230). However, this is merely an example and the present disclosure is not limited thereto. For example, the electronic device (101) may display only some of the objects on the screen of the display (230). The electronic device (101) may obtain user input (e.g., touch input) for one of the objects. The electronic device (101) may determine (or set) a time interval corresponding to the object for which user input was obtained as a screen off time interval for applications. For example, the screen off time interval may be applied to applications excluding applications for which a screen off time interval is individually set according to FIG. 4b.
[0068] As described in FIG. 4a, screen off time intervals can be commonly set for applications. If the screen off time interval set for applications is short, the electronic device (101) needs to periodically obtain user input to prevent the brightness of the display (230) screen from decreasing. Requiring periodic user input can degrade the user experience (UX) for the application. Conversely, if the screen off time interval set for applications is long, the turn-on time of the display (230) screen becomes long, which may cause unnecessary power consumption of the electronic device (101). To solve the above problems, the operation of the electronic device (101) for setting a screen off time interval for each application and adaptively changing the screen off time interval is described.
[0069] Referring to FIG. 4b, the electronic device (101) can display screens for setting screen off time intervals for each application through the display (230). In one example, the application that displays screens for setting screen off time intervals for each application may be referred to as a display assistant application. For example, in the first screen (410), the electronic device (101) can display objects of applications for setting screen auto-off time intervals. In one example, the electronic device (101) can display an object (411) for the first application, an object (412) for the second application, and an object (413) for the third application through the first screen (410) of the display (230). However, this is merely an example and the present disclosure is not limited thereto. For example, the electronic device (101) can display only some of the objects through the first screen (410) of the display (230). In the example illustrated in FIG. 4b, the electronic device (101) can obtain user input (e.g., touch input) to set a screen off time interval for a third application. Based on obtaining user input, the electronic device (101) can change the screen displayed through the display (230) from the first screen (410) to the second screen (420).
[0070] For example, the electronic device (101) may display objects associated with screen off time intervals that can be set for a third application through the second screen (420) of the display (230). For example, the electronic device (101) may display an object (421) for a first time interval (e.g., 15 seconds), an object (422) for a second time interval (e.g., 30 seconds), an object (423) for a third time interval (e.g., 1 minute), an object (424) for a fourth time interval (e.g., 5 minutes), an object (425) for a fifth time interval (e.g., 10 minutes), an object (426) for a sixth time interval (e.g., 15 minutes), and an object (427) for automatically setting (or adaptively setting) the screen off time interval through the second screen (420) of the display (230). In the example illustrated in FIG. 4b, the electronic device (101) may acquire user input (e.g., touch input) for automatically setting (or adaptively setting) a screen off time interval for a third application. Based on acquiring user input, the electronic device (101) may change the screen displayed through the display (230) from the second screen (420) to the third screen (430). Meanwhile, although not illustrated, the electronic device (101) may display through the display (230) an object for setting a first time interval for the third application (e.g., the first time interval (301) in FIG. 3a) and / or an object for setting a second time interval for the third application (e.g., the second time interval (302) in FIG. 3b). The electronic device (101) can set a first time interval and / or a second time interval for an application independently of the screen off time interval based on user input for at least one of the objects.
[0071] For example, the electronic device (101) may display objects for applications for which screen off time intervals are individually set through the third screen (430) of the display (230). For example, the electronic device (101) may display through the third screen (430) of the display (230) an object (431) indicating a screen off time interval (e.g., 30 seconds) set for a fourth application, an object (432) indicating a screen off time interval (e.g., 1 minute) set for a fifth application, an object (433) indicating a screen off time interval (e.g., 10 minutes) set for a sixth application, and an object (434) indicating a screen off time interval (e.g., optimal) set for a third application. As described in FIG. 4b, by individually setting screen off time intervals for each application, the user experience (UX) of using the application can be improved. The application described below may refer to an application in which user input is obtained for automatically setting (or adaptively setting) a screen off time interval according to FIG. 4b.
[0072] FIG. 5 is a flowchart illustrating the operations of an electronic device for monitoring a foreground application. The operations of FIG. 5 may be performed by the electronic device (101) of FIG. 1 and FIG. 2. For example, at least some of the operations may be controlled by the processor (210) of the electronic device (101). In the following, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed. For example, at least two operations may be performed in parallel. In FIG. 5, the operations of the electronic device (101) for monitoring a foreground application are described. The foreground application may represent an application in which the application's UI (user interface) is displayed through the display (230) of the electronic device (101).
[0073] Referring to FIG. 5, in operation 501, an electronic device (101) according to one embodiment may obtain setting information for a screen off time interval in response to the booting of the electronic device (101). For example, the electronic device (101) may obtain information for a screen off time interval set for applications from a memory (220). The applications may include applications selected (or set) by a user to adaptively set (or update) the screen off time interval (e.g., the third application of FIG. 4b).
[0074] In operation 502, an electronic device (101) according to one embodiment may generate a list mapping identifiers of applications to screen off time intervals based on configuration information. In one example, the identifier of an application may correspond to the package name of the application. For example, the screen off time interval may represent a screen off time interval determined (or updated) by the operations of FIG. 8 described below. In another example, when an application is first executed, the screen off time interval may represent a screen off time interval commonly set for the applications (e.g., the screen off time interval of FIG. 4a).
[0075] In operation 503, an electronic device (101) according to one embodiment can monitor a foreground application. For example, the electronic device (101) can enable (or register) a function for monitoring the foreground application (e.g., a process observer). The electronic device (101) can identify the state of the application according to the function for monitoring the foreground application. For example, the electronic device (101) can identify whether the state of the application corresponds to a foreground state according to the function. In one example, the electronic device (101) can identify that the state of the application corresponds to a foreground state (e.g., true) according to the function. In another example, the electronic device (101) can identify that the state of the application does not correspond to a foreground state (e.g., false) according to the function.
[0076] FIG. 6 is a flowchart illustrating the operations of an electronic device for setting a screen off time interval for an application in the foreground state. The operations of FIG. 6 can be performed by the electronic device (101) of FIG. 1 and FIG. 2. For example, at least some of the operations can be controlled by the processor (210) of the electronic device (101). In the following, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed. For example, at least two operations may be performed in parallel.
[0077] Referring to FIG. 6, in operation 601, an electronic device (101) according to one embodiment can identify a transition of an application from a non-foreground state (e.g., background state or non-running state) to a foreground state. For example, the electronic device (101) can identify that the state of the application changes from a non-foreground state to a foreground state based on a function for monitoring a foreground application (e.g., a process observer).
[0078] In operation 602, an electronic device (101) according to one embodiment can identify a screen off time interval corresponding to an application based on the identification that an identifier of the application (e.g., package name, unique application identifier, application name, unique serial number) is included in a list. For example, the list may correspond to a list generated in operation 502. For example, the list may include identifiers of applications and information about a screen time interval corresponding to each of the identifiers.
[0079] In operation 603, an electronic device (101) according to one embodiment may apply an identified screen off time interval to an application. For example, the electronic device (101) may apply the identified screen off time interval to an application by transmitting the identified screen off time interval to a power manager service (226). For example, the identified screen off time interval may be applied in priority over a common screen off time set in the system (e.g., a screen off time interval set according to FIG. 4a).
[0080] FIG. 7 is a flowchart illustrating the operations of an electronic device for counting user input to increase the brightness of a display screen. The operations of FIG. 7 may be performed by the electronic device (101) of FIG. 1 and FIG. 2. For example, at least some of the operations may be controlled by a processor (210) of the electronic device (101). In the following, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed. For example, two operations may be performed in parallel.
[0081] Referring to FIG. 7, in operation 701, an electronic device (101) according to one embodiment can identify whether user input (e.g., touch input) is obtained while displaying a screen for an application based on a second brightness (350) lower than a first brightness (or default brightness) (340).
[0082] In one embodiment, the electronic device (101) may display a screen for the application based on a first brightness (340) in response to a transition to the foreground state of the application. The electronic device (101) may start a timer based on displaying a screen for the application based on the first brightness (340). The electronic device (101) may identify whether user input is obtained during a first time interval (301). For example, the electronic device (101) may restart (or reset) the timer based on the identification that user input is obtained during the first time interval (301). In another example, the electronic device (101) may change the brightness of the screen for the application from the first brightness (340) to a second brightness (350) based on the identification that user input is not obtained during the first time interval (301).
[0083] In one embodiment, the electronic device (101) may enable a function (e.g., wake lock) that causes the screen for an application to be maintained at a first brightness (340) regardless of user input and screen off setting time. In one example, the electronic device (101) may enable the function based on identifying the playback of a video in a video application. In one example, the electronic device (101) may enable the function to maintain the screen for a certain period of time during phone transmission and reception in a phone application. The electronic device (101) may display the screen for an application based on the first brightness (340) while the function is enabled. For example, the electronic device (101) may disable the function that causes the screen for an application to be maintained at the first brightness (340) based on an event. In one example, the electronic device (101) may disable the function based on identifying the interruption of video playback in a video application. In one example, The electronic device (101) can disable the function based on identifying that the phone application has stopped transmitting and receiving calls.
[0084] In one embodiment, the electronic device (101) may display a screen for an application based on a second brightness (350) upon identifying that no user input is obtained during a first time interval (301). The electronic device (101) may identify whether user input is obtained during a second time interval (302). For example, if no user input is obtained during the second time interval (302), the timer may expire. The electronic device (101) may identify that no user input is obtained during the second time interval (302) based on the expiration of the timer. The electronic device (101) may cause a turn-off (360) of the screen for the application upon identifying that no user input is obtained during the second time interval (302). In another example, the electronic device (101) can change the brightness of the screen for the application from the second brightness (350) to the first brightness (340) upon identifying that user input is obtained during the second time interval (302). The electronic device (101) can restart the timer for the screen off time interval upon identifying that user input is obtained during the second time interval (302).
[0085] In operation 702, an electronic device (101) according to one embodiment may increase a count value for an application. The count value may represent the number of times user input is acquired while the screen of the application is displayed based on the second brightness (350). The electronic device (101) may increase the count value for the application upon identification that user input is acquired while the screen of the application is displayed based on the second brightness (350). In one example, the count value may be increased by 1. However, this is merely an example and the present disclosure is not limited thereto. For example, the electronic device (101) may store the increased count value in memory (220).
[0086] FIG. 8 is a flowchart illustrating the operations of an electronic device for determining a screen off time interval. At least some of the operations of FIG. 8 may be performed by the electronic device (101) of FIG. 1 and FIG. 2. For example, at least some of the operations may be controlled by the processor (210) of the electronic device (101). In the following, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed. For example, at least two operations may be performed in parallel. In FIG. 8, the operations of the electronic device (101) for determining a screen off time interval are described when an application is released from the foreground state.
[0087] Referring to FIG. 8, in operation 801, an electronic device (101) according to one embodiment can identify an average usage time interval for an application. For example, the electronic device (101) can identify an average usage time interval for an application based on the identification that the application is released from the foreground state.
[0088] In one embodiment, the electronic device (101) can identify a change in the foreground application. For example, the electronic device (101) can identify a change in the foreground application based on a function for monitoring the foreground application (e.g., a process observer). The electronic device (101) can identify that the state of the application is released from the foreground state according to the change in the foreground application. The state of the application released from the foreground state may include a state where the application is running in the background and a state where the application is terminated. A user interface (UI) for the application released from the foreground state may not be displayed on the screen of the display (230).
[0089] In one embodiment, the electronic device (101) can identify a usage time interval of an application in a foreground state. The usage time interval of the application may refer to a time interval in which the use of the application is intended by the user. For example, the usage time interval may represent a time interval excluding a time interval in which the application is executed regardless of the user's intent from the execution time interval of the application. For example, a time interval in which the application is executed regardless of the user's intent may include an activation time interval of a function (e.g., wake lock) that causes the screen of the application to be maintained at a first brightness (340) regardless of user input and screen off setting time, and / or a time interval in which the user identified through the camera and / or sensor of the electronic device (101) is not looking at the screen of the application. However, the present disclosure is not limited thereto.
[0090] In one embodiment, the electronic device (101) can identify an average usage time interval for an application based on the usage time interval of the application. In one example, the average usage time interval can be identified by dividing the total usage time interval identified based on the usage time interval by the number of executions of the application. However, this is merely an example and the present disclosure is not limited thereto. For example, the average usage time interval may be identified by subtracting the average time interval during which the application was executed regardless of user intent from the average execution time interval of the application in the foreground state (e.g., the calculated execution time interval of FIG. 11).
[0091] For example, the average time interval during which the application is executed regardless of user intent may include the average activation time interval of a function that causes the screen for the application to be displayed based on the first brightness (340) and / or the average time interval during which the user identified through the camera and / or sensor of the electronic device (101) is not looking at the screen for the application. However, the present disclosure is not limited thereto.
[0092] In operation 802, an electronic device (101) according to one embodiment can identify a count value (or number) of user input (e.g., touch input) obtained while displaying a screen for an application based on a second brightness (350) lower than a first brightness (340). For example, the electronic device (101) can identify a count value of user input to increase the brightness of the screen of the display (230) while the display (230) is operating in a second mode (320).
[0093] In operation 803, an electronic device (101) according to one embodiment can determine a screen off time interval for an application based on an average usage time interval and a count value of user input.
[0094] In one embodiment, the electronic device (101) may determine (or update) a new screen off time interval for an application based on an average usage time interval of the application, a count value of user input obtained while displaying a screen for the application based on a second brightness (350), and / or a second time interval (302) identified based on a current screen off time interval. For example, the second time interval (302) may be identified based on a ratio to the current screen off time interval. In one example, the second time interval (302) may correspond to 33 percent (%) of the current screen off time interval. For example, the maximum value of the second time interval (302) used to determine (or update) a new screen off time interval may be limited. In one example, the maximum value of the second time interval (302) used to determine (or update) the screen off time interval may be limited to 20 seconds. However, this is merely an example, and the present disclosure is not limited thereto. In an example that is not limited thereto, the screen off time interval for an application may be determined further based on the user’s grip posture toward the electronic device (101), whether the user is looking at the electronic device (101), the frequency of the user’s touch input, the time of the user’s touch input, and / or the average usage time interval for another user’s application.
[0095] In one embodiment, the electronic device (101) may identify a first value based on an average usage time interval of an application and a first weight. In one example, the first weight may be set differently depending on the type of application and / or electronic device (101) (e.g., tablet). However, this is merely an example and the present disclosure is not limited thereto. For example, the electronic device (101) may identify a second value based on a count value of user input, a second time interval (302), and a second weight. User input may be acquired while the screen of the application is displayed based on a second brightness (350) lower than a first brightness (340). The second time interval (302) may be identified based on the current screen off time interval. In one example, the second weight may be set differently depending on the type of application and / or electronic device (101). However, this is merely an example and the present disclosure is not limited thereto.
[0096] For example, the electronic device (101) can identify a third value which is the sum of a first value and a second value. The electronic device (101) can identify a fifth value based on the third value and a fourth value which represents a maximum screen off time interval (e.g., 15 minutes (900 seconds)). The maximum screen off time interval may represent the maximum value of a screen off time interval that can be set for an application. In one example, the electronic device (101) can identify the fifth value as the third value based on the identification that the third value is less than the fourth value. In another example, the electronic device (101) can identify the fifth value as the fourth value based on the identification that the fourth value is less than the third value.
[0097] For example, the electronic device (101) can identify a value corresponding to a screen off time interval based on a fifth value and a sixth value representing a minimum screen off time interval (e.g., 15 seconds). The minimum screen off time interval may represent a minimum value of a screen off time interval that can be set for an application. In one example, the electronic device (101) can determine the value corresponding to the screen off time interval as the fifth value based on the identification that the fifth value exceeds the sixth value. In another example, the electronic device (101) can determine the value corresponding to the screen off time interval as the sixth value based on the identification that the sixth value exceeds the fifth value.
[0098] For example, the screen off time interval can be determined according to [Equation 1] below.
[0099]
[0100] T new can represent a new screen off time interval for the application. T avgmay represent an average usage time interval of the application. The average usage time interval may mean an average usage time interval during which the application is intended by the user. For example, the average usage time interval may mean a time interval excluding the average time interval during which the application is executed regardless of user intent from the average execution time interval during which the application is executed in the foreground state. For example, the average time interval during which the application is executed regardless of user intent may include an average activation time interval of a function (e.g., wake lock) that causes the screen for the application to remain at a first brightness (340) regardless of user input (and / or user intent) and / or an average time interval during which the user identified by the camera (and / or sensor) of the electronic device (101) is not looking at the screen for the application. For example, when the application is first executed, T avg This can be the screen off time interval set as the default value in the system (e.g., 30 seconds).
[0101] U num ...can represent a count value of user input obtained while the screen for the application is displayed based on a second brightness (350) lower than the first brightness (340). For example, U num ≠ may be the number of user inputs acquired while the screen is dimmed. T dim can represent a second time interval (302) identified based on the current screen off time interval. W2 can represent a second weight. T max can represent the maximum screen off time interval (e.g., 900 seconds). T min It can represent a minimum screen off time interval (e.g., 15 seconds).
[0102] In one example, the average usage time of the application may be 300 seconds. The first weight may be 0.7. The count value of user input obtained while the screen for the application is displayed based on a second brightness lower than the first brightness (340) may be 5. The second time interval (302) identified based on the current screen off time interval may be 5 seconds. The second weight may be 0.3. The maximum screen off time interval may be 900 seconds. The minimum screen off time interval may be 15 seconds. In the above example, the new screen off time interval may be determined to be 217.5 seconds according to [Equation 2] below.
[0103]
[0104] In operation 804, an electronic device (101) according to one embodiment may perform a low-power operation to change the screen of an application to screen off without user input, based on identifying a transition to a foreground state. The low-power operation is described in FIG. 9, which is described later.
[0105] FIG. 9 is a flowchart illustrating the operations of an electronic device for performing low-power operations based on a screen off time interval. The operations of FIG. 9 can be performed by the electronic device (101) of FIG. 1 and FIG. 2. For example, at least some of the operations can be controlled by the processor (210) of the electronic device (101). In the following, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed. For example, at least two operations may be performed in parallel. In FIG. 9, when the application is switched to a foreground state, the operations of the electronic device (101) for changing the brightness of the screen of the display (230) without user input based on the screen off time interval are described.
[0106] Referring to FIG. 9, in operation 901, an electronic device (101) according to one embodiment may display a screen for an application based on a first brightness (or default brightness) (340). For example, the electronic device (101) may display a screen for an application based on the first brightness (340) based on identifying a transition from a non-foreground state (e.g., background state or non-running state) of the application to a foreground state.
[0107] In one embodiment, the electronic device (101) can monitor a foreground application. For example, the electronic device (101) can identify the state of the application according to a function for monitoring the foreground application (e.g., a process observer). For example, the electronic device (101) can identify whether the state of the application is a foreground state according to the function. In one example, the electronic device (101) can identify that the state of the application corresponds to a foreground state according to the function. Based on the identification that the state of the application corresponds to a foreground state, the electronic device (101) can display a screen for the application based on a first brightness (340).
[0108] In operation 902, an electronic device (101) according to one embodiment can identify whether user input (e.g., touch input) is obtained during a first time interval (301).
[0109] In one embodiment, the electronic device (101) can identify a screen off time interval for an application. For example, the electronic device (101) can identify setting information for a screen off time interval. Based on the setting information for a screen off time interval, the electronic device (101) can identify whether there is a screen off time interval set for an application that has entered the foreground state. For example, the electronic device (101) can identify the time interval as a screen off time interval based on the identification that there is a screen off time interval set for the application. For example, the electronic device (101) can identify a time interval (e.g., 30 seconds) set as a default value in the system as a screen off time interval based on the identification that there is no screen off time interval set for the application.
[0110] In one embodiment, the electronic device (101) may identify a first time interval (301) based on a screen off time interval for an application. For example, the first time interval (301) may be identified based on a ratio of the screen off time interval of the application. In one example, the first time interval (301) may correspond to 67 percent (%) of the screen off time interval. However, this is merely an example and the present disclosure is not limited thereto.
[0111] In one embodiment, the electronic device (101) may display a screen for the application based on a first brightness (340) in response to the transition of the application to a foreground state. The electronic device (101) may start a timer in response to displaying a screen for the application based on the first brightness (340). The electronic device (101) may identify whether user input is obtained during a first time interval (301) based on the timer. For example, the electronic device (101) may obtain user input during the first time interval (301). The electronic device (101) may restart (or reset) the timer based on obtaining user input within the first time interval (301). If user input is obtained during the first time interval (301), the electronic device (101) according to the embodiment may display the screen of the application at a first brightness (340) according to operation 901. In another example, the electronic device (101) may not obtain user input within the first time interval (301). The electronic device (101) may identify that user input is not obtained during the first time interval (301) based on a timer.
[0112] In operation 903, an electronic device (101) according to one embodiment may display a screen for an application based on a second brightness (350) lower than a first brightness (340). For example, the electronic device (101) may display a screen of a display (230) based on a second brightness (350) lower than a first brightness (340) upon identification that no user input is obtained during a first time interval (301). When no user input is obtained during a first time interval, the power consumption of the electronic device (101) may be reduced by displaying a screen of a display (230) based on a second brightness (350) lower than a first brightness (340).
[0113] In operation 904, an electronic device (101) according to one embodiment can identify whether user input is obtained during a second time interval (302).
[0114] In one embodiment, the electronic device (101) may identify a second time interval (302) based on a screen off time interval for an application. For example, the second time interval (302) may be identified based on a ratio to the screen off time interval of the application. In one example, the second time interval (302) may correspond to 33 percent (%) of the screen off time interval. However, this is merely an example and the present disclosure is not limited thereto. For example, the second time interval (302) may be calculated by subtracting the first time interval (301) from the screen off time interval.
[0115] In one embodiment, the electronic device (101) can identify whether user input is obtained during a second time interval (302) based on a timer. For example, the electronic device (101) can obtain user input during the second time interval (302). Based on obtaining user input during the second time interval (302), the electronic device (101) can change the brightness of the screen of the display (230) from a second brightness (350) to a first brightness (340). Based on obtaining user input within the second time interval (302), the electronic device (101) can restart (or reset) the timer associated with the screen off time interval. Based on obtaining user input within the second time interval (302), the electronic device (101) can increase the count value for the application. The count value may indicate the number of times user input is acquired while the application screen is displayed based on the second brightness (350). In another example, the electronic device (101) may not acquire user input within the second time interval (302). If user input is not acquired within the second time interval (302), the timer may expire. The electronic device (101) may identify that user input is not acquired within the second time interval (302) based on the expiration of the timer.
[0116] In operation 905, an electronic device (101) according to one embodiment may cause a turn-off of the screen for an application. For example, the electronic device (101) may cause a turn-off of the screen of the display (230) upon identification that no user input is obtained during a second time interval (302). For example, the electronic device (101) may reduce the power consumption of the electronic device (101) by causing a turn-off of the screen of the display (230) when no user input is obtained during a screen-off time interval which is the sum of the first time interval (301) and the second time interval (302).
[0117] FIG. 10 illustrates the operations of an electronic device according to the screen off time interval.
[0118] For example, the electronic device (101) can identify a screen off time interval for an application based on the identification that the application (e.g., a video application) has entered a foreground state. The foreground state may refer to a state in which the UI (user interface) for the application is displayed through the screen of the display (230). For example, the electronic device (101) can identify setting information for a screen off time interval. Based on the setting information for a screen off time interval, the electronic device (101) can identify whether there is a set screen off time interval for an application that has transitioned to a foreground state.
[0119] Situation (1010) exemplifies a case where there is no screen off time interval set individually for an application or collectively for applications. Based on the identification that there is no screen off time interval set for an application, the electronic device (101) may identify a time interval (e.g., 30 seconds) set as a default value in the system as the screen off time interval. Based on the screen off time interval, the electronic device (101) may identify a first time interval (301) and a second time interval (302). In one example, the first time interval (301) may correspond to 67 percent (%) of the screen off time interval, and the second time interval (302) may correspond to 33 percent of the screen off time interval. However, this is merely an example and the present disclosure is not limited thereto. The first time interval (301) may correspond to a time interval for changing the brightness of the screen of an application from a first brightness (340) to a second brightness (350). For example, the first time interval (301) may be a time interval in which the screen is displayed at the first brightness (340) before changing to the second brightness (350). The second time interval (302) may correspond to a time interval for changing the screen of an application displayed based on the second brightness (350) to screen off. For example, the second time interval (302) may be a time interval in which the screen is displayed at the second brightness (350) before turning off the screen. In situation (1010), the first time interval may correspond to 20 seconds, and the second time interval may correspond to 10 seconds. Referring to FIG. 10, the first time interval (301) may mean the time interval between the first time (1011) when the application enters the foreground state and the second time (1012) when the brightness of the screen changes from the first brightness (340) to the second brightness (350).The second time interval (302) may refer to the time interval between the second time (1012) and the third time (1013) during which the screen displayed at the second brightness (350) is changed to screen off. The electronic device (101) may change the screen brightness for the application from the first brightness (340) to the second brightness (350) upon identifying that no user input is obtained during the first time interval (301). The electronic device (101) may change the screen displayed based on the second brightness (350) to screen off upon identifying that no user input is obtained during the second time interval (302).
[0120] Situation (1020) exemplifies a case where there exists a screen off time interval set individually for an application or collectively for applications. The electronic device (101) may identify the corresponding time interval as a screen off time interval based on the identification that there exists a screen off time interval set for an application. The electronic device (101) may identify a first time interval (301) and a second time interval (302) based on the screen off time interval. The first time interval (301) may correspond to a time interval for changing the brightness of the screen for an application from a first brightness (340) to a second brightness (350). The second time interval (302) may correspond to a time interval for changing the screen of an application displayed based on the second brightness (350) to screen off. In situation (1020), the screen off time interval optimized according to the content described in the present disclosure may be 39 seconds. The first time interval corresponds to 26 seconds, and the second time interval corresponds to 13 seconds. Referring to FIG. 10, the first time interval (301) may mean the time interval between the fourth time (1021) when the application enters the foreground state and the fifth time (1022) when the screen brightness is changed from the first brightness (340) to the second brightness (350). The second time interval (302) may mean the time interval between the fifth time (1022) and the sixth time (1023) when the screen displayed at the second brightness (350) is changed to the screen off. The electronic device (101) may change the screen brightness for the application from the first brightness (340) to the second brightness (350) upon identifying that no user input is obtained during the first time interval (301). The electronic device (101) can change the screen displayed based on the second brightness (350) to screen off upon identifying that no user input is obtained during the second time interval (302).
[0121] As described in FIGS. 1 to 10, the user experience (UX) can be improved by providing a function to set the screen off time for each application. Additionally, by optimizing the screen off time for each application, the time interval during which the display screen is unnecessarily turned on can be reduced. By reducing the time interval during which the display screen is unnecessarily turned on, the power consumption of the electronic device (101) can be reduced. Additionally, by optimizing the screen off time for each application, the frequency of user input to maintain screen brightness can be reduced, thereby improving the user experience.
[0122] FIG. 11 is a flowchart illustrating the operations of an electronic device for determining a screen off time interval. At least some of the operations of FIG. 11 may be performed by the electronic device (101) of FIG. 1 and FIG. 2. For example, at least some of the operations may be controlled by the processor (210) of the electronic device (101). In the following, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed. For example, at least two operations may be performed in parallel.
[0123] Referring to FIG. 11, in operation 1101, an electronic device (101) according to one embodiment can identify a calculated execution time of an application based on the number of executions of the application and the total execution time. For example, the calculated execution time may be the average execution time of the application.
[0124] In one embodiment, the electronic device (101) can identify a change in a foreground application. For example, the electronic device (101) can identify a change in a foreground application based on a function for monitoring the foreground application (e.g., a process observer). The electronic device (101) can identify that the application is released from the foreground state based on the change in the foreground application. The state of the application released from the foreground state may include a state where the application is running in the background and / or a state where the application is terminated. When released from the foreground state, the execution screen (or user interface (UI)) of the application may not be displayed through the screen of the display (230). The electronic device (101) can identify the calculated execution time of the application based on the identification that the application is released from the foreground state.
[0125] In one embodiment, the electronic device (101) can identify the number of executions of an application and the total execution time. The number of executions of an application may correspond to the number of times the application has entered the foreground state. The total execution time of an application may refer to the total time the application has been executed in the foreground state. For example, the total execution time of an application may be the sum of all times the application is in the foreground state.
[0126] In one embodiment, the electronic device (101) may identify the calculated execution time of an application based on the number of executions of the application and the total execution time. For example, the calculated execution time of the application may mean the average execution time of the application. However, the present disclosure is not limited thereto.
[0127] In operation 1102, an electronic device (101) according to one embodiment can identify the number of one or more user inputs obtained while the execution screen of an application is displayed in a dim state. For example, the state of the execution screen of an application may include a default state, a dim state, and / or an off state. In the default state, the execution screen of the application may be displayed based on a first luminance (or a first brightness (340)). In the dim state, the execution screen of the application may be displayed based on a second luminance (or a second brightness (350)) that is lower than the first luminance. In the off state, the execution screen of the application may be turned off (e.g., 360 in FIG. 3b). For example, the electronic device (101) can identify the number of one or more user inputs (e.g., a count value of a touch input) obtained while the application execution screen is displayed in a dim state. The user input may be an input for switching the dim state of the application execution screen to a normal state.
[0128] In operation 1103, an electronic device (101) according to one embodiment can identify a screen off time interval for an application based on a calculated execution time and the number of user inputs.
[0129] In one embodiment, the electronic device (101) may identify an average usage time for an application based on a calculated execution time. The average usage time may refer to the time during which the application is intended by the user to use the application during the average time during which the application is executed in the foreground state. For example, the average usage time may represent the time during which the application is executed regardless of user intent, excluding the time during which the application is executed regardless of user intent from the average time during which the application is executed in the foreground state. For example, the time during which the application is executed regardless of user intent may include the activation time of a function (e.g., wake lock) that causes the screen of the application to be maintained at a first luminance (e.g., first brightness (340)) regardless of user input and screen off time intervals, and / or the time during which the user's gaze identified through the camera and / or sensor of the electronic device (101) is not located within the execution screen of the application. However, the present disclosure is not limited thereto.
[0130] In one embodiment, the electronic device (101) may determine (or update) a screen off time interval for an application based on the average usage time of the application, the number of user inputs obtained while the application execution screen is displayed in a dim state, and / or a time interval for turning off the application execution screen displayed in a dim state (e.g., a second time interval (302) in FIG. 3a). For example, the time interval for turning off the application execution screen displayed in a dim state may be identified based on the current screen off time interval. In one example, the time interval for turning off the application execution screen displayed in a dim state may correspond to 33 percent (%) of the current screen off time interval. However, this is merely an example and the present disclosure is not limited thereto. For example, the time interval for turning off the application execution screen displayed in a dim state may be set by user input. For example, the maximum value of the time interval used to determine (or update) the screen off time interval may be limited to a specific value (e.g., 20 seconds). However, this is merely an example and the present disclosure is not limited thereto.
[0131] In one embodiment, the electronic device (101) may identify a first value based on the average usage time of the application and a first weight. In one example, the first weight may be set differently depending on the type of application and / or electronic device (101). However, this is merely an example and the present disclosure is not limited thereto.
[0132] In one embodiment, the electronic device (101) may identify a second value based on the number of user inputs obtained while the execution screen of an application is displayed in a dim state, a time interval for turning off the execution screen of the application displayed in the dim state, and a second weight. In one example, the second weight may be set differently depending on the type of application and / or electronic device (101). However, this is merely an example and the present disclosure is not limited thereto.
[0133] In one embodiment, the electronic device (101) can identify a third value which is the summation of a first value and a second value. The electronic device (101) can identify a fifth value based on the third value and a fourth value which represents a maximum value (e.g., 900 seconds) set for the screen off time interval. For example, the electronic device (101) can identify the fifth value as the third value based on the identification that the third value is less than the fourth value. In another example, the electronic device (101) can identify the fifth value as the fourth value based on the identification that the third value is greater than or equal to the fourth value.
[0134] In one embodiment, the electronic device (101) can identify a value corresponding to a screen off time interval based on a fifth value and a sixth value representing a minimum value (e.g., 15 seconds) set for a screen off time interval. For example, the electronic device (101) can identify the value corresponding to a screen off time interval as the fifth value based on the identification that the fifth value exceeds the sixth value. In another example, the electronic device (101) can identify the value corresponding to a screen off time interval as the sixth value based on the identification that the fifth value is less than or equal to the sixth value. For example, the screen off time interval can be determined according to [Equation 1] described in FIG. 7.
[0135] In operation 1104, an electronic device (101) according to one embodiment may perform an operation to reduce the power consumption of the electronic device (101) based on a screen off time interval.
[0136] In one embodiment, the electronic device (101) may identify a first time interval (e.g., the first time interval (301) of FIG. 3A) and a second time interval (e.g., the second time interval (302) of FIG. 3A) based on a screen off time interval. The first time interval may refer to a time interval for changing the brightness of an application execution screen displayed based on a first brightness of a basic state to a second brightness of a dim state lower than the first brightness. In one example, the first time interval may be referred to as a basic time interval or another term having an equivalent technical meaning. The second time interval may refer to a time interval for turning off an application execution screen displayed in a dim state. In one example, the second time interval may be referred to as a dim time interval or another term having an equivalent technical meaning. For example, the first time interval and the second time interval may be identified based on a determined (or updated) screen off time interval. In one example, the first time interval and the second time interval may be defined as the ratio of the determined screen off time interval. The first time interval may correspond to 67% of the screen off time interval, and the second time interval may correspond to 33% of the screen off time interval. However, this is merely an example and the present disclosure is not limited thereto. For example, the first time interval and the second time interval may be set according to user input.
[0137] In one embodiment, the electronic device (101) can monitor a foreground application. For example, the electronic device (101) can identify the state of the application according to a function for monitoring the foreground application (e.g., a process observer). For example, the electronic device (101) can identify whether the application is in a foreground state according to said function.
[0138] In one embodiment, the electronic device (101) may display the execution screen of the application based on a first luminance (e.g., a first brightness (340)) upon identifying that the application has entered a foreground state. The state of the execution screen of the application displayed based on the first luminance may be referred to as a default state. The electronic device (101) may start a timer in response to displaying the execution screen of the application based on the first luminance. The electronic device (101) may identify whether user input is obtained during a first time interval based on the timer. For example, the electronic device (101) may restart (or reset) the timer upon identifying that user input is obtained during the first time interval. In another example, the electronic device (101) may display the execution screen of an application based on a second brightness lower than the first brightness (e.g., second brightness (350)) upon identification that no user input is obtained during a first time interval. The state of the execution screen of the application displayed based on the second brightness may be referred to as a dim state. If no user input is obtained during the first time interval, the power consumption of the electronic device (101) may be reduced by displaying the execution screen of the application based on a second brightness lower than the first brightness.
[0139] In one embodiment, the electronic device (101) may identify whether user input is obtained during a second time interval based on a timer in response to displaying the execution screen of an application based on a second brightness. For example, the electronic device (101) may display the execution screen of an application based on a first brightness in response to the identification that user input is obtained during the second time interval. In another example, the electronic device (101) may cause the execution screen of an application to turn off in response to the identification that user input is not obtained during the second time interval. For example, the electronic device (101) may cause the execution screen of an application to turn off by controlling the power supplied to the display (230) in response to the identification that user input is not obtained during the second time interval. If user input is not obtained during the screen off time interval, the power consumption of the electronic device (101) may be reduced by causing the execution screen of the application to turn off.
[0140] The technical problems to be solved in this disclosure are not limited to those mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art to which this disclosure pertains.
[0141] The electronic device described above may include a display. The electronic device may include a memory that stores instructions and includes one or more storage media. The electronic device may include at least one processor that includes a processing circuit. When the instructions are executed individually or collectively by the at least one processor, the electronic device may identify an execution time interval of the application in the foreground state and an activation time interval of a function that causes the screen of the application to be displayed based on a default brightness during the execution time interval, according to the identification that the application is released from the foreground state. When the instructions are executed individually or collectively by the at least one processor, the electronic device may determine a screen off time interval for the application based on the usage time interval excluding the activation time interval of the function from the execution time interval of the application. When the above instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to perform a low-power operation to change the screen for the application to screen off without user input, based on the screen off time interval, upon identification that the application changes to the foreground state.
[0142] For example, when the instructions are executed individually or collectively by the at least one processor, the electronic device may cause the application to identify a count value of user input obtained while the screen for the application is displayed based on a brightness lower than the base brightness. When the instructions are executed individually or collectively by the at least one processor, the electronic device may cause the application to determine a screen off time interval for the application based on the usage time interval for the application and the count value.
[0143] For example, when the instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to identify a dim time interval for changing the screen for the application displayed based on a brightness lower than the basic brightness, based on a current screen off time interval. When the instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to determine the screen off time interval for the application based on the usage time interval and the dim time interval for the application.
[0144] For example, when the instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to identify an average usage time interval for the application based on the usage time interval identified based on the execution time interval of the application and the activation time interval of the function. When the instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to determine the screen off time interval for the application based on the average usage time interval.
[0145] For example, when the instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to identify a first value based on an average usage time interval for the application and a first weight. When the instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to identify a second value based on a count value of user input for the application, a dark time interval for the application identified based on a current screen off time interval, and a second weight. When the instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to identify a fourth value based on a third value representing the sum of the first value and the second value and a maximum value for the screen off time interval. When the above instructions are executed individually or collectively by the at least one processor, the electronic device may cause the screen off time interval for the application to determine the screen off time interval based on a fourth value and a minimum value for the screen off time interval.
[0146] For example, when the instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to identify a bright time interval for changing the default brightness of the screen for the application to a brightness lower than the default brightness, based on the determined screen off time interval. When the instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to identify a dim time interval for changing the screen for the application displayed at a brightness lower than the default brightness to the screen off, based on the determined screen off time interval.
[0147] For example, when the instructions are executed individually or collectively by the at least one processor, the electronic device may cause the default brightness of the screen for the application to be changed to a brightness lower than the default brightness upon identification that no user input is obtained during a bright time interval. When the instructions are executed individually or collectively by the at least one processor, the electronic device may cause the screen for the application displayed based on a brightness lower than the default brightness to be changed to the screen off upon identification that no user input is obtained during a dim time interval.
[0148] For example, when the above instructions are executed individually or collectively by the at least one processor, the electronic device may cause the application to increase a count value in response to user input obtained while displaying a screen for the application based on a brightness lower than the base brightness.
[0149] For example, when the above instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to determine the screen off time interval based on the identification that the average usage time interval for the application exceeds the minimum value for the screen off time interval.
[0150] For example, when the above instructions are executed individually or collectively by the at least one processor, the electronic device may cause a user interface (UI) to display through the display for setting the screen off time interval for a plurality of applications including the application.
[0151] A method performed by an electronic device including a display as described above may include, upon identification that an application is released from a foreground state, an operation of identifying an execution time interval of the application in the foreground state and an activation time interval of a function that causes the screen of the application to be displayed based on a default brightness during the execution time interval. The method may include an operation of determining a screen off time interval for the application based on a usage time interval excluding the activation time interval of the function from the execution time interval of the application. The method may include an operation of performing a low-power operation to change the screen of the application to screen off without user input based on the screen off time interval, upon identification that the application changes to the foreground state.
[0152] For example, the operation of determining the screen off time may include an operation of identifying a count value of user input obtained while the screen for the application is displayed based on a brightness lower than the default brightness. The operation of determining the screen off time may include an operation of determining the screen off time interval for the application based on the usage time interval for the application and the count value.
[0153] For example, the operation of determining the screen off time interval may include an operation of identifying a dim time interval for changing the screen of the application displayed based on a brightness lower than the basic brightness to the screen off based on the current screen off time interval. The operation of determining the screen off time interval may include an operation of determining the screen off time interval for the application based on the usage time interval and the dim time interval for the application.
[0154] For example, the operation of determining the screen off time interval may include an operation of identifying an average usage time interval for the application based on the usage time interval identified based on the execution time interval of the application and the activation time interval of the function. The operation of determining the screen off time interval may include an operation of determining the screen off time interval for the application based on the average usage time interval.
[0155] For example, the operation of determining the screen off time interval may include an operation of identifying a first value based on an average usage time interval for the application and a first weight. The operation of determining the screen off time interval may include an operation of identifying a second value based on a count value of user input for the application, a screen off time interval for the application identified based on the current screen off time interval, and a second weight. The operation of determining the screen off time interval may include an operation of identifying a fourth value based on a third value representing the sum of the first value and the second value and a maximum value for the screen off time interval. The operation of determining the screen off time interval may include an operation of determining the screen off time interval for the application based on a fourth value and a minimum value for the screen off time interval.
[0156] For example, the above method may include an operation of identifying a bright time interval for changing the default brightness of the screen for the application to a brightness lower than the default brightness, based on the determined screen off time interval. The above method may include an operation of identifying a dim time interval for changing the screen for the application displayed based on a brightness lower than the default brightness to the screen off, based on the determined screen off time interval.
[0157] For example, the above method may include an operation of changing the default brightness of the screen for the application to a brightness lower than the default brightness upon identifying that no user input is obtained during a bright time interval. The above method may include an operation of changing the screen for the application displayed based on a brightness lower than the default brightness to the screen off upon identifying that no user input is obtained during a dim time interval.
[0158] For example, the above method may include an operation of increasing a count value for the application in response to user input obtained while displaying a screen for the application based on a brightness lower than the basic brightness.
[0159] For example, the operation of determining the screen off time interval may include the operation of determining the screen off time interval based on the identification that the average usage time interval for the application exceeds the minimum value for the screen off time interval.
[0160] For example, the above method may include an operation of displaying a UI (user interface) through the display for setting the screen off time interval for a plurality of applications including the above application.
[0161] The electronic device described above may include a display. The electronic device may include a memory that stores instructions and includes one or more storage media. The electronic device may include at least one processor that includes a processing circuit. When the instructions are executed individually or collectively by the at least one processor, the electronic device may cause the electronic device to identify a calculated execution time of the application based on the number of executions of one or more of the application and the total execution time of the application in the foreground state. When the instructions are executed individually or collectively by the at least one processor, the electronic device may cause the electronic device to identify the number of one or more user inputs obtained while the execution screen of the application is displayed in a dim state. When the above instructions are executed individually or collectively by the at least one processor, the electronic device may cause the electronic device to determine a screen off time interval for the application based on the calculated execution time of the application and the number of one or more user inputs obtained while the execution screen of the application is displayed in the dim state. When the above instructions are executed individually or collectively by the at least one processor, the electronic device may cause the electronic device to perform an operation to reduce the power consumption of the electronic device based on the screen off time interval while the application is executed in the foreground state after determining the screen off time interval.
[0162] For example, when the instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to identify the activation time of a function that causes the execution screen of the application to be displayed based on a first luminance. When the instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to identify the average usage time for the application based on subtracting the activation time from the total execution time of the application. When the instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to determine the screen off time interval based on the average usage time and the number of one or more user inputs obtained while the execution screen of the application is displayed in the dim state.
[0163] For example, when the above instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to identify a first time interval for changing the brightness of the application execution screen from a first brightness of a basic state to a second brightness of a dim state lower than the first brightness, based on the screen off time interval. When the above instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to perform an operation to reduce the power consumption of the electronic device by displaying the application execution screen based on the second brightness, upon identification that no user input is obtained during the first time interval for the application execution screen displayed based on the first brightness.
[0164] For example, when the instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to identify a second time interval for turning off the execution screen of the application displayed based on a second brightness of the dim state which is lower than the first brightness of the default state based on the screen off time interval. When the instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to perform an operation to reduce the power consumption of the electronic device by turning off the execution screen of the application displayed based on the second brightness upon identification that no user input is obtained during the second time interval.
[0165] For example, when the instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to identify the calculated execution time by identifying the average execution time for the application based on the number of the one or more executions for the application and the total execution time of the application in the foreground state.
[0166] For example, when the instructions are executed individually or collectively by the at least one processor, the electronic device may cause to identify a first value based on the calculated execution time for the application and a first weight. When the instructions are executed individually or collectively by the at least one processor, the electronic device may cause to identify a second value based on the number of one or more user inputs obtained while the execution screen of the application is displayed in the dim state, a second time interval for turning off the execution screen of the application displayed in the dim state, and a second weight. When the instructions are executed individually or collectively by the at least one processor, the electronic device may cause to determine the screen off time interval based on the sum of the first value and the second value, a maximum value set for the screen off time interval, and a minimum value set for the screen off time interval.
[0167] For example, when the above instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to identify whether the average usage time for the application, identified based on subtracting the activation time of a function that causes the application’s execution screen to be displayed based on a first brightness from the total execution time of the application, is less than a minimum value set for the screen off time interval. When the above instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to refrain from determining the screen off time interval based on the identification that the average usage time for the application is less than the minimum value set for the screen off time interval. When the above instructions are executed individually or collectively by the at least one processor, the electronic device may be caused to determine the screen off time interval based on the identification that the average usage time for the application is greater than or equal to the minimum value set for the screen off time interval.
[0168] For example, the electronic device may further include at least one camera. The screen off time interval may be determined additionally based on the time when the user's gaze, identified based on the at least one camera, is located on the execution screen of the application running in the foreground state.
[0169] For example, in the default state, the execution screen of the application may be displayed at a first brightness. In the dim state, the execution screen of the application may be displayed at a second brightness lower than the first brightness.
[0170] For example, when the above instructions are executed individually or collectively by the at least one processor, the electronic device may cause user interfaces (UIs) to display settings for the screen off time interval of the application. The UIs may include a UI for obtaining user input to set a value for the screen off time interval and a UI for determining the screen off time interval based on the calculated execution time and the number of one or more user inputs.
[0171] A method performed by an electronic device comprising a display and at least one camera as described above may include an operation of identifying a calculated execution time of the application based on the number of executions of one or more applications and the total execution time of the application in a foreground state. The method may include an operation of identifying the number of one or more user inputs obtained while the execution screen of the application is displayed in a dim state. The method may include an operation of determining a screen off time interval for the application based on the calculated execution time of the application and the number of one or more user inputs obtained while the execution screen of the application is displayed in the dim state. The method may include an operation to reduce the power consumption of the electronic device based on the screen off time interval while the application is executed in the foreground state after determining the screen off time interval.
[0172] For example, the operation of determining the screen off time may include: an operation of identifying the activation time of a function that causes the execution screen of the application to be displayed based on a first luminance; an operation of identifying the average usage time for the application based on subtracting the activation time from the total execution time of the application; and an operation of determining the screen off time interval based on the average usage time and the number of one or more user inputs obtained while the execution screen of the application is displayed in the dim state.
[0173] For example, the operation to reduce the power consumption of the electronic device may include: an operation to identify a first time interval for changing the brightness of the execution screen of the application from a first brightness of a basic state to a second brightness of a dim state lower than the first brightness, based on the screen off time interval; and an operation to reduce the power consumption of the electronic device by displaying the execution screen of the application based on the second brightness, based on the identification that no user input is obtained during the first time interval for the execution screen of the application displayed based on the first brightness.
[0174] For example, the operation for reducing the power consumption of the electronic device may include the operation of identifying a second time interval for turning off the execution screen of the application displayed based on a second brightness of the dim state which is lower than the first brightness of the default state based on the screen off time interval, and the operation of reducing the power consumption of the electronic device by turning off the execution screen of the application displayed based on the second brightness during the second time interval based on the identification that no user input is obtained for the execution screen of the application displayed based on the second brightness.
[0175] For example, the operation of identifying the calculated execution time may include identifying the calculated execution time by identifying the average execution time for the application based on the number of one or more executions for the application and the total execution time of the application in the foreground state.
[0176] For example, the operation of determining the screen off time interval may include: an operation of identifying a first value based on the calculated execution time and a first weight for the application; the number of one or more user inputs obtained while the execution screen of the application is displayed in the dim state; a second time interval for turning off the execution screen of the application displayed in the dim state; and an operation of identifying a second value based on the second weight; and an operation of determining the screen off time interval based on the sum of the first value and the second value, a maximum value set for the screen off time interval, and a minimum value set for the screen off time interval.
[0177] For example, the operation of determining the screen off time interval may include: identifying whether the average usage time for the application, identified by subtracting the activation time of a function that causes the execution screen of the application to be displayed based on a first brightness from the total execution time of the application, is less than a minimum value set for the screen off time interval; refraining from determining the screen off time interval based on the identification that the average usage time for the application is less than the minimum value set for the screen off time interval; and determining the screen off time interval based on the identification that the average usage time for the application is greater than or equal to the minimum value set for the screen off time interval.
[0178] For example, the screen off time interval may be determined additionally based on the time when the user's gaze, identified based on the at least one camera, is located on the execution screen of the application running in the foreground state.
[0179] For example, in the default state, the execution screen of the application may be displayed at a first brightness. In the dim state, the execution screen of the application may be displayed at a second brightness lower than the first brightness.
[0180] A non-transient computer-readable storage medium for storing one or more programs as described above, wherein the one or more programs may include instructions that cause the electronic device to identify a calculated execution time of the application based on the number of executions of one or more of the application and the total execution time of the application in the foreground state when the one or more programs are executed individually or collectively by at least one processor of the electronic device. The one or more programs may include instructions that cause the electronic device to identify the number of one or more user inputs obtained while the execution screen of the application is displayed in the dim state when the one or more programs are executed individually or collectively by at least one processor of the electronic device. The one or more programs may include instructions that cause the electronic device to determine a screen off time interval for the application based on the calculated execution time of the application and the number of one or more user inputs obtained while the execution screen of the application is displayed in the dim state when the electronic device is executed individually or collectively by at least one processor of the electronic device. When the above one or more programs are executed individually or collectively by at least one processor of an electronic device, the electronic device may include instructions that cause the electronic device to perform an operation to reduce the power consumption of the electronic device based on the screen off time interval while the application is running in the foreground state after determining the screen off time interval.
[0181] The effects obtainable from the present disclosure are not limited to those mentioned above, and other unmentioned effects will be clearly understood by those skilled in the art to which the present disclosure belongs.
[0182] For one or more embodiments, at least one of the components described in one or more of the prior art drawings may be configured to perform one or more operations, techniques, processes and / or methods as described in the present disclosure. For example, a processor (e.g., a baseband processor) described in the present disclosure in relation to one or more of the prior art drawings may be configured to operate according to one or more examples described in the present disclosure. As another example, circuits associated with user equipment (UE), a base station, a network element, etc., as described above in relation to one or more of the prior art drawings may be configured to operate according to one or more examples described herein.
[0183] Any of the embodiments described above may be combined with any other embodiment (or combination of embodiments) unless otherwise explicitly stated. The foregoing description of one or more embodiments is for illustrative and explanatory purposes only, and is not intended to limit or exhaust the scope of the embodiments in the exact form disclosed. Modifications and variations are possible in light of the foregoing teachings or may be obtained from the practice of various embodiments.
[0184] The electronic devices according to the various embodiments disclosed in this document may be of various forms. The electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, electronic devices, or consumer electronics. The electronic devices according to the embodiments of this document are not limited to the devices described above.
[0185] The various embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutions of said embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of said items unless the relevant context clearly indicates otherwise. In this document, phrases such as "A or B," "at least one of A and B," "at least one of A or B," "A, B or C," "at least one of A, B and C," and "at least one of A, B, or C" may each include any one of the items listed together in the corresponding phrase, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used simply to distinguish said components from other said components and do not limit said components in any other aspect (e.g., importance or order). Where any (e.g., 1st) component is referred to as "coupled" or "connected" to another (e.g., 2nd) component, with or without the terms "functionally" or "communicationly," it means that said any component may be connected to said other component directly (e.g., via a wire), wirelessly, or through a third component.
[0186] The term “module” as used in the various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A module may be a component formed integrally, or a minimum unit of said component or a part thereof that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0187] Various embodiments of the present document may be implemented as software (e.g., program (140)) comprising one or more instructions stored in a storage medium (e.g., internal memory (136) or external memory (138)) readable by a machine (e.g., electronic device (101)). For example, a processor (e.g., processor (120)) of the machine (e.g., electronic device (101)) may call at least one of the one or more instructions stored in the storage medium and execute it. This enables the machine to be operated to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. The storage medium readable by the machine may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' simply means that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently and cases where it is stored temporarily.
[0188] According to one embodiment, the method according to the various embodiments disclosed herein may be provided as included in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or distributed online (e.g., download or upload) through an application store (e.g., Play Store™) or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created on a device-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
[0189] According to various embodiments, each component (e.g., module or program) of the components described above may include a singular or multiple entities, and some of the multiple entities may be separated and placed in other components. According to various embodiments, one or more of the components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Generally or additionally, multiple components (e.g., module or program) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the multiple components in the same or similar manner as those performed by the corresponding component among the multiple components prior to integration. According to various embodiments, operations performed by the module, program, or other components may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
Claims
1. In an electronic device, display; Memory for storing instructions and including one or more storage media; and It includes at least one processor comprising a processing circuit, and When the above instructions are executed individually or collectively by the at least one processor, the electronic device, Identifying the calculated execution time of the application based on the number of executions of one or more of the application and the total execution time of the application in the foreground state, and Identifying the number of one or more user inputs obtained while the execution screen of the above application is displayed in a dim state, and Based on the calculated execution time of the application and the number of one or more user inputs obtained while the execution screen of the application is displayed in the dim state, a screen off time interval for the application is determined, and After determining the screen off time interval, causing the application to perform an operation to reduce the power consumption of the electronic device based on the screen off time interval while the application is running in the foreground state. Electronic device.
2. In Paragraph 1, When the above instructions are executed individually or collectively by the at least one processor, the electronic device, Identifying the average activation time of a function that causes the above execution screen to be displayed based on a first luminance without user input, and Identifying the average usage time of the application based on subtracting the average activation time from the calculated execution time of the application, and Causing to determine the screen off time interval based on the above average usage time and the number of the above one or more user inputs, Electronic device.
3. In Paragraph 1, When the above instructions are executed individually or collectively by the at least one processor, the electronic device, Based on the above screen off time interval, a first time interval is identified for changing the brightness of the execution screen of the application from a first brightness of the default state to a second brightness of the dim state, which is lower than the first brightness, and In accordance with the identification that no user input is obtained during the first time interval regarding the execution screen of the application displayed based on the first brightness, the execution screen of the application is displayed based on the second brightness, thereby causing the operation to reduce the power consumption of the electronic device. Electronic device.
4. In Paragraph 1, When the above instructions are executed individually or collectively by the at least one processor, the electronic device, Based on the above screen off time interval, identify a second time interval for turning off the execution screen of the application displayed based on a second brightness of the dim state which is lower than the first brightness of the default state, and Causing to perform an operation to reduce the power consumption of the electronic device by turning off the execution screen of the application displayed based on the second brightness, upon identification that no user input is acquired during the second time interval. Electronic device.
5. In Paragraph 1, When the above instructions are executed individually or collectively by the at least one processor, the electronic device, Causing to identify the calculated execution time by identifying the average execution time for the application based on the number of executions of the one or more executions for the application and the total execution time of the application in the foreground state. Electronic device.
6. In Paragraph 1, When the above instructions are executed individually or collectively by the at least one processor, the electronic device, Identifying a first value based on the calculated execution time and the first weight for the above application, Identifying a second value based on the number of one or more user inputs obtained while the execution screen of the above application is displayed in the dim state, a second time interval for turning off the execution screen of the above application displayed in the dim state, and a second weight, and Causing to determine the screen off time interval based on the sum of the first value and the second value, the maximum value set for the screen off time interval, and the minimum value set for the screen off time interval. Electronic device.
7. In Paragraph 1, When the above instructions are executed individually or collectively by the at least one processor, the electronic device, Identifying whether the average usage time for the application, identified based on subtracting the activation time of the function that causes the execution screen of the application to be displayed based on the first brightness from the total execution time of the application, is less than the minimum value set for the screen off time interval, and Refrain from determining the screen off time interval based on the identification that the average usage time for the above application is less than the minimum value set for the screen off time interval, and, Causing to determine the screen off time interval based on the identification that the average usage time for the above application is greater than or equal to the minimum value set for the screen off time interval, Electronic device.
8. In Paragraph 1, The above electronic device further includes at least one camera, and The above screen off time interval is determined additionally based on the time when the user's gaze, identified based on the at least one camera, is located on the execution screen of the application running in the foreground state. Electronic device.
9. In Paragraph 1, In the default state, the execution screen of the above application is displayed at a first brightness, and In the above dim state, the execution screen of the above application is displayed at a second brightness lower than the first brightness, Electronic device.
10. In Paragraph 1, When the above instructions are executed individually or collectively by the at least one processor, the electronic device, Causing to display user interfaces (UIs) for providing settings for the screen off time interval of the above application, and The above UIs include a UI for obtaining user input for setting a value for the screen off time interval and a UI for determining the screen off time interval based on the calculated execution time and the number of one or more user inputs. Electronic device.
11. A method performed by an electronic device comprising a display and at least one camera, An operation to identify the calculated execution time of an application based on the number of executions of one or more applications and the total execution time of the application in the foreground state; An operation to identify the number of one or more user inputs obtained while the execution screen of the above application is displayed in a dim state; An operation to determine a screen off time interval for the application based on the calculated execution time of the application and the number of one or more user inputs obtained while the execution screen of the application is displayed in the dim state; and After determining the screen off time interval, while the application is running in the foreground state, the operation to reduce the power consumption of the electronic device based on the screen off time interval is included. method.
12. In Clause 11, the operation of determining the screen off time is, An operation to identify the average activation time of a function that causes the above execution screen to be displayed based on a first luminance without user input; An operation to identify the average usage time of the application based on subtracting the average activation time from the calculated execution time of the application; and The operation of determining the screen off time interval based on the above average usage time and the number of the above one or more user inputs, method.
13. In Clause 11, the operation for performing the operation to reduce the power consumption is, An operation to identify a first time interval for changing the brightness of the execution screen of the application from a first brightness of the default state to a second brightness of the dim state lower than the first brightness, based on the screen off time interval above; and The operation includes performing an operation to reduce the power consumption of the electronic device by displaying the execution screen of the application based on the second brightness, in accordance with the identification that no user input is obtained during the first time interval for the execution screen of the application displayed based on the first brightness. method.
14. In paragraph 11, the operation for reducing the power consumption of the electronic device is, An operation to identify a second time interval for turning off the execution screen of the application displayed based on a second brightness of the dim state, which is lower than the first brightness of the default state, based on the screen off time interval above; and The operation includes performing an operation to reduce the power consumption of the electronic device by turning off the execution screen of the application displayed based on the second brightness, upon identification that no user input is obtained during the second time interval. method.
15. In paragraph 11, the operation of identifying the calculated execution time is, The method includes identifying the calculated execution time by identifying the average execution time for the application based on the number of executions of the one or more executions for the application and the total execution time of the application in the foreground state. method.
Citation Information
Patent Citations
Automatic display control terminal and automatic display control method
JP2016033760A
Compressor with sealed cooling structure
KR1020260054101A
Electronic apparatus for executing plurality of applications and method for controlling thereof
KR102302721B1
Device and system for for air conditioning control of railway vehicles
KR102546818B1
A computer system for saving the energy by controlling computer resource according to priority-based scheduling and controlling method therefor
KR102694377B1