Power display method and apparatus, and electronic device
AssigneeVivo Mobile Communication Co., Ltd.
InventorShiwei Liu
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure provide a power display method and apparatus, and an electronic device. The method includes: determining, in a case that a target condition is satisfied, a target charging power in each of N pieces of preset duration, to obtain N target charging power, where N is a positive integer; determining a target consumed power in each of the N pieces of preset duration, to obtain N target consumed power; and generating a target charging curve according to a current remaining power, N target charging power, and N target consumed power of the electronic device, where the target condition is that the electronic device is in a charging state, or the electronic device is in a simulated charging state.
Claims20
A power display method, comprising:
- determining, in a case that a target condition is satisfied, a target charging power in each of N pieces of preset duration, to obtain N target charging power, wherein N is a positive integer;
- determining a target consumed power in each of the N pieces of preset duration, to obtain N target consumed power;
- generating a target charging curve according to a current remaining power, the N target charging power, and the N target consumed power of the electronic device, wherein the current remaining power is a power of the electronic device corresponding to a start time of a first piece of preset duration among the N pieces of preset duration, and the start time is determined based on a first input of a user;
- and
- displaying the target charging curve,
- wherein the target condition is that the electronic device is in a charging state, or the electronic device is in a simulated charging state, wherein the simulated charging state is that the electronic device is not electrically connected to a charging apparatus of the electronic device.
An electronic device, comprising:
- a processor;
- and
- a memory storing a computer program that is capable of running on the processor, wherein the computer program, when executed by the processor, causes the electronic device to perform the following steps:
- determining, in a case that a target condition is satisfied, a target charging power in each of N pieces of preset duration, to obtain N target charging power, wherein N is a positive integer;
- determining a target consumed power in each of the N pieces of preset duration, to obtain N target consumed power;
- generating a target charging curve according to a current remaining power, the N target charging power, and the N target consumed power of the electronic device, wherein the current remaining power is a power of the electronic device corresponding to a start time of a first piece of preset duration among the N pieces of preset duration, and the start time is determined based on a first input of a user;
- and
- displaying the target charging curve,
- wherein the target condition is that the electronic device is in a charging state, or the electronic device is in a simulated charging state, wherein the simulated charging state is that the electronic device is not electrically connected to a charging apparatus of the electronic device.
A non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, performs the following steps:
- determining, in a case that a target condition is satisfied, a target charging power in each of N pieces of preset duration, to obtain N target charging power, wherein N is a positive integer;
- determining a target consumed power in each of the N pieces of preset duration, to obtain N target consumed power;
- generating a target charging curve according to a current remaining power, the N target charging power, and the N target consumed power of the electronic device, wherein the current remaining power is a power of the electronic device corresponding to a start time of a first piece of preset duration among the N pieces of preset duration, and the start time is determined based on a first input of a user;
- and
- displaying the target charging curve,
- wherein the target condition is that the electronic device is in a charging state, or the electronic device is in a simulated charging state, wherein the simulated charging state is that the electronic device is not electrically connected to a charging apparatus of the electronic device.
Dependencies are inferred from the claim text.