Method for reducing power consumption in electronic devices
AssigneeXiaomi Inc.
InventorsRen Liu, Hao Yan, Jianchun Zhang
Life of this patent
Estimating the term…
Abstract
Methods and devices are disclosed for delaying screen-on notification broadcasting. In one embodiment, a method for delaying screen-on notification broadcasting in a device comprises: detecting a display screen wakeup event for a display screen of the device, when the display screen wakeup event is detected and a current interface is a lock screen interface, intercepting a screen-on notification information broadcasted by an operating system of the device to applications running on the device, and when switching of the display screen from the lock screen interface into an unlocked interface after unlocking by a user is detected, sending the intercepted notification information to the applications.
Claims13
A method for delaying screen-on broadcasting in a terminal device, comprising:
- detecting, by an operating system of the terminal device, a display screen wakeup event for a display screen of the terminal device;
- displaying a wakeup display screen interface and generating, by the operating system, a screen-on broadcasting notification upon detecting the display screen wakeup event;
- determining whether the wakeup display screen interface is a lock screen interface;
- when the wakeup display screen interface is a lock screen interface:
- intercepting, by the operating system, the screen-on broadcasting notification to applications running on the terminal device such that the applications are not waked up by the screen-on broadcasting notification during a time period between the display screen wakeup event and unlocking of the lock screen interface by a user of the terminal device;
- and
- upon detecting unlocking of the lock screen interface by the user, switching the display screen from the lock screen interface to an unlocked interface and sending, by the operating system, the intercepted screen-on broadcasting notification to the applications;
- and
- when the wakeup display screen interface is not the lock screen interface, sending the screen-on broadcasting notification to the applications by the operating system without being intercepted.
A device for delaying screen-on broadcasting notification, comprising:
- a memory having instructions installed therein for an operating system and applications;
- a display screen;
- and
- one or more processors in communication with the memory and the display screen, the one or more processors configured to:
- detect, via the operating system, a display screen wakeup event for the display screen;
- display a wakeup display screen interface and generate, via the operating system, a screen-on broadcasting notification upon detecting the display screen wakeup event;
- determine whether the wakeup display screen interface is a lock screen interface;
- when the wakeup display screen interface is a lock screen interface:
- intercept, via the operating system, a screen-on broadcasting notification to applications running on the device such that the applications are not waked up by the screen-on broadcasting notification during a time period between the display screen wakeup event and unlocking of the lock screen interface by a user of the device;
- and
- upon detecting unlocking of the lock screen interface by the user, switch the display screen from the lock screen interface to an unlocked interface and send, via the operating system, the intercepted screen-on broadcasting notification to the applications;
- and
- when the wakeup display screen interface is not the lock screen interface, send the screen-on broadcasting notification to the applications by the operating system without being intercepted.
A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of a terminal device, causes the terminal device to:
- detect, via an operating system of the terminal device, a display screen wakeup event for a display screen of the terminal device;
- display a wakeup display screen interface and generate, via the operating system, a screen-on broadcasting notification upon detecting the display screen wakeup event;
- determining whether the wakeup display screen interface is a lock screen interface;
- when the wakeup display screen interface is a lock screen interface:
- intercept, by the operating system, the screen-on broadcasting notification to a plurality of applications running on the terminal device such that the plurality of applications are not waked up by the screen-on broadcasting notification during a time period between the display screen wakeup event and unlocking of the lock screen interface by a user of the terminal device;
- and
- upon detecting unlocking of the lock screen interface by the user, switch the display screen from the lock screen interface to an unlocked interface and send, by the operating system, the intercepted screen-on broadcasting notification to the plurality of applications;
- and
- when the wakeup display screen interface is not the lock screen interface, sending the screen-on broadcasting notification to the applications by the operating system without being intercepted.
Dependencies are inferred from the claim text.