CN107634556B - Charging control method of mobile terminal, mobile terminal and storage medium - Google Patents

Charging control method of mobile terminal, mobile terminal and storage medium Download PDF

Info

Publication number
CN107634556B
CN107634556B CN201710895585.1A CN201710895585A CN107634556B CN 107634556 B CN107634556 B CN 107634556B CN 201710895585 A CN201710895585 A CN 201710895585A CN 107634556 B CN107634556 B CN 107634556B
Authority
CN
China
Prior art keywords
charging
battery voltage
mobile terminal
searching
charging current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710895585.1A
Other languages
Chinese (zh)
Other versions
CN107634556A (en
Inventor
俞斌
杨维琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Huayue Intellectual Property Operation Co ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201710895585.1A priority Critical patent/CN107634556B/en
Publication of CN107634556A publication Critical patent/CN107634556A/en
Application granted granted Critical
Publication of CN107634556B publication Critical patent/CN107634556B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a charging control method of a mobile terminal, the mobile terminal and a storage medium, wherein the method comprises the following steps: receiving a user instruction, and entering an energy-saving charging mode according to the user instruction; acquiring initial battery voltage and second charging current; searching for a required charging time corresponding to the obtained initial battery voltage and the second charging current; setting and starting a timer according to the required charging time; and entering a standby mode until the time set by the timer is reached. The invention enables the mobile terminal to enter the standby mode from the beginning to the end of charging, thereby reducing the consumption of system resources.

Description

Charging control method of mobile terminal, mobile terminal and storage medium
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a charging control method of a mobile terminal, the mobile terminal and a storage medium.
Background
The rechargeable battery is used as an essential energy storage component of the existing mobile terminal, the battery voltage needs to be continuously detected frequently, and then the current battery power is displayed under a relevant interface.
After the mobile terminal is connected with the charger, the battery voltage changes continuously and dynamically along with the charging, and the mobile terminal needs to continuously acquire the state of the battery and calculate the voltage; a large amount of system resources are consumed.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The present invention provides a charging control method for a mobile terminal, a mobile terminal and a storage medium, aiming at solving the problem that the mobile terminal in the prior art continuously acquires the battery state, performs voltage calculation and wastes system resources when charging.
The technical scheme adopted by the invention for solving the technical problem is as follows:
a charging control method of a mobile terminal, wherein the charging control method of the mobile terminal comprises the following steps:
receiving a user instruction, and entering an energy-saving charging mode according to the user instruction;
acquiring initial battery voltage and second charging current;
searching for a required charging time corresponding to the obtained initial battery voltage and the second charging current;
setting and starting a timer according to the required charging time;
and entering a standby mode until the time set by the timer is reached.
Further, the method for receiving the user instruction and entering the energy-saving charging mode according to the user instruction further comprises the following steps: a matrix for finding a required charging time is set in advance.
Further, the preset matrix for searching the required charging time specifically includes:
the abscissa of the matrix is set to be m, the ordinate is set to be p, m is the first battery voltage, and p is the first charging current.
Further, the method for receiving the user instruction and entering the energy-saving charging mode according to the user instruction further comprises the following steps:
a relation corresponding table for storing the charging required time is preset, wherein one row and one column at the outermost side of the relation corresponding table are respectively the first battery voltage and the first charging current, and the required charging time corresponds to the first battery voltage and the first charging current.
Further, the searching for the required charging time corresponding to the obtained initial battery voltage and the second charging current specifically includes the steps of:
searching and positioning a first battery voltage which is the same as the obtained initial battery voltage in a preset relation corresponding table, and searching and positioning a first charging current which is the same as the obtained second charging current;
and searching the required charging time simultaneously corresponding to the positioned first battery voltage and the positioned first charging current in a preset relation corresponding table.
A mobile terminal comprising a processor, and a memory coupled to the processor, the memory storing a charging control program for the mobile terminal, the charging control program for the mobile terminal when executed by the processor being operable to perform the steps of:
receiving a user instruction, and entering an energy-saving charging mode according to the user instruction;
acquiring initial battery voltage and second charging current;
searching for a required charging time corresponding to the obtained initial battery voltage and the second charging current;
setting and starting a timer according to the required charging time;
and entering a standby mode until the time set by the timer is reached.
Further, when executed by the processor, the charging control program of the mobile terminal is further configured to implement the following steps:
the method comprises the following steps before the user instruction is received and the energy-saving charging mode is entered according to the user instruction: the method comprises the steps that a matrix used for searching for needed charging time is preset, the abscissa of the matrix is m, the ordinate of the matrix is p, m is first battery voltage, and p is first charging current.
Further, when executed by the processor, the charging control program of the mobile terminal is further configured to implement the following steps:
a relation corresponding table for storing the charging required time is preset, wherein one row and one column at the outermost side of the relation corresponding table are respectively the first battery voltage and the first charging current, and the required charging time corresponds to the first battery voltage and the first charging current.
Further, when executed by the processor, the charging control program of the mobile terminal is further configured to implement the following steps:
searching and positioning a first battery voltage which is the same as the obtained initial battery voltage in a preset relation corresponding table, and searching and positioning a first charging current which is the same as the obtained second charging current;
and searching the required charging time simultaneously corresponding to the positioned first battery voltage and the positioned first charging current in a preset relation corresponding table.
A storage medium, wherein the storage medium stores a charging control program of a mobile terminal, which when executed by a processor implements the charging control method of the mobile terminal as described above.
The invention provides a charging control method of a mobile terminal, the mobile terminal and a storage medium, wherein the method comprises the following steps: receiving a user instruction, and entering an energy-saving charging mode according to the user instruction; acquiring initial battery voltage and second charging current; searching for a required charging time corresponding to the obtained initial battery voltage and the second charging current; setting and starting a timer according to the required charging time; and entering a standby mode until the time set by the timer is reached. The invention enables the mobile terminal to enter the standby mode from the beginning to the end of charging, thereby reducing the consumption of system resources.
Drawings
Fig. 1 is a flowchart of a charging control method of a mobile terminal according to a first preferred embodiment of the present invention.
Fig. 2 is a functional block diagram of a preferred embodiment of the mobile terminal of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating a charging control method of a mobile terminal according to a first preferred embodiment of the present invention. As shown in fig. 1, a charging control method of a mobile terminal includes the following steps:
s100, a matrix used for searching for the required charging time is preset, the abscissa of the matrix is m, the ordinate of the matrix is p, m is first battery voltage, and p is first charging current.
The first battery voltage refers to a battery voltage value used as a basis for searching for the required charging time on the matrix, and the first charging current refers to a charging current value used as a basis for searching for the required charging time on the matrix.
The matrix is not limited to this, and it is significant that the current battery voltage (i.e. the battery voltage after charging for a certain period of time) can be provided according to the charged time, and the current battery capacity can be obtained and displayed. Assuming that the voltage is 3.2V when charging is started and the charging current is 500mA, the battery voltage after charging for 30s is 3.22V, and it should be noted here that the electric quantity obtaining method is different from that obtained by real-time detection and calculation in the prior art, after charging is started (the initial battery voltage and the second charging current are obtained completely), the mobile terminal formally enters a standby mode until charging is completed, and during this period, the electric quantity displayed by the mobile phone is turned on by the user and is obtained by searching and converting from the matrix; please understand according to the following formula: the current battery voltage is the initial battery voltage + the second charging current charging time, and in fact, due to the existence of the matrix, the current battery voltage is calculated without using the formula, the current battery voltage can be directly searched and obtained, and the whole process is very simple and energy-saving.
It can be understood that, the display of the electric quantity in the charging process of the mobile terminal has the following two modes: and continuously displaying the current battery capacity and displaying the current battery capacity after triggering. The continuous display of the current battery power refers to the continuous adjustment of data output to a display screen according to the change of the battery power like the conventional mobile terminal; the implementation mode of the scheme is as follows: after charging is started and the initial battery voltage and the second charging current are detected, the mobile terminal continuously searches and outputs the current battery voltage from the preset matrix, and then outputs and displays the current battery capacity according to the current battery voltage (in the prior art, details are not repeated). The current battery capacity is displayed after triggering, that is, when the mobile terminal is charged and is in a standby state (the screen is turned off at the same time), the mobile terminal does not display the battery capacity output to the display screen in real time, and only when the Power key is pressed and the screen is bright, the mobile terminal searches the corresponding current battery capacity from the matrix according to the charged time and outputs the current battery capacity. Of course, other forms are also possible, for example, the current battery power is displayed periodically, the current battery power is not displayed before charging is completed, and the like, but the use convenience is poor, and the present invention is not described in detail.
And S200, receiving a user instruction, and entering an energy-saving charging mode according to the user instruction.
The setting significance of the step is as follows: whether the energy-saving charging mode is used or not can be selected by a user, and charging is not carried out by a fixed method, so that the use convenience of the user (the user selects a favorite mode according to the use habit) can be improved, and the program related to the invention can be integrated into an application program, so that the mobile terminal which is produced before can still be installed and used, and the universality of the method is improved.
And S300, acquiring an initial battery voltage and a second charging current.
The initial battery voltage refers to the voltage of the battery when the user selects the energy-saving charging mode and starts charging, the second charging current refers to the charging current when the mobile terminal is connected with the charger and the charger injects electric energy into the mobile terminal, and the second charging current is a constant value in the whole charging process.
S400, searching for the required charging time corresponding to the acquired initial battery voltage and the second charging current.
The required charging time is the time required from the start of charging to the end of charging of the mobile terminal.
And S500, setting and starting a timer according to the required charging time.
And S600, entering a standby mode until the time set by the timer is reached.
When the time set by the timer is reached, the mobile terminal automatically turns off the charging function to prevent the battery from being overcharged.
In another preferred embodiment of the present invention, the S100 may further be: a relation corresponding table for storing the charging required time is preset, wherein one row and one column at the outermost side of the relation corresponding table are respectively the first battery voltage and the first charging current, and the required charging time corresponds to the first battery voltage and the first charging current.
At this time, the S400 specifically includes:
s410, searching and positioning a first battery voltage which is the same as the obtained initial battery voltage in a preset relation corresponding table, and searching and positioning a first charging current which is the same as the obtained second charging current;
s420, searching the preset relationship mapping table for the required charging time corresponding to the located first battery voltage and the first charging current.
Example two
An embodiment of the present invention further provides a mobile terminal, as shown in fig. 2, the mobile terminal of the embodiment of the present invention may be a mobile phone (or a tablet computer), where the mobile terminal of the embodiment includes a processor 10 and a memory 20 connected to the processor 10;
the memory 20 stores a charging control program of the mobile terminal, which when executed by the processor 10, implements the steps of:
receiving a user instruction, and entering an energy-saving charging mode according to the user instruction, specifically in the embodiment of the method;
obtaining an initial battery voltage and a second charging current, as described in the method embodiment above;
searching for a required charging time corresponding to the obtained initial battery voltage and the second charging current, as described in the above method embodiment;
setting and starting a timer according to the required charging time, specifically as described in the above method embodiment;
the standby mode is entered until the timer set time is reached, as described in the above method embodiment.
Further, when executed by the processor 10, the charging control program of the mobile terminal is further configured to implement the following steps:
the method comprises the following steps before the user instruction is received and the energy-saving charging mode is entered according to the user instruction: a matrix for searching for the required charging time is preset, wherein the abscissa of the matrix is m, the ordinate is p, m is the first battery voltage, and p is the first charging current, specifically as described in the above method embodiment.
Further, when executed by the processor 10, the charging control program of the mobile terminal is further configured to implement the following steps:
a relationship correspondence table for storing the charging required time is preset, where a row and a column at the outermost side of the relationship correspondence table are respectively the first battery voltage and the first charging current, and the required charging time corresponds to the first battery voltage and the first charging current, as described in the above embodiment of the method.
Further, when executed by the processor 10, the charging control program of the mobile terminal is further configured to implement the following steps:
searching and locating a first battery voltage identical to the obtained initial battery voltage and searching and locating a first charging current identical to the obtained second charging current in a preset relation corresponding table, wherein the first charging current is specifically described in the embodiment of the method;
in the preset relationship correspondence table, the required charging time corresponding to the located first battery voltage and the first charging current at the same time is searched, specifically as described in the above method embodiment.
EXAMPLE III
A storage medium, wherein the storage medium stores a charging control program of a mobile terminal, and the charging control program of the mobile terminal realizes a charging control method of the mobile terminal when executed by a processor 10, specifically as described in the above method embodiment.
In summary, the present invention provides a charging control method for a mobile terminal, a mobile terminal and a storage medium, which improve the practicability of the mobile terminal and fully utilize the functions of the existing mobile terminal.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (5)

1. A charging control method of a mobile terminal is characterized by comprising the following steps:
presetting a matrix for searching for required charging time;
the preset matrix for searching the required charging time specifically comprises: setting the abscissa of the matrix as m, the ordinate as p, wherein m is a first battery voltage, and p is a first charging current;
presetting a relation corresponding table for storing charging required time, wherein a row and a column at the outermost side of the relation corresponding table are respectively a first battery voltage and a first charging current, and the required charging time corresponds to the first battery voltage and the first charging current;
receiving a user instruction, and entering an energy-saving charging mode according to the user instruction;
acquiring initial battery voltage and second charging current;
searching for a required charging time corresponding to the obtained initial battery voltage and the second charging current;
providing current battery voltage according to the charged time, obtaining and displaying the current battery electric quantity, and after the initial battery voltage and the second charging current are obtained, searching and converting the electric quantity displayed by the mobile phone from the matrix;
setting and starting a timer according to the required charging time;
and entering a standby mode until the time set by the timer is reached.
2. The method according to claim 1, wherein the step of searching for the required charging time corresponding to the obtained initial battery voltage and the second charging current comprises the steps of: searching and positioning a first battery voltage which is the same as the obtained initial battery voltage in a preset relation corresponding table, and searching and positioning a first charging current which is the same as the obtained second charging current;
and searching the required charging time simultaneously corresponding to the positioned first battery voltage and the positioned first charging current in a preset relation corresponding table.
3. A mobile terminal comprising a processor and a memory coupled to the processor, the memory storing a charging control program for the mobile terminal, the charging control program for the mobile terminal when executed by the processor being operable to perform the steps of:
presetting a matrix for searching for required charging time;
the abscissa of the matrix is m, the ordinate is p, m is a first battery voltage, and p is a first charging current;
presetting a relation corresponding table for storing charging required time, wherein a row and a column at the outermost side of the relation corresponding table are respectively a first battery voltage and a first charging current, and the required charging time corresponds to the first battery voltage and the first charging current;
receiving a user instruction, and entering an energy-saving charging mode according to the user instruction;
acquiring initial battery voltage and second charging current;
searching for a required charging time corresponding to the obtained initial battery voltage and the second charging current;
providing current battery voltage according to the charged time, obtaining and displaying the current battery electric quantity, and after the initial battery voltage and the second charging current are obtained, searching and converting the electric quantity displayed by the mobile phone from the matrix;
setting and starting a timer according to the required charging time;
and entering a standby mode until the time set by the timer is reached.
4. The mobile terminal of claim 3, wherein the charging control program of the mobile terminal, when executed by the processor, is further configured to implement the steps of: searching and positioning a first battery voltage which is the same as the obtained initial battery voltage in a preset relation corresponding table, and searching and positioning a first charging current which is the same as the obtained second charging current;
and searching the required charging time simultaneously corresponding to the positioned first battery voltage and the positioned first charging current in a preset relation corresponding table.
5. A storage medium storing a charging control program of a mobile terminal, the charging control program of the mobile terminal implementing the charging control method of the mobile terminal according to any one of claims 1 to 2 when executed by a processor.
CN201710895585.1A 2017-09-28 2017-09-28 Charging control method of mobile terminal, mobile terminal and storage medium Active CN107634556B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710895585.1A CN107634556B (en) 2017-09-28 2017-09-28 Charging control method of mobile terminal, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710895585.1A CN107634556B (en) 2017-09-28 2017-09-28 Charging control method of mobile terminal, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN107634556A CN107634556A (en) 2018-01-26
CN107634556B true CN107634556B (en) 2022-01-11

Family

ID=61104050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710895585.1A Active CN107634556B (en) 2017-09-28 2017-09-28 Charging control method of mobile terminal, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107634556B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113365171B (en) * 2021-05-17 2023-01-06 百度在线网络技术(北京)有限公司 Screen sound box processing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11250939A (en) * 1998-03-02 1999-09-17 Toshiba Battery Co Ltd Secondary battery charging control device
CN103367823A (en) * 2012-04-09 2013-10-23 华为终端有限公司 Charging method of battery and mobile terminal
CN104539005A (en) * 2014-12-09 2015-04-22 惠州Tcl移动通信有限公司 Mobile terminal charging control system and method
CN105988084A (en) * 2015-01-30 2016-10-05 联想(北京)有限公司 Information processing method and electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105680521B (en) * 2016-03-23 2018-03-23 广东欧珀移动通信有限公司 Charge function detection method, device and the mobile terminal of mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11250939A (en) * 1998-03-02 1999-09-17 Toshiba Battery Co Ltd Secondary battery charging control device
CN103367823A (en) * 2012-04-09 2013-10-23 华为终端有限公司 Charging method of battery and mobile terminal
CN104539005A (en) * 2014-12-09 2015-04-22 惠州Tcl移动通信有限公司 Mobile terminal charging control system and method
CN105988084A (en) * 2015-01-30 2016-10-05 联想(北京)有限公司 Information processing method and electronic device

Also Published As

Publication number Publication date
CN107634556A (en) 2018-01-26

Similar Documents

Publication Publication Date Title
US20180013315A1 (en) Battery charging method and electronic device
CN105071486A (en) Charging prompting method and apparatus
US10914787B2 (en) Method and apparatus for processing data of multifunctional automobile charger by using microprocessor
US20150145468A1 (en) Device and chip for controlling charging, and user terminal
US10250052B2 (en) Charge rate optimization for enhanced battery cycle life
WO2021136383A1 (en) Charging control method and apparatus, electronic device and computer storage medium
CN107681713B (en) Multi-mode charging control method, mobile terminal and storage medium
KR101481342B1 (en) Multimedia terminal device for high-speed charging and method for controlling the same
US20130234649A1 (en) Battery management system and method therefor
WO2019119326A1 (en) Charging method, device, terminal apparatus, and computer readable storage medium
KR20130090136A (en) Method and apparatus for charging battery
CN107634556B (en) Charging control method of mobile terminal, mobile terminal and storage medium
CN110445213B (en) Charging management system, method, device and storage medium
CN106655326A (en) Temperature-based mobile terminal charging current adjustment control method and mobile terminal
US20130193906A1 (en) Terminals, terminal systems and charging/discharging methods thereof
US7612536B2 (en) Pre-set discharging of batteries
CN109120030B (en) Wireless charger and electronic equipment forgetting reminding method
CN109148986B (en) Charging method and device
TWI637578B (en) Charging method and electronic device using the same
CN112636399B (en) Charging method and device, terminal equipment and storage medium
JP2004159382A (en) Electronic apparatus
KR20130044924A (en) Apparatus and mathod for controlling charge current in portable terminal
WO2017215266A1 (en) Charging method and device for terminal
CN109088456B (en) Mobile terminal charging protection system
CN213846239U (en) Power supply circuit and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230606

Address after: Room 2103, Office Building 1, No. 213 Funing Road, Zumiao Street, Chancheng District, Foshan City, Guangdong Province, 528000, F008

Patentee after: Foshan Huayue Intellectual Property Operation Co.,Ltd.

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right