Method, apparatus and storage medium for determining charging time length of battery
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorZhenhuan Xu
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to a method for determining a charging time length of a battery, applied to an electronic device, including: acquiring a current charging state type of the battery in response to detecting that the battery of the electronic device enters a charging state; determining a charging stage of the battery, wherein the charging stage includes a constant current charging stage and a constant voltage charging stage; and determining the charging time length required by the battery according to the charging state type and the charging stage.
Claims15
A method for determining a charging time length of a battery, comprising:
- acquiring, by an electronic device, a charging state type of the battery, in response to detecting that the battery of the electronic device enters a charging state;
- determining, by the electronic device, a charging stage of the battery, wherein the charging stage comprises a constant current charging stage and a constant voltage charging stage;
- and
- determining the charging time length required by the battery according to the charging state type and the charging stage.
An apparatus for determining a charging time length of a battery, comprising:
- a processor;
- a memory for storing instructions executable by the processor,
- wherein the processor is configured to:
- acquire a current charging state type of the battery, in response to detecting that the battery of the electronic device enters a charging state;
- determine a charging stage of the battery, wherein the charging stage comprises a constant current charging stage and a constant voltage charging stage;
- and
- determine the charging time length required by the battery according to the charging state type and the charging stage.
A non-transitory computer-readable storage medium, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is able to execute a method for determining a charging time length of a battery, the method comprising:
- acquiring a current charging state type of the battery, in response to detecting that the battery of the electronic device enters a charging state;
- determining a charging stage of the battery, wherein the charging stage comprises a constant current charging stage and a constant voltage charging stage;
- and
- determining the charging time length required by the battery according to the charging state type and the charging stage.
Dependencies are inferred from the claim text.