# US 8,543,854 B1 · Method and system for power configuration

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 8,543,854 B1
- Document ID: US8543854B1
- Status: Granted
- Kind: B1
- Application number: 12/965,388
- Filed: 2010-12-10
- Granted: 2013-09-24
- Earliest claimed: 2009-12-29
- Assignees: Marvell Israel (M.I.S.L) Ltd.
- Applicants: Dan Ilan; Rabeeh Khoury; Tawfik Bayouk
- Inventors: Dan Ilan; Rabeeh Khoury; Tawfik Bayouk
- Web page: https://patentgrep.com/patent/US8543854B1

## CPC

- G06F 1/3228: Monitoring task completion, e.g. by use of idle timers, stop commands or wait commands
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Aspects of the disclosure provide a method for power mode switching. The method includes sending a pausing request to an application executed in an electronic system. The pausing request informs the application of an intent to switch the electronic system from an active mode to a power saving mode that causes the electronic system to pause executing the application. Then, the method includes determining that the application accepts the pausing request, and configuring the electronic system into the power saving mode, such that the application pauses at a pausing point determined in response to the pausing request.

## Claims

### Claim 1

A method for power mode switching, comprising:
sending a pausing request to an application executed in an electronic system, the pausing request being configured to inform the application of an intent to switch the electronic system from an active mode to a power saving mode that causes the electronic system to pause executing the application;
accessing the application for the application type and the current status of the application;
determining a trigger type that triggers the pausing request
determining that the application accepts the pausing request based on the application type, the trigger type and the current status of the application;
and
configuring the electronic system into the power saving mode when the application accepts the pausing request, such that the application pauses at a pausing point that is determined in response to the pausing request.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving an idle trigger for switching to the power saving mode when an idle time of the electronic system is longer than a threshold; and
sending the pausing request in response to the idle trigger.

### Claim 3 (depends on 2)

The method of claim 2, further comprising at least one of:
receiving an input idle trigger when an input idle time is longer than an input idle threshold; and
receiving a central processing unit (CPU) idle trigger when a CPU idle time is longer than a CPU idle threshold.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
receiving a user trigger for switching to the power saving mode in response to a user request; and
sending the pausing request in response to the user trigger.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining that the application accepts the pausing request further comprises at least one of:
receiving a pausing accepted signal from the application that indicates that the application accepts the pausing request; and
not receiving a pausing denied signal from the application that indicates that the application denies the pausing request.

### Claim 6 (depends on 1)

The method of claim 1, wherein configuring the electronic system into the power saving mode when the application accepts the pausing request further comprises:
transmitting a switch signal to a power management unit that configures the electronic system into the power saving mode.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving an interrupt from an input device when the electronic system is in the power saving mode;
switching the electronic system to the active mode; and
sending a resuming request to the application to resume execution from the pausing point.

### Claim 8

An electronic system, comprising:
hardware components configured to execute an application in an active mode and to pause execution of the application in a power saving mode;
a power mode aware application configured to receive a pausing request that informs an intent to change to the power saving mode,
access the application for the application type and the current status of the application;
determine a trigger type that triggers the pausing request
accept or deny the pausing request based on the application type, the trigger type and the current status of the application, and determine a pausing point and prepare to pause at the pausing point when the pausing request is accepted;
and
a power management module configured to send the pausing request to the power mode aware application during an execution of the power mode aware application, determine that the power mode aware application accepts the pausing request, and configure the hardware components to the power saving mode when the power mode aware application accepts the pausing request.

### Claim 9 (depends on 8)

The electronic system of claim 8, wherein the power management module comprises:
an idle profiler configured to generate a first idle trigger to trigger the pausing request when an input idle time is longer than an input idle threshold, and to generate a second idle trigger to trigger the pausing request when a central processing unit (CPU) idle time is longer than a CPU idle threshold.

### Claim 10 (depends on 8)

The electronic system of claim 8, further comprising:
a user power mode switch program configured to trigger the pausing request in response to a user request.

### Claim 11 (depends on 8)

The electronic system of claim 8, wherein the power mode aware application is configured to send a pausing accepted signal to the power management module when the pausing request is accepted, or not to send a pausing denied signal to the power management module when the pausing request is accepted.

### Claim 12 (depends on 8)

The electronic system of claim 8, wherein the hardware components further comprise:
a power management unit configured to switch the hardware components into the active mode or into the power saving mode based on a switch signal from the power management module.

### Claim 13 (depends on 8)

The electronic system of claim 8, wherein the power management module is further configured to receive an interrupt from an input device when the hardware components are in the power saving mode, switch the hardware components into the active mode, and send a resuming request signal to the power mode aware application to resume execution from the pausing point.

### Claim 14

A non-transitory computer readable medium storing program instructions for causing a processor in an electronic system to execute operations for power management, the operations comprising:
sending a pausing request to an application during execution of the application, the pausing request being configured to inform the application of an intent to switch the electronic system from an active mode to a power saving mode that causes the electronic system to pause executing the application;
accessing the application for the application type and the current status of the application;
determining a trigger type that triggers the pausing request
determining that the application accepts the pausing request based on the application type, the trigger type and the current status of the application;
and
configuring the electronic system into the power saving mode when the application accepts the pausing request, such that the application pauses at a pausing point determined in response to the pausing request.

### Claim 15 (depends on 14)

The non-transitory computer readable medium of claim 14, the operations further comprising:
receiving an idle trigger for switching to the power saving mode when an idle time of the electronic system is longer than a threshold; and
sending the pausing request in response to the idle trigger.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, the operations further comprising at least one of:
receiving an input idle trigger when an input idle time is longer than an input idle threshold; and
receiving a processor idle trigger when a processor idle time is longer than a processor idle threshold.

### Claim 17 (depends on 14)

The non-transitory computer readable medium of claim 14, the operations further comprising:
receiving a user trigger for switching to the power saving mode in response to a user request; and
sending the pausing request in response to the user trigger.

### Claim 18 (depends on 14)

The non-transitory computer readable medium of claim 14, the operations further comprising at least one of:
receiving a pausing accepted signal from the application that indicates that the application accepts the pausing request; and
not receiving a pausing denied signal from the application that indicates that the application denies the pausing request.

### Claim 19 (depends on 14)

The non-transitory computer readable medium of claim 14, the operations further comprising:
transmitting a switch signal to a power management unit that configures the electronic system into the power saving mode.

### Claim 20 (depends on 14)

The non-transitory computer readable medium of claim 14, the operations further comprising:
receiving an interrupt from an input device when the electronic system is in the power saving mode;
switching the electronic system to the active mode; and
sending a resuming request to the application to resume execution from the pausing point.
