# US 2024/0003977 A1 · Method and apparatus for controlling an electronic device

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

- Number: US 2024/0003977 A1
- Document ID: US20240003977A1
- Status: Published application
- Kind: A1
- Application number: 17/955,215
- Filed: 2022-09-28
- Published: 2024-01-04
- Earliest claimed: 2022-06-30
- Assignees: Beijing Xiaomi Mobile Software Co., Ltd.
- Applicants: Beijing Xiaomi Mobile Software Co., Ltd.
- Inventors: Xingcheng WANG
- Web page: https://patentgrep.com/patent/US20240003977A1

## CPC

- G01R 31/367: Software therefor, e.g. for battery testing using modelling or look-up tables
- G06F 1/3212: Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
- G01R 31/382: Arrangements for monitoring battery or accumulator variables, e.g. SoC
- G06F 1/3234: Power saving characterised by the action undertaken
- H04W 52/0261: {managing power supply demand, e.g. depending on battery level}
- H04W 52/0258: {controlling an operation mode according to history or models of usage information, e.g. activity schedule or time of day}
- Y02E 60/10: Energy storage using batteries
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- Y02E: REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION

## Abstract

An electronic device includes a battery module. A method for controlling the electronic device includes obtaining an expected use duration of the electronic device; determining a scene mode of the electronic device; determining power consumption information of a scene corresponding to the scene mode, wherein the power consumption information of the scene describes a power consumption of the electronic device in the scene mode; and discharging the battery module based on the expected use duration and the power consumption information of the scene.

## Claims

### Claim 1

A method for controlling an electronic device, wherein, the electronic device comprises a battery module, and the method comprises:
obtaining an expected use duration of the electronic device;
determining a scene mode of the electronic device;
determining power consumption information of a scene corresponding to the scene mode, wherein the power consumption information of the scene describes a power consumption of the electronic device in the scene mode; and
discharging the battery module based on the expected use duration and the power consumption information of the scene.

### Claim 2 (depends on 1)

The method of claim 1, wherein, discharging the battery module based on the expected use duration and the power consumption information of the scene comprises:
obtaining an actual residual energy of the battery module;
discharging the battery module based on the actual residual energy, the expected use duration and the power consumption information of the scene.

### Claim 3 (depends on 2)

The method of claim 2, wherein, discharging the battery module based on the actual residual energy, the expected use duration and the power consumption information of the scene comprises:
determining an actual use duration of the electronic device based on the actual residual energy and the power consumption information of the scene; and
discharging the battery module based on the expected use duration, the actual use duration and the power consumption information of the scene.

### Claim 4 (depends on 3)

The method of claim 3, wherein, discharging the battery module based on the expected use duration, the actual use duration and the power consumption information of the scene comprises:
determining a reference use duration based on the actual use duration;
discharging the battery module based on the power consumption information of the scene, in response to determining that the reference use duration being greater than or equal to the expected use duration; and
discharging the battery module based on target power consumption information, in response to determining that the reference use duration being less than the expected use duration, wherein a power consumption indicated by the target power consumption information is less than that indicated by the power consumption information of the scene.

### Claim 5 (depends on 4)

The method of claim 4, wherein, determining the reference use duration based on the actual use duration comprises:
determining an elapsed duration after obtaining the expected use duration of the electronic device; and
determining a sum of the actual use duration and the elapsed duration as the reference use duration.

### Claim 6 (depends on 1)

The method of claim 1, wherein determining a scene mode of the electronic device comprises:
obtaining an expected mode type;
determining an indicated expected mode as the scene mode, in response to determining that the electronic device has been in the expected mode indicated by the expected mode type; and
determining an updated mode type as the expected mode type when the expected mode type is updated, in response to determining that the electronic device has not been in the expected mode indicated by the expected mode type.

### Claim 7 (depends on 6)

The method of claim 6, after determining the indicated expected mode as the scene mode, further comprising:
obtaining an actual residual energy of the battery module;
determining expected power consumption information based on the expected use duration and the actual residual energy, wherein the expected power consumption information indicates an expected power consumption; and
adjusting an actual power consumption of the electronic device to the expected power consumption.

### Claim 8 (depends on 1)

The method of claim 1, wherein, determining power consumption information of the scene corresponding to the scene mode comprises:
determining a type of the scene mode;
obtaining power consumption information corresponding to the type of the scene mode as the power consumption information of the scene.

### Claim 9 (depends on 8)

The method of claim 8, wherein, obtaining the power consumption information corresponding to the type of the scene mode as the power consumption information of the scene comprises:
determining a reference mode type matching the type of scene mode from a set correspondence list, wherein the set correspondence list comprises the reference mode type and reference power consumption information corresponding to the reference mode type; and
determining the reference power consumption information corresponding to the reference mode type as the power consumption information of the scene.

### Claim 10

An electronic device, comprising:
a battery module;
at least one processor; and
a memory communicatively connected to the at least one processor, wherein, the memory is stored with instructions executable by the at least one processor, and the processor is configured to:
obtain an expected use duration of the electronic device;
determine a scene mode of the electronic device;
determine power consumption information of a scene corresponding to the scene mode, wherein the power consumption information of the scene describes a power consumption of the electronic device in the scene mode; and
discharge the battery module based on the expected use duration and the power consumption information of the scene.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein, the processor is configured to:
obtain an actual residual energy of the battery module;
discharge the battery module based on the actual residual energy, the expected use duration and the power consumption information of the scene.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein, the processor is configured to:
determine an actual use duration of the electronic device based on the actual residual energy and the power consumption information of the scene; and
discharge the battery module based on the expected use duration, the actual use duration and the power consumption information of the scene.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein, the processor is configured to:
determine a reference use duration based on the actual use duration;
discharge the battery module based on the power consumption information of the scene, in response to determining that the reference use duration being greater than or equal to the expected use duration; and
discharge the battery module based on target power consumption information, in response to determining that the reference use duration being less than the expected use duration, wherein a power consumption indicated by the target power consumption information is less than that indicated by the power consumption information of the scene.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein, the processor is configured to:
determine an elapsed duration after obtaining the expected use duration of the electronic device; and
determine a sum of the actual use duration and the elapsed duration as the reference use duration.

### Claim 15 (depends on 10)

The apparatus of claim 10, wherein, the processor is configured to:
obtain an expected mode type;
determine an indicated expected mode as the scene mode, in response to determining that the electronic device has been in the expected mode indicated by the expected mode type; and
determine an updated mode type as the expected mode type when the expected mode type is updated, in response to determining that the electronic device has not been in the expected mode indicated by the expected mode type.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein, the processor is configured to:
obtain an actual residual energy of the battery module;
determine expected power consumption information based on the expected use duration and the actual residual energy, wherein the expected power consumption information indicates an expected power consumption; and
adjust an actual power consumption of the electronic device to the expected power consumption.

### Claim 17 (depends on 10)

The apparatus of claim 10, wherein, the processor is configured to:
determine a type of the scene mode;
obtain power consumption information corresponding to the type of the scene mode as the power consumption information of the scene.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein, the processor is configured to:
determine a reference mode type matching the type of scene mode from a set correspondence list, wherein the set correspondence list comprises the reference mode type and reference power consumption information corresponding to the reference mode type; and
determine the reference power consumption information corresponding to the reference mode type as the power consumption information of the scene.

### Claim 19

A non-transitory computer readable storage medium stored with computer instructions, wherein, the computer instructions are configured to cause a computer to perform a method for controlling an electronic device, wherein the method comprises:
obtaining an expected use duration of the electronic device;
determining a scene mode of the electronic device;
determining power consumption information of a scene corresponding to the scene mode, wherein the power consumption information of the scene describes a power consumption of the electronic device in the scene mode; and
discharging the battery module based on the expected use duration and the power consumption information of the scene.
