Power saving scheduler for timed events
AssigneeSony Ericsson Mobile Communications AB
InventorEdward Craig Hyatt
Life of this patent
Estimating the term…
Abstract
The disclosed system and methods include a power saving scheduler that maintains timed events in an event table. Each timed event has an associated tolerance period within which the event should begin execution following a trigger, and a timestamp indicating a scheduled execution time for the event. When a device is in a low-power sleep mode, a trigger may wake up the device to a wake state. The power scheduler then accesses the event table of upcoming timed events, and reorders the event table from the event having the shortest tolerance period to the event having the longest tolerance period. Each event for which the timestamp is within the tolerance period as measured from the trigger time is executed. After a plurality of such events are executed, the device may return to the sleep mode.
Claims18
An electronic device comprising:
- an event table for storing timed events, wherein for each timed event the event table includes a tolerance period indicating a time period from a trigger within which to execute the timed event, and a respective timestamp indicating a scheduled execution time for the timed event;
- and
- a controller configured to receive a trigger at a trigger time, and further configured upon receiving the trigger to execute a plurality of timed events in the event table each for which the respective timestamp is within the tolerance period as measured from the trigger time,
- wherein the controller is further configured to sort the timed events in the event table from a shortest tolerance period to a longest tolerance period, and the events are executed in sorted order of tolerance period.
A method of executing timed events in a portable electronic device comprising the steps of:
- generating an event table for storing timed events, wherein for each timed event the event table includes a tolerance period indicating a time period from a trigger within which to execute the timed event, and a respective timestamp indicating a scheduled execution time for the timed event;
- receiving a trigger at a trigger time;
- sorting the timed events in the event table from a shortest tolerance period to a longest tolerance period;
- and
- executing a plurality of timed events in the event table in sorted order of tolerance period each for which the respective timestamp is within the tolerance period as measured from the trigger time.
A method of operating an electronic device comprising the steps of:
- generating an event table of timed events, wherein for each timed event the event table includes a tolerance period indicating a time period from a trigger within which to execute the timed event, and a respective timestamp indicating a scheduled execution time for the timed event;
- entering a low-power sleep mode;
- receiving a wakeup trigger at a trigger time;
- powering up from the sleep mode to a wake state;
- sorting the timed events in the event table from a shortest tolerance period to a longest tolerance period;
- and
- executing a plurality of timed events in the event table in sorted order of tolerance period each for which the respective timestamp is within the tolerance period as measured from the trigger time.
Dependencies are inferred from the claim text.