CN110148992B - Charging control method, terminal device and storage medium - Google Patents
Charging control method, terminal device and storage medium Download PDFInfo
- Publication number
- CN110148992B CN110148992B CN201910555659.6A CN201910555659A CN110148992B CN 110148992 B CN110148992 B CN 110148992B CN 201910555659 A CN201910555659 A CN 201910555659A CN 110148992 B CN110148992 B CN 110148992B
- Authority
- CN
- China
- Prior art keywords
- battery
- electric quantity
- charging
- charging control
- threshold value
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000012544 monitoring process Methods 0.000 claims description 5
- 238000001514 detection method Methods 0.000 abstract 1
- 230000008569 process Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000002485 combustion reaction Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000004880 explosion Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 230000002269 spontaneous effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/425—Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/44—Methods for charging or discharging
- H01M10/448—End of discharge regulating measures
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/425—Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
- H01M2010/4271—Battery management systems including electronic circuits, e.g. control of current or voltage to keep battery in healthy state, cell balancing
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0029—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
- H02J7/00302—Overcharge protection
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- General Chemical & Material Sciences (AREA)
- Power Engineering (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention relates to the technical field of battery charging, and discloses a charging control method, terminal equipment and a storage medium. The charging control method comprises the following steps: when the terminal equipment enters a G0 working state, acquiring a charging control parameter under an operating system, and performing charging control on the battery according to the charging control parameter; meanwhile, writing the charging control parameter information into a register of the battery management chip; detecting whether an external power supply is connected or not in a G3 mechanical shutdown state; and when the detection is finished, reading the charging control parameters from the battery management chip, and continuing to perform charging control on the battery according to the charging control parameters. The invention stores the charging threshold value by utilizing the readable and writable space in the battery management chip, actively reads the charging threshold value from the battery management chip when the external power supply is plugged again after the terminal equipment enters the G3 mechanical shutdown state, and continues to perform charging control according to the charging threshold value, thereby automatically realizing charging control and effectively preventing the battery from being overcharged.
Description
Technical Field
The present invention relates to the field of battery charging technologies, and in particular, to a charging control method, a terminal device, and a storage medium.
Background
With the development of science and technology, the functions of terminal devices (such as notebook computers) become more and more powerful, and users can work and entertain through the terminal devices, so that the terminal devices become an indispensable part of people's daily life. However, the endurance of the terminal equipment is limited, requiring the user to continuously charge the terminal.
In the charging process, if the charging is not effectively controlled, the battery of the terminal equipment may be overcharged, which not only affects the service life of the battery, but also may cause serious accidents such as spontaneous combustion and explosion of the battery.
Disclosure of Invention
The invention aims to provide a charging control method, a terminal device and a storage medium, which can effectively prevent the battery of the terminal device from being overcharged, prolong the service life of the battery and avoid serious accidents.
In order to achieve the purpose, the invention adopts the following technical scheme:
a charge control method, comprising:
when the terminal equipment enters a G0 working state, acquiring a charging control parameter under an operating system, and performing charging control on a battery according to the charging control parameter; meanwhile, writing the acquired charging control parameter information into a register of a battery management chip for specifying a position;
detecting whether an external power supply is connected to the terminal equipment or not in a G3 mechanical shutdown state;
and when the connection of an external power supply is detected, reading the charging control parameters from the register of the battery management chip in a locating way, and continuously carrying out charging control on the battery according to the charging control parameters.
Optionally, the charge control parameter includes a high charge threshold or a remaining charge percentage threshold; the high-power threshold is lower than the total capacity of the battery by a preset value, and the residual power percentage threshold is the ratio of the high-power threshold to the total capacity of the battery.
Optionally, the controlling the charging of the battery according to the charging control parameter includes:
monitoring the current electric quantity of the battery in real time;
and judging whether the current electric quantity is not lower than a high electric quantity threshold or not, or whether the ratio of the current electric quantity to the total capacity of the battery is not lower than a residual electric quantity percentage threshold or not, if so, controlling the external power supply to stop charging the battery, and otherwise, controlling the external power supply to continue charging the battery.
Optionally, the controlling the external power supply to continue charging the battery includes:
judging whether the current electric quantity is lower than a preset low electric quantity threshold value, wherein the low electric quantity threshold value is smaller than a high electric quantity threshold value;
if the current electric quantity is lower than a low electric quantity threshold value, controlling the external power supply to charge the battery by adopting a first charging current; and if the current electric quantity is not lower than the low electric quantity threshold value, controlling the external power supply to charge the battery by adopting a second charging current, wherein the first charging current is larger than the second charging current.
Optionally, the charge control method further includes: updating the charging control parameter;
the step of updating the charging control parameter includes: firstly, the terminal equipment is switched to a G0 working state, and then new charging control parameters are written into the designated bits of the register in the battery management chip under the operating system.
A terminal device, comprising: the embedded controller, the battery management chip and the battery are electrically connected in sequence;
the embedded controller is used for acquiring the charging control parameters input by a user under an operating system when the terminal equipment enters a G0 working state, performing charging control on the battery according to the charging control parameters, and writing the charging control parameter information into a register of the battery management chip to specify the position; the battery management chip is also used for reading the charging control parameters from the register of the battery management chip in a locating way when the terminal equipment is in a G3 mechanical shutdown state and the connection of an external power supply is detected, and controlling the charging of the battery according to the charging control parameters;
the battery management chip comprises a register, and the readable and writable space of the register is allocated with a designated bit for storing the charging control parameter.
Optionally, the battery management chip is in communication connection with the embedded controller through an SMBus or I2C bus.
Optionally, the embedded controller is further configured to monitor a current electric quantity of the battery in real time, and control the external power supply to stop charging the battery when the current electric quantity is not lower than the high electric quantity threshold or a ratio of the current electric quantity to a total capacity of the battery is not lower than a remaining electric quantity percentage threshold, otherwise control the external power supply to continue charging the battery.
Optionally, the terminal device includes a tablet computer, a notebook computer, or a mobile phone.
A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the charging control method according to any one of the above.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
according to the embodiment of the invention, the readable and writable space in the battery management chip is used for storing the charging threshold, when the external power supply is plugged again after the terminal equipment enters the G3 mechanical shutdown state, the embedded controller can actively read the charging threshold from the battery management chip, the charging control is continuously carried out according to the charging threshold, the working state is not required to be switched to the G0 firstly, and then manual setting is carried out by a user, so that the charging control is automatically realized, and the overcharge of the battery is effectively prevented.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a charging control method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
ACPI-compliant computer systems defined in the ACPI standard may include a variety of global system states, including: a G0 working state, a G1 sleeping state, a G2 soft off state, and a G3 mechanical off state. The following briefly describes each state.
G0 operating state: i.e. the normal operating state of the computer. In this state, the entire computer system and application program can be run, but the peripheral devices and the CPU can dynamically change their respective power consumptions. For example, the display may be turned off while listening to music. This state is the highest power consumption of all G states.
G1 sleep state: the application program can not run in the G1 state, and the computer is in an off state; without rebooting, the operating system will switch to normal (G0); most contents of the computer are stored in an RAM memory or a hard disk; there are many wake-up delays (switching from G1 to G0) depending on the S-State selection in the G1 State. The power consumption is small, possibly down to a few watts.
G2 soft-off state: in this state, the application and the operating system cannot be run; the entire system is essentially shut down, except for the main power supply unit; power consumption is approximately equal to zero; the system needs to be restarted, and the wake-up delay time is long. For example, in a Window XP system, the option is to "turn off the computer," but the overall power is not turned off.
G3 mechanical off state: completely shutting down the computer by cutting off the main power supply; a notebook power supply is used, and only the real-time clock frequency is used; power consumption is zero regardless of the battery; the time for switching to the working state is longer.
Based on cost consideration, a non-permanent memory storage is not integrated in embedded controllers of most terminal equipment on the market, and information stored in the storage disappears immediately after power failure, so that if charging control is simply performed under an operating system according to a charging threshold set by a user, the charging threshold set by the user disappears immediately when the terminal equipment is shut down and an external power supply is cut off, namely the terminal equipment enters a G3 mechanical shutdown state defined in an ACPI standard.
This results in: the external power supply is plugged into the terminal equipment again, when the G3 mechanical shutdown state is switched to the G2 soft shutdown state, the embedded controller cannot automatically acquire the previous charging threshold value, so that the charging control cannot be automatically continued according to the charging threshold value, and the charging threshold value set by the user through the software interface again must be acquired under the operating system after the terminal equipment enters the G0 working state again.
This results in that the terminal device will not be protected against overcharge for a while, while also increasing the repetitive setting operation of the charging threshold by the user.
Therefore, the invention stores the charging threshold value by utilizing the readable and writable space in the battery management chip, when the external power supply is plugged in the terminal equipment again, the embedded controller can actively read the charging threshold value from the battery management chip and continue to perform charging control according to the charging threshold value, thereby effectively avoiding the occurrence of the over-charging condition of the battery.
Example one
Referring to fig. 1, the present embodiment provides a charging control method, which is suitable for a terminal device with a built-in battery, and includes the steps of:
The performance of a battery built in a terminal device such as a notebook computer is deteriorated by repeatedly overcharging the battery. For example, when fully charged for a long period of time, the actual capacity of the battery decreases, and the service life decreases.
Therefore, the present embodiment controls the charging amount of the battery to ensure that the maximum charge of the battery is always lower than the total capacity of the battery to a certain extent. And the charging control parameter is used for considering whether the charging quantity of the battery meets the charging requirement or not.
Specifically, the charging control parameter may be a high electric quantity threshold value lower than a preset value of the total capacity of the battery, and provides a determination criterion for an embedded controller in the terminal device. The charge control parameter may also be a percentage remaining charge threshold, i.e. a ratio of a high charge threshold to a total battery capacity, such as: 60% and 80%, can be set according to actual requirements.
The charging control parameters can obtain the set values of the user through the user interaction interface. In practical application, a plurality of options can be provided for a user, and the reasonable value is selected by the user according to the practical situation of the user.
And 102, detecting whether an external power supply is connected to the terminal equipment or not in the G3 mechanical shutdown state.
After the external power supply is connected, the terminal equipment is switched from the G3 mechanical power-off state to the G2 soft power-off state; in the G2 soft-off state, the terminal device may further switch to the G0 operating state.
And 103, when the connection of the external power supply is detected, reading the charging control parameter from the specified bit in the register of the battery management chip, and continuing to perform charging control on the battery according to the charging control parameter.
Because the charging control parameters are stored in the readable and writable space in the battery management chip before the terminal device enters the G3 mechanical shutdown state, when an external power supply is inserted into the terminal device again, the embedded controller of the terminal device can still automatically acquire the charging control parameters without switching to the G0 working state and then manually setting by a user, so that the charging control is automatically realized to prevent the battery from being overcharged.
Specifically, the method for controlling the charging of the battery according to the charging control parameter comprises the following steps:
monitoring the current electric quantity of the battery in real time;
and judging whether the current electric quantity is not lower than a high electric quantity threshold or not, or whether the ratio of the current electric quantity to the total capacity of the battery is not lower than a residual electric quantity percentage threshold or not, if so, controlling the external power supply to stop charging the battery, and otherwise, controlling the external power supply to continue charging the battery.
Optionally, the step of controlling the external power supply to continue charging the battery may further include:
judging whether the current electric quantity is lower than a preset low electric quantity threshold value, wherein the low electric quantity threshold value is smaller than a high electric quantity threshold value;
if the current electric quantity is lower than the low electric quantity threshold value, controlling the external power supply to charge the battery by adopting a first charging current; and if the current electric quantity is not lower than the low electric quantity threshold value, controlling the external power supply to charge the battery by adopting a second charging current, wherein the first charging current is larger than the second charging current.
In this embodiment, in the process of charging the battery, the control of the charging current is performed according to the difference between the current electric quantity and the high-electric-quantity threshold, so that the protection effect on the battery can be further improved.
In practical application, if the charging control parameter needs to be adjusted, the terminal device may be switched to the G0 operating state, and then a new charging control parameter is written into a designated storage location in the battery management chip through the embedded controller under the operating system, so as to update the parameter value.
Example two
An embodiment of the present invention provides a terminal device, including: embedded controller, battery management chip and battery.
The embedded controller is used for acquiring the charging control parameters input by a user under an operating system when the terminal equipment enters a G0 working state, performing charging control on the battery according to the charging control parameters, and writing the acquired charging control parameter information into a register of the battery management chip to specify the position; and the battery management chip is also used for reading the charging control parameters from the register of the battery management chip when the terminal equipment in the G3 mechanical shutdown state detects the connection of the external power supply, and controlling the charging of the battery according to the charging control parameters.
The battery Management chip and the embedded controller can be directly connected in a communication mode through an SMBus (System Management Bus) or an I2C Bus. The battery management chip comprises a register, wherein the register comprises a storage space used for storing conventional information such as total capacity, temperature, charging state, discharging times and the like of a battery, and a readable and writable reserved space, and the reserved space is distributed with a designated bit used for storing charging control parameters.
The battery is connected with the battery management chip, is an energy conversion and storage device, and converts chemical energy or physical energy into electric energy through reaction so as to provide electric energy for each electricity utilization unit of the terminal equipment.
Further, the embedded controller is also used for monitoring the current electric quantity of the battery in real time, and controlling the external power supply to stop charging the battery when the current electric quantity is not lower than the high electric quantity threshold value or the ratio of the current electric quantity to the total capacity of the battery is not lower than the percentage threshold value of the residual electric quantity, otherwise controlling the external power supply to continue charging the battery.
In the process of controlling the external power supply to continue charging the battery, the embedded controller is also used for judging whether the current electric quantity is lower than a preset low electric quantity threshold value, and the low electric quantity threshold value is smaller than a high electric quantity threshold value; if the current electric quantity is lower than the low electric quantity threshold value, controlling the external power supply to charge the battery by adopting a first charging current; and if the current electric quantity is not lower than the low electric quantity threshold value, controlling the external power supply to charge the battery by adopting a second charging current, wherein the first charging current is larger than the second charging current.
In this embodiment, the terminal device may be various electronic devices with a built-in battery, such as a tablet computer, a notebook computer, and a mobile phone.
EXAMPLE III
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present invention provide a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute steps in any one of the charging control methods provided by the embodiments of the present invention. For example, the instructions may perform the steps of:
when the terminal equipment enters a G0 working state, acquiring a charging control parameter under an operating system, and performing charging control on the battery according to the charging control parameter; meanwhile, writing the acquired charging control parameter information into a register of a battery management chip for specifying a position;
detecting whether the terminal equipment is connected with an external power supply or not in a G3 mechanical shutdown state;
and when the connection of the external power supply is detected, reading the charging control parameter from the specified bit in the register of the battery management chip, and continuing to perform charging control on the battery according to the charging control parameter.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (6)
1. A charge control method, characterized by comprising:
when the terminal equipment enters a working state, acquiring a charging control parameter under an operating system, and performing charging control on the battery according to the charging control parameter; meanwhile, writing the acquired charging control parameter information into a register of a battery management chip for specifying a position;
detecting whether an external power supply is connected to the terminal equipment or not in a mechanical shutdown state;
when the connection of an external power supply is detected, reading a charging control parameter from a register of the battery management chip in a locating way, and continuing to perform charging control on the battery according to the charging control parameter;
the charge control parameter comprises a high charge threshold or a remaining charge percentage threshold; the high electric quantity threshold value is lower than the total capacity of the battery by a preset value, and the residual electric quantity percentage threshold value is the ratio of the high electric quantity threshold value to the total capacity of the battery;
the control of charging the battery according to the charging control parameters comprises:
monitoring the current electric quantity of the battery in real time;
judging whether the current electric quantity is not lower than a high electric quantity threshold or not, or whether the ratio of the current electric quantity to the total capacity of the battery is not lower than a residual electric quantity percentage threshold or not, if so, controlling the external power supply to stop charging the battery, and otherwise, controlling the external power supply to continue charging the battery;
the control external power source continues to charge the battery, including:
judging whether the current electric quantity is lower than a preset low electric quantity threshold value, wherein the low electric quantity threshold value is smaller than a high electric quantity threshold value;
if the current electric quantity is lower than a low electric quantity threshold value, controlling the external power supply to charge the battery by adopting a first charging current; and if the current electric quantity is not lower than the low electric quantity threshold value, controlling the external power supply to charge the battery by adopting a second charging current, wherein the first charging current is larger than the second charging current.
2. The charge control method according to claim 1, characterized by further comprising: updating the charging control parameter;
the step of updating the charging control parameter includes: and firstly, switching the terminal equipment to a working state, and then writing new charging control parameters into the designated bits of the register in the battery management chip under the operating system.
3. A terminal device, characterized in that the terminal device comprises: the embedded controller, the battery management chip and the battery are electrically connected in sequence;
the embedded controller is used for acquiring the charging control parameters input by a user under an operating system when the terminal equipment enters a working state, controlling the charging of the battery according to the charging control parameters, and writing the charging control parameter information into a register of the battery management chip to specify the position; the battery management chip is also used for reading the charging control parameters from the register of the battery management chip in a locating way when the terminal equipment is in a mechanical shutdown state and the connection of an external power supply is detected, and controlling the charging of the battery according to the charging control parameters;
the battery management chip comprises a register, and a readable and writable space of the register is allocated with a designated bit for storing the charging control parameter;
the embedded controller is also used for monitoring the current electric quantity of the battery in real time, controlling the external power supply to stop charging the battery when the current electric quantity is not lower than a high electric quantity threshold value or the ratio of the current electric quantity to the total capacity of the battery is not lower than a residual electric quantity percentage threshold value, and otherwise controlling the external power supply to continue charging the battery; the power supply is also used for judging whether the current electric quantity is lower than a preset low electric quantity threshold value, and the low electric quantity threshold value is smaller than a high electric quantity threshold value; if the current electric quantity is lower than a low electric quantity threshold value, controlling the external power supply to charge the battery by adopting a first charging current; and if the current electric quantity is not lower than the low electric quantity threshold value, controlling the external power supply to charge the battery by adopting a second charging current, wherein the first charging current is larger than the second charging current.
4. The terminal device of claim 3, wherein the battery management chip is communicatively coupled to the embedded controller via an SMBus or I2C bus.
5. The terminal device of claim 3, wherein the terminal device comprises a tablet computer, a notebook computer or a mobile phone.
6. A storage medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor to perform the steps of the charging control method according to any one of claims 1 to 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910555659.6A CN110148992B (en) | 2019-06-25 | 2019-06-25 | Charging control method, terminal device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910555659.6A CN110148992B (en) | 2019-06-25 | 2019-06-25 | Charging control method, terminal device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110148992A CN110148992A (en) | 2019-08-20 |
CN110148992B true CN110148992B (en) | 2020-10-09 |
Family
ID=67596365
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910555659.6A Active CN110148992B (en) | 2019-06-25 | 2019-06-25 | Charging control method, terminal device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110148992B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116707050B (en) * | 2022-09-28 | 2024-04-12 | 荣耀终端有限公司 | Method and device for recording charge and discharge times, electronic equipment and readable storage medium |
CN118689293A (en) * | 2024-07-19 | 2024-09-24 | 汇钜存储科技(东莞)有限公司 | A data power-off protection method and a PSSD with a mobile power supply using the same |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103701168B (en) * | 2013-12-12 | 2017-09-29 | 金蝶软件(中国)有限公司 | The charging management method and charging management system of lithium battery |
CN103761338A (en) * | 2014-02-19 | 2014-04-30 | 华为终端有限公司 | Information inquiring method and terminal |
CN105893867A (en) * | 2016-03-28 | 2016-08-24 | 乐视控股(北京)有限公司 | Terminal equipment operation method and terminal equipment |
CN109710048B (en) * | 2018-12-19 | 2022-07-22 | 中国兵器装备集团自动化研究所有限公司 | Portable terminal power supply management method based on Loongson processor |
-
2019
- 2019-06-25 CN CN201910555659.6A patent/CN110148992B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110148992A (en) | 2019-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7206944B2 (en) | Electrical apparatus, computer, and power switching method | |
US7570015B2 (en) | Conditional battery charging system | |
TWI307009B (en) | System and method for preserving state data of a personal computer in a standby state in the event of an ac power failure | |
US20080010514A1 (en) | Backup power supply and desktop computer and method for protecting the data thereof | |
CN105262155B (en) | A charging method and device | |
JP3730414B2 (en) | Computer and power supply control method thereof | |
JP3974510B2 (en) | Computer apparatus, power management method, and program | |
US11909243B2 (en) | Information handling systems and improved battery charge control methods | |
US20080218125A1 (en) | Battery Charging System | |
JP2002271992A (en) | Device and method for supplying power, electrical machinery and apparatus, and method for supplying power in electrical machinery and apparatus | |
JPH075958A (en) | Computer operated by battery | |
JP2008113512A (en) | Electronic apparatus, charging method therefor and battery | |
US20110004778A1 (en) | Method for Controlling Power on a Computer System Having a Network Device and a Wakeup Function | |
WO2017045419A1 (en) | Method and apparatus for controlling the powering-on of terminal | |
CN111433999A (en) | Electronic device including battery and method of controlling charging thereof | |
CN110148992B (en) | Charging control method, terminal device and storage medium | |
CN110416643B (en) | Processing method and device and electronic equipment | |
CN107179819B (en) | Method for preventing battery from swelling and electronic device thereof | |
WO2020042715A1 (en) | Electronic device power supply method and apparatus, electronic device, and storage medium | |
CN111030249A (en) | Cut-off voltage control method and electronic equipment | |
US7612536B2 (en) | Pre-set discharging of batteries | |
CN102638083B (en) | Electronic device and power management method thereof | |
JP2001034370A (en) | Power-saving controller, power-saving control method, and computer system | |
TW201535100A (en) | Electronic device and power management method | |
CN112448429B (en) | Control method, terminal and computer storage medium |
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 |