Method for controlling multi-mode charging, mobile terminal, and storage medium
AssigneeHuizhou Tcl Mobile Communication Co., Ltd.
InventorLian Yu
Life of this patent
Estimating the term…
Abstract
Disclosed in the present invention are a method for controlling multi-mode charging, a mobile terminal, and a storage medium. The method comprises: pre-configuring multiple charging modes; connecting a charger, and receiving a user operation instruction, the operation instruction comprising a mode selection instruction; configuring and starting a timer according to a preset charging mode and the received operation instruction; and disabling or enabling a charging function when the time period set in the timer has passed.
Claims8
A mobile terminal, comprising a processor and a storage device connected to the processor, wherein the storage device stores multi-mode charging control instructions and the processor executes the multi-mode charging control instructions to perform following operations:
- presetting a first charging mode, and a second charging mode, and a third charging mode;
- if the first charging mode is selected, setting and activating a first timer according to a charging time setting command in an operation command;
- if the second charging mode is selected, calculating a required charging time period according to a battery target level in the operation command and activating a second timer according to the calculated charging time period;
- if the third charging mode is selected, then setting and activating a third timer according to a start time of charging in the operation command;
- determining a charging current according to the required charging time period;
- and
- if it is in the first charging mode, turning off a charging function at a time appointed by the first timer;
- if it is in the second charging mode, turning off the charging function at a time appointed by the second timer;
- and
- if it is in the third charging mode, turning on the charging function to charge according to the charging current at a time appointed by the third timer.
A storage medium, storing multi-mode charging control instructions executable by a processor to perform operations of:
- presetting a plurality of charging modes that include a first charging mode and a second charging mode, and a third charging mode;
- if the first charging mode is selected, setting and activating a first timer according to a charging time setting command in an operation command;
- if the second charging mode is selected, calculating a required charging time period according to a battery target level in the operation command and activating a second timer according to the calculated charging time period;
- if the third charging mode is selected, then setting and activating a third timer according to a start time of charging in the operation command;
- determining a charging current according to the required charging time period;
- and
- if it is in the first charging mode, turning off a charging function at a time appointed by the first timer;
- if it is in the second charging mode, turning off the charging function at a time appointed by the second timer;
- and
- if it is in the third charging mode, turning on the charging function to charge according to the charging current at a time appointed by the third timer.
Dependencies are inferred from the claim text.