Using latched events to manage sleep/wake sequences on computer systems
First Claim
1. A method for performing power management on a computer system, comprising:
- during the execution of a sleep sequence by an operating system on the computer system, latching events associated with use of the computer system;
after the sleep sequence has completed, comparing the latched events with a set of enabled wake events for the computer system and a state variable, wherein the state variable comprises a set of bits, wherein each bit tracks occurrences of an associated event, and can be set or cleared based on occurrences of the associated event; and
if the latched events and the state variable are consistent with one of the enabled wake events, triggering a wake sequence on the computer system.
1 Assignment
0 Petitions
Accused Products
Abstract
The disclosed embodiments provide a system that performs power management on a computer system. The system includes an embedded controller and an operating system. During the execution of a sleep sequence by the operating system, the embedded controller latches events associated with use of the computer system. After the sleep sequence has completed, the embedded controller compares the latched events with a set of enabled wake events for the computer system and a current state of the computer system. If the latched events indicate that the current state corresponds to one of the enabled wake events, the embedded controller triggers a wake sequence on the computer system.
-
Citations
24 Claims
-
1. A method for performing power management on a computer system, comprising:
-
during the execution of a sleep sequence by an operating system on the computer system, latching events associated with use of the computer system; after the sleep sequence has completed, comparing the latched events with a set of enabled wake events for the computer system and a state variable, wherein the state variable comprises a set of bits, wherein each bit tracks occurrences of an associated event, and can be set or cleared based on occurrences of the associated event; and if the latched events and the state variable are consistent with one of the enabled wake events, triggering a wake sequence on the computer system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for performing power management on a computer system, comprising:
-
an operating system which executes on a processor and is configured to; execute a sleep sequence that transitions the computer system from a working mode to a sleep mode; and execute a wake sequence that transitions the computer from the sleep mode to the working mode; and an embedded controller configured to; latch events associated with use of the computer system during execution of the sleep sequence by the operating system; after the sleep sequence has completed, compare the latched events with a set of enabled wake events for the computer system and a state variable, wherein the state variable comprises a set of bits, wherein each bit tracks occurrences of an associated event, and can be set or cleared based on occurrences of the associated event; and if the latched events and the state variable are consistent with one of the enabled wake events, trigger the wake sequence. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A non-transitory computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for performing power management on a computer system, the method comprising:
-
during execution of a sleep sequence by an operating system on the computer system, latching events associated with use of the computer system;
after the sleep sequence has completed, comparing the latched events with a set of enabled wake events for the computer system and a state variable, wherein the state variable comprises a set of bits, wherein each bit tracks occurrences of an associated event, and can be set or cleared based on occurrences of the associated event; andif the latched events and the state variable are consistent with one of the enabled wake events, triggering a wake sequence on the computer system. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification