# US 2024/0004452 A1 · Method for predicting remaining use duration, electronic device and storage medium

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

- Number: US 2024/0004452 A1
- Document ID: US20240004452A1
- Status: Published application
- Kind: A1
- Application number: 17/976,741
- Filed: 2022-10-28
- Published: 2024-01-04
- Earliest claimed: 2022-07-04
- Assignees: Beijing Xiaomi Mobile Software Co., Ltd.
- Applicants: Beijing Xiaomi Mobile Software Co., Ltd.
- Inventors: Xingcheng WANG
- Web page: https://patentgrep.com/patent/US20240004452A1

## CPC

- G06F 1/3212: Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
- G06F 1/3234: Power saving characterised by the action undertaken
- G06F 3/04817: using icons (graphical or visual programming using iconic symbols G06F8/34)
- G06F 3/04847: Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
- G06F 3/0488: using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- H04W 52/0258: {controlling an operation mode according to history or models of usage information, e.g. activity schedule or time of day}
- H04W 52/0261: {managing power supply demand, e.g. depending on battery level}
- 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)

## Abstract

A method for predicting a remaining use duration of an electronic device is provided. The method includes: determining a current remaining energy of a battery based on state information of the battery in a current use scene; determining a current total power consumption of the electronic device in the current use scene; predicting the remaining use duration based on the current remaining energy and the current total power consumption; and displaying the remaining use duration through a display icon.

## Claims

### Claim 1

A method for predicting a remaining use duration of an electronic device, comprising:
determining, by the electronic device, a current remaining energy of a battery based on state information of the battery in a current use scene;
determining, by the electronic device, a current total power consumption of the electronic device in the current use scene;
predicting, by the electronic device, the remaining use duration based on the current remaining energy and the current total power consumption; and
displaying, by the electronic device, the remaining use duration through a display icon.

### Claim 2 (depends on 1)

The method according to claim 1, wherein predicting the remaining use duration based on the current remaining energy and the current total power consumption comprises:
in response to detecting an input operation for inputting a reference use duration, determining a target total power consumption of the electronic device in the current use scene based on the reference use duration and the current remaining energy;
obtaining an adjusted current total power consumption by adjusting the current total power consumption based on the target total power consumption; and
predicting the remaining use duration based on the current remaining energy and the adjusted current total power consumption.

### Claim 3 (depends on 2)

The method according to claim 2, wherein adjusting the current total power consumption comprises:
acquiring a first minimum power consumption for normal operation of the electronic device in the current use scene; and
adjusting the current total power consumption to a first target power consumption range in response to determining that the target total power consumption is greater than or equal to the first minimum power consumption, wherein the target total power consumption is a minimum value of the first target power consumption range.

### Claim 4 (depends on 3)

The method according to claim 3, further comprising:
detecting the adjusted current total power consumption; and
readjusting the adjusted current total power consumption to the first target power consumption range in response to determining that the adjusted current total power consumption is not within the first target power consumption range.

### Claim 5 (depends on 3)

The method according to claim 3, further comprising:
outputting a prompt message in response to determining that the target total power consumption is less than the first minimum power consumption, wherein the prompt message is configured to prompt that the reference use duration is too long.

### Claim 6 (depends on 2)

The method according to claim 2, wherein adjusting the current total power consumption comprises:
acquiring a second minimum power consumption for normal operation of the electronic device in a changed use scene in response to detecting that the current use scene is changed; and
adjusting the current total power consumption to a second target power consumption range in response to determining that the target total power consumption is greater than or equal to the second minimum power consumption, wherein the second minimum power consumption is a minimum value of the second target power consumption range.

### Claim 7 (depends on 2)

The method according to claim 2, further comprising:
detecting a touch operation acting on the display icon; and
displaying an input interface of the display icon in response to determining that the touch operation satisfies a first preset operation, wherein the input interface is at least configured to input the reference use duration, and the first preset operation is configured to display the reference use duration.

### Claim 8 (depends on 1)

The method according to claim 1, wherein determining the current remaining energy of the battery comprises:
acquiring the state information in the current use scene, wherein the state information comprises: a state of charge (SOC) and a current voltage of the battery;
predicting, based on the SOC, a voltage change state from the current voltage to a discharge cut-off voltage of the battery;
dividing the voltage change state into a plurality of discharge stages based on a reference value of a voltage change; and
determining the current remaining energy based on a remaining energy of each of the plurality of discharge stages.

### Claim 9 (depends on 1)

The method according to claim 1, wherein displaying the remaining use duration through the display icon comprises:
detecting a touch operation acting on the display icon; and
displaying the remaining use duration in response to determining that the touch operation satisfies a second preset operation, wherein the second preset operation is configured to display the remaining use duration.

### Claim 10 (depends on 9)

The method according to claim 9, further comprising:
displaying a configuration interface of the display icon in response to determining that the touch operation satisfies a third preset operation, wherein the third preset operation is configured to display the configuration interface, and the configuration interface is at least configured to set a display effect of the display icon and a display format of the remaining use duration;
detecting a configuration operation acting on the configuration interface; and
configuring the display effect and the display format based on the configuration operation.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the display icon is a system-level display icon.

### Claim 12

An electronic device, comprising:
a processor; and
a memory storing non-transitory computer-readable instructions that, when executed by the processor, cause the processor to:
determine a current remaining energy of a battery based on state information of the battery in a current use scene;
determine a current total power consumption of the electronic device in the current use scene;
predict the remaining use duration based on the current remaining energy and the current total power consumption; and
control a display of the remaining use duration through a display icon.

### Claim 13 (depends on 12)

The electronic device according to claim 12, wherein the processor is further caused to:
in response to detecting an input operation for inputting a reference use duration, determine a target total power consumption of the electronic device in the current use scene based on the reference use duration and the current remaining energy;
obtain an adjusted current total power consumption by adjusting the current total power consumption based on the target total power consumption; and
predict the remaining use duration based on the current remaining energy and the adjusted current total power consumption.

### Claim 14 (depends on 13)

The electronic device according to claim 13, wherein the processor is further caused to:
acquire a first minimum power consumption for normal operation of the electronic device in the current use scene; and
adjust the current total power consumption to a first target power consumption range in response to determining that the target total power consumption is greater than or equal to the first minimum power consumption, wherein the target total power consumption is a minimum value of the first target power consumption range.

### Claim 15 (depends on 14)

The electronic device according to claim 14, wherein the processor is further caused to:
detect the adjusted current total power consumption; and
readjust the adjusted current total power consumption to the first target power consumption range in response to determining that the adjusted current total power consumption is not within the first target power consumption range.

### Claim 16 (depends on 15)

The electronic device according to claim 15, wherein the processor is further caused to:
generate a prompt message in response to determining that the target total power consumption is less than the first minimum power consumption, wherein the prompt message is configured to prompt that the reference use duration is too long.

### Claim 17 (depends on 13)

The electronic device according to claim 13, wherein the processor is further caused to:
acquire a second minimum power consumption for normal operation of the electronic device in a changed use scene in response to detecting that the current use scene is changed; and
adjust the current total power consumption to a second target power consumption range in response to determining that the target total power consumption is greater than or equal to the second minimum power consumption, wherein the second minimum power consumption is a minimum value of the second target power consumption range.

### Claim 18 (depends on 13)

The electronic device according to claim 13, wherein the processor is further caused to:
detect a touch operation acting on the display icon; and
in response to determining that the touch operation satisfies a first preset operation, control a display of an input interface of the display icon, wherein the input interface is at least configured to input the reference use duration, and the first preset operation is configured to display the reference use duration.

### Claim 19 (depends on 12)

The electronic device according to claim 12, wherein the processor is further caused to:
acquire the state information in the current use scene, wherein the state information comprises: a state of charge (SOC) and a current voltage of the battery;
predict, based on the SOC, a voltage change state from the current voltage to a discharge cut-off voltage of the battery;
divide the voltage change state into a plurality of discharge stages based on a reference value of a voltage change; and
determine the current remaining energy based on a remaining energy of each of the plurality of discharge stages.

### Claim 20

A non-transitory computer readable storage medium storing instructions, wherein when the instructions are executed by a processor of an electronic device, the processor is caused to perform acts comprising:
determining a current remaining energy of a battery based on state information of the battery in a current use scene;
determining a current total power consumption of the electronic device in the current use scene;
predicting the remaining use duration based on the current remaining energy and the current total power consumption; and
displaying the remaining use duration through a display icon.
