CN107732992B - Terminal equipment power supply management method and device - Google Patents

Terminal equipment power supply management method and device Download PDF

Info

Publication number
CN107732992B
CN107732992B CN201610659845.0A CN201610659845A CN107732992B CN 107732992 B CN107732992 B CN 107732992B CN 201610659845 A CN201610659845 A CN 201610659845A CN 107732992 B CN107732992 B CN 107732992B
Authority
CN
China
Prior art keywords
power
battery
terminal device
power management
terminal equipment
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
CN201610659845.0A
Other languages
Chinese (zh)
Other versions
CN107732992A (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.)
Beijing Aiqi Technology Co ltd
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Aiqi Technology Co ltd
Beijing Xiaomi Mobile Software 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 Beijing Aiqi Technology Co ltd, Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Aiqi Technology Co ltd
Priority to CN201610659845.0A priority Critical patent/CN107732992B/en
Publication of CN107732992A publication Critical patent/CN107732992A/en
Application granted granted Critical
Publication of CN107732992B publication Critical patent/CN107732992B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0069Charging or discharging for charge maintenance, battery initiation or rejuvenation

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

The disclosure relates to a terminal equipment power management method and device. The method is applied to a micro control unit, and comprises the following steps: when the access of a power adapter is detected, a first instruction is sent to a battery charging circuit of the terminal equipment, and the charging parameters of the terminal equipment are managed; and when a shutdown instruction is received, sending a second instruction to a power management circuit of the terminal equipment to enable the power management circuit to stop supplying power to an electric system of the terminal equipment. In the present disclosure, the micro control unit is used to realize the charging management of the terminal device, and also realize the power supply hierarchical control of the terminal device, thereby saving the cost and the PCB area.

Description

Terminal equipment power supply management method and device
Technical Field
The present disclosure relates to the field of terminal device power supplies, and in particular, to a terminal device power supply management method and apparatus.
Background
Mobile electronic products are increasing, and due to their mobile nature, mobile electronic products often require battery power. From the perspective of environmental protection, economy, electric quantity, lithium cell is the commonly used scheme. On one hand, the charging and discharging of the lithium battery need to follow a strict flow so as to avoid damage and safety accidents to the battery; on the other hand, mobile electronic products have strict requirements on power consumption. How to manage the problems of battery charging and discharging, power consumption and the like of mobile electronic products is a problem to be solved urgently.
Disclosure of Invention
The embodiment of the disclosure provides a terminal equipment power supply management method and device. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a terminal device power management method applied to a micro control unit, the method including:
when the access of a power adapter is detected, a first instruction is sent to a battery charging circuit of the terminal equipment, and the charging parameters of the terminal equipment are managed; and
and when a shutdown instruction is received, sending a second instruction to a power management circuit of the terminal equipment to enable the power management circuit to stop supplying power to an electric system of the terminal equipment.
Optionally, the method further includes:
and when the access of the power adapter is detected, sending a third instruction to a power path selection circuit of the terminal equipment, so that the power path selection circuit cuts off the output of the battery and supplies power to the power management circuit.
Optionally, when detecting that the power adapter is connected, the method sends a first instruction to a battery charging circuit of the terminal device, and manages charging parameters of the terminal device, including:
acquiring information of a battery of the terminal equipment;
and sending a first instruction to a battery charging circuit of the terminal equipment according to the acquired information of the battery, and adjusting the charging parameter of the terminal equipment.
Optionally, the information of the battery includes one or more of the following: the voltage of the battery, the current of the battery, and the temperature of the battery.
Optionally, the method further includes:
and sending the acquired information of the battery to an electric system of the terminal equipment.
Optionally, the method further includes:
and after the power utilization system is shut down, the micro control unit enters a dormant state.
According to a second aspect of the embodiments of the present disclosure, there is provided a terminal device power management apparatus, configured in a micro control unit, the apparatus including:
the first processing module is configured to send a first instruction to a battery charging circuit of the terminal device to manage charging parameters of the terminal device when the access of a power adapter is detected; and
the second processing module is configured to send a second instruction to a power management circuit of the terminal device when it is detected that a shutdown instruction is received, so that the power management circuit stops supplying power to an electric system of the terminal device.
Optionally, the apparatus further comprises:
and the third processing module is configured to send a third instruction to a power path selection circuit of the terminal equipment when the access of the power adapter is detected, so that the power path selection circuit cuts off the output of the battery and supplies power to the power management circuit.
Optionally, the first processing module includes:
an acquisition submodule configured to acquire information of a battery of the terminal device;
and the processing submodule is configured to send a first instruction to a battery charging circuit of the terminal device according to the information of the battery acquired by the acquisition submodule, and adjust the charging parameter of the terminal device.
Optionally, the information of the battery includes one or more of the following: the voltage of the battery, the current of the battery, and the temperature of the battery.
Optionally, the first processing module further includes:
the sending submodule is configured to send the information of the battery acquired by the acquiring submodule to an electricity utilization system of the terminal equipment.
Optionally, the apparatus further comprises:
the sleep module is configured to enable the micro control unit to enter a sleep state after the power utilization system is shut down.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal device power management apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the access of a power adapter is detected, a first instruction is sent to a battery charging circuit of the terminal equipment, and the charging parameters of the terminal equipment are managed; and
and when a shutdown instruction is received, sending a second instruction to a power management circuit of the terminal equipment to enable the power management circuit to stop supplying power to an electric system of the terminal equipment.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme, on one hand, the micro control unit can manage the charging of the terminal equipment after detecting that the power adapter is connected to charge the battery of the terminal equipment, and on the other hand, the micro control unit can also control the power supply of the terminal equipment in a grading manner by controlling the power supply management circuit to stop supplying power to the power utilization system, so that the power consumption is effectively reduced. In the embodiment, only one micro control unit is used, so that the charging management of the terminal equipment is realized, the power supply of the terminal equipment is controlled in a grading manner, and the cost and the PCB area are saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a terminal device power management method according to an example embodiment.
Fig. 2 is a flowchart illustrating a terminal device power management method according to another exemplary embodiment.
Fig. 3 is a schematic diagram illustrating power supply in a terminal device according to an exemplary embodiment.
Fig. 4 is a schematic diagram illustrating power supply in a terminal device according to another exemplary embodiment.
Fig. 5 is a schematic diagram illustrating power supply in a terminal device according to another exemplary embodiment.
Fig. 6 is a block diagram illustrating a terminal device power management apparatus according to an example embodiment.
Fig. 7 is a block diagram illustrating a first processing module in a terminal device power management apparatus according to another exemplary embodiment.
Fig. 8 is a block diagram illustrating a first processing module in a terminal device power management apparatus according to another exemplary embodiment.
Fig. 9 is a block diagram illustrating a terminal device power management apparatus according to another exemplary embodiment.
Fig. 10 is a block diagram illustrating a terminal device power management apparatus according to another exemplary embodiment.
Fig. 11 is a block diagram illustrating an apparatus for terminal device power management according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The technical scheme provided by the embodiment of the disclosure relates to a terminal device powered by a battery, and for example, the terminal device can comprise a smart phone, a tablet computer, a notebook computer, a camera, an electric toy and the like.
Fig. 1 is a flowchart illustrating a power management method of a terminal device according to an exemplary embodiment, the power management method of the terminal device being applied to a micro control unit in the terminal device. As shown in FIG. 1, the method includes the following steps S11-S14:
in step S11, when the access of the power adapter is detected, a first instruction is sent to the battery charging circuit of the terminal device to manage the charging parameters of the terminal device.
In step S12, when the shutdown command is received, a second command is sent to the power management circuit of the terminal device to cause the power management circuit to stop supplying power to the power consumption system of the terminal device.
In this embodiment, on one hand, a Micro Control Unit (MCU) can manage the charging of the terminal device after detecting that the power adapter is connected to charge the battery of the terminal device, and on the other hand, the micro control Unit can also control the power management circuit to stop supplying power to the power utilization system to realize the power-supply-level control of the terminal device, thereby effectively reducing power consumption. In the embodiment, only one micro control unit is used, so that the charging management of the terminal equipment is realized, the power supply of the terminal equipment is controlled in a grading manner, and the cost and the PCB area are saved.
Fig. 2 is a flowchart illustrating a terminal device power management method according to another exemplary embodiment. As shown in fig. 2, in another embodiment, the terminal device power management method includes the following steps:
in step S21, the mcu detects whether a power adapter is connected or receives a shutdown command from the terminal device; if the access of the power adapter is detected, executing step S22; if a shutdown command is received, go to step S25; if not, the process is ended.
Fig. 3 shows the connection relationship of the power management related components in the terminal device. The battery charging circuit 303 is configured to control an accessed power adapter 306 to charge a battery 302 in the terminal device, the battery 302 supplies power to the power management circuit 301, the power management circuit 301 supplies power to the power system 304 and the micro control unit 305 at the same time, the power output of the power management circuit 301 is controlled by the micro control unit 305, and the micro control unit 305 is further connected to the battery charging circuit 303.
When the power adapter 306 is connected, the battery charging circuit 303 sends a signal to the mcu, so the mcu 305 can detect whether the power adapter is connected.
In step S22, the micro control unit acquires information of the battery of the terminal device.
The information of the battery may include one or more of: the voltage of the battery, the current of the battery, and the temperature of the battery. The micro control unit 305 may obtain information of the battery through the battery charging circuit 303.
In other embodiments of the present disclosure, the micro control unit may further send the acquired information of the battery to the power utilization system of the terminal device.
In step S23, the micro control unit sends a first instruction to the battery charging circuit of the terminal device according to the acquired information, and adjusts the charging parameter of the terminal device.
For example, the micro control unit 305 controls the battery charging circuit 303 circuitry to regulate the charging current. The battery charging circuit 303 includes a metal-oxide-semiconductor (MOS) field effect transistor (fet), and the micro control unit 305 controls a duty ratio of a MOS transistor switch in the battery charging circuit 303 to adjust the charging current.
The micro-processing unit collects information such as voltage, current, temperature and the like of the battery in the charging process of the terminal equipment by using the battery charging circuit, and can more reasonably adjust charging parameters such as charging current and the like.
In step S24, the micro control unit sends a third instruction to the power path selection circuit of the terminal device, causing the power path selection circuit to cut off the output of the battery and supply power to the power management circuit of the terminal device.
After this step, as shown in fig. 4, the power path selection circuit 307 cuts off the output of the battery 302 (the broken line in the figure indicates the cut-off output) according to the control of the micro control unit 305, i.e., the power management circuit 301 is prevented from being supplied with power from the battery 302, and the power management circuit is directly supplied with power from the power path selection circuit 307 using the power adapter, which can prevent the battery from being discharged while the battery is being charged.
In another embodiment of the present disclosure, the power path selection circuit 307 may further detect whether a power adapter is connected, and when the connection of the power adapter is detected, disconnect the output from the battery to the power management circuit, and directly supply power to the power management circuit by using the power adapter.
In step S25, the mcu sends a second command to the power management circuit of the terminal device to stop the power management circuit from supplying power to the power system of the terminal device.
As shown in fig. 5, the power management circuit 301 stops supplying power to the power consuming system 304 (the broken line indicates the cut-off output).
When the terminal equipment is shut down, the micro control unit can turn off the power supply output of the power supply management circuit to the primary power supply of the power utilization system so as to reduce the power consumption of the system. And the power management circuit always supplies power to the micro control unit. In another embodiment of the present disclosure, after the power utilization system is shut down, the micro control unit may further enter a sleep state, which may effectively reduce power consumption.
In the embodiment, after the micro control unit detects that the power adapter is connected to charge the battery of the terminal device, the micro control unit can manage the charging of the terminal device and cut off the output of the battery when the battery is charged, so that the battery is prevented from discharging while being charged; meanwhile, the micro control unit can also control the power supply of the terminal equipment in a grading way by controlling the power supply management circuit to stop supplying power to the power utilization system.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 6 is a block diagram illustrating a terminal device power management apparatus according to an exemplary embodiment, which may be implemented as part or all of an electronic device through software, hardware, or a combination of both. The device is configured in the micro control unit. As shown in fig. 6, the apparatus includes:
the first processing module 601 is configured to send a first instruction to a battery charging circuit of the terminal device to manage charging parameters of the terminal device when the access of the power adapter is detected.
The second processing module 602 is configured to, when it is detected that a shutdown instruction is received, send a second instruction to a power management circuit of the terminal device, so that the power management circuit stops supplying power to an electric system of the terminal device.
Fig. 3 shows the connection relationship of the power management related components in the terminal device. The battery charging circuit 303 is configured to control an accessed power adapter 306 to charge a battery 302 in the terminal device, the battery 302 supplies power to the power management circuit 301, the power management circuit 301 supplies power to the power system 304 and the micro control unit 305 at the same time, the power output of the power management circuit 301 is controlled by the micro control unit 305, and the micro control unit 305 is further connected to the battery charging circuit 303.
When the power adapter 306 is connected, the battery charging circuit 303 sends a signal to the mcu, so the mcu 305 can detect whether the power adapter is connected.
Fig. 7 is a block diagram of a first processing module in a terminal device power management apparatus according to another exemplary embodiment, where as shown in fig. 7, in another embodiment, the first processing module 601 includes:
an obtaining submodule 6011 configured to obtain information of a battery of the terminal device. The micro control unit can acquire the information of the battery through the battery charging circuit.
A processing submodule 6012, configured to send a first instruction to a battery charging circuit of the terminal device according to the information of the battery acquired by the acquiring submodule 6011, and adjust a charging parameter of the terminal device.
For example, the micro control unit 305 controls the battery charging circuit 303 circuitry to regulate the charging current. The battery charging circuit 303 includes a metal-oxide-semiconductor (MOS) field effect transistor (fet), and the micro control unit 305 controls a duty ratio of a MOS transistor switch in the battery charging circuit 303 to adjust the charging current.
The information of the battery includes one or more of: the voltage of the battery, the current of the battery, and the temperature of the battery.
The micro-processing unit collects information such as voltage, current, temperature and the like of the battery in the charging process of the terminal equipment by using the battery charging circuit, and can more reasonably adjust charging parameters such as charging current and the like.
Fig. 8 is a block diagram of a first management module in an apparatus for managing a terminal device according to another exemplary embodiment, where as shown in fig. 8, in another embodiment, the first processing module 601 further includes:
a sending submodule 6013 configured to send the information of the battery acquired by the acquiring submodule 6011 to an electric system of a terminal device.
Fig. 9 is a block diagram illustrating a terminal device power management apparatus according to another exemplary embodiment, and as shown in fig. 9, in another embodiment, the apparatus further includes:
a third processing module 605, configured to send a third instruction to a power path selection circuit of the terminal device when detecting the access of the power adapter, so that the power path selection circuit cuts off the output of the battery and supplies power to the power management circuit.
As shown in fig. 4, the power path selection circuit 307 cuts off the output of the battery 302 (the broken line in the figure indicates the cut-off output) according to the control of the micro control unit 305, i.e., the battery 302 is prevented from supplying power to the power management circuit 301, and the power management circuit is directly supplied with power by the power path selection circuit 307 using the power adapter, which can prevent the battery from being discharged while the battery is being charged.
In another embodiment of the present disclosure, the power path selection circuit 307 may further detect whether a power adapter is connected, and when the connection of the power adapter is detected, disconnect the output from the battery to the power management circuit, and directly supply power to the power management circuit by using the power adapter.
Fig. 10 is a block diagram illustrating a terminal device power management apparatus according to another exemplary embodiment, and as shown in fig. 10, in another embodiment, the apparatus further includes:
a sleep module 604 configured to cause the micro control unit to enter a sleep state after the power system is powered off, which is effective to reduce power consumption.
The present disclosure also provides a terminal device power management apparatus, including:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to:
when the access of a power adapter is detected, a first instruction is sent to a battery charging circuit of the terminal equipment, and the charging parameters of the terminal equipment are managed; and
and when a shutdown instruction is received, sending a second instruction to a power path selection circuit of the terminal equipment to enable the power management circuit to stop supplying power to an electric system of the terminal equipment.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 11 is a block diagram illustrating an apparatus 800 for managing a terminal device according to an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 11, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 or micro-control units to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-control units or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a micro-control unit of a mobile terminal, enable the mobile terminal to perform a terminal device power management method, the method comprising:
when the access of a power adapter is detected, a first instruction is sent to a battery charging circuit of the terminal equipment, and the charging parameters of the terminal equipment are managed; and
and when a shutdown instruction is received, sending a second instruction to a power management circuit of the terminal equipment to enable the power management circuit to stop supplying power to an electric system of the terminal equipment.
Optionally, the method further includes:
and when the access of the power adapter is detected, sending a third instruction to a power path selection circuit of the terminal equipment, so that the power path selection circuit cuts off the output of the battery and supplies power to the power management circuit.
Optionally, when detecting that the power adapter is connected, the method sends a first instruction to a battery charging circuit of the terminal device, and manages charging parameters of the terminal device, including:
acquiring information of a battery of the terminal equipment;
and sending a first instruction to a battery charging circuit of the terminal equipment according to the acquired information of the battery, and adjusting the charging parameter of the terminal equipment.
Optionally, the information of the battery includes one or more of the following: the voltage of the battery, the current of the battery, and the temperature of the battery.
Optionally, the method further includes:
and sending the acquired information of the battery to an electric system of the terminal equipment.
Optionally, the method further includes:
and after the power utilization system is shut down, the micro control unit enters a dormant state.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (13)

1. A terminal equipment power supply management method is characterized in that a battery charging circuit in the terminal equipment is used for controlling an accessed power adapter to charge a battery in the terminal equipment, the battery supplies power for a power management circuit, the power management circuit supplies power for an electric system and a micro control unit of the terminal equipment at the same time, the power output of the power management circuit is controlled by the micro control unit, and the micro control unit is also connected with the battery charging circuit; the method is applied to the micro control unit, and comprises the following steps:
when the access of a power adapter is detected, a first instruction is sent to a battery charging circuit of the terminal equipment, and the charging parameters of the terminal equipment are managed; and
when a shutdown instruction is received, a second instruction is sent to a power management circuit of the terminal device, so that the power management circuit stops supplying power to an electric system of the terminal device, at the moment, the battery keeps supplying power to the power management circuit, and the power management circuit keeps supplying power to the micro control unit.
2. The method of claim 1, further comprising:
and when the access of the power adapter is detected, sending a third instruction to a power path selection circuit of the terminal equipment, so that the power path selection circuit cuts off the output of the battery and supplies power to the power management circuit.
3. The method of claim 1, wherein sending a first instruction to a battery charging circuit of the terminal device to manage charging parameters of the terminal device when detecting access of a power adapter comprises:
acquiring information of a battery of the terminal equipment;
and sending a first instruction to a battery charging circuit of the terminal equipment according to the acquired information of the battery, and adjusting the charging parameter of the terminal equipment.
4. The method of claim 3, wherein the information of the battery comprises one or more of: the voltage of the battery, the current of the battery, and the temperature of the battery.
5. The method of claim 3, further comprising:
and sending the acquired information of the battery to an electric system of the terminal equipment.
6. The method of claim 1, further comprising:
and after the power utilization system is shut down, the micro control unit enters a dormant state.
7. A terminal device power supply management device is characterized in that a battery charging circuit in the terminal device is used for controlling an accessed power adapter to charge a battery in the terminal device, the battery supplies power for a power management circuit, the power management circuit supplies power for an electric system and a micro control unit of the terminal device at the same time, the power output of the power management circuit is controlled by the micro control unit, and the micro control unit is also connected with the battery charging circuit; the device is configured in the micro control unit, the device comprising:
the first processing module is configured to send a first instruction to a battery charging circuit of the terminal device to manage charging parameters of the terminal device when the access of a power adapter is detected; and
the second processing module is configured to send a second instruction to a power management circuit of the terminal device when it is detected that a shutdown instruction is received, so that the power management circuit stops supplying power to an electric system of the terminal device, at this time, the battery keeps supplying power to the power management circuit, and the power management circuit keeps supplying power to the micro control unit.
8. The apparatus of claim 7, further comprising:
and the third processing module is configured to send a third instruction to a power path selection circuit of the terminal equipment when the access of the power adapter is detected, so that the power path selection circuit cuts off the output of the battery and supplies power to the power management circuit.
9. The apparatus of claim 7, wherein the first processing module comprises:
an acquisition submodule configured to acquire information of a battery of the terminal device;
and the processing submodule is configured to send a first instruction to a battery charging circuit of the terminal device according to the information of the battery acquired by the acquisition submodule, and adjust the charging parameter of the terminal device.
10. The apparatus of claim 9, wherein the information of the battery comprises one or more of: the voltage of the battery, the current of the battery, and the temperature of the battery.
11. The apparatus of claim 9, wherein the first processing module further comprises:
the sending submodule is configured to send the information of the battery acquired by the acquiring submodule to an electricity utilization system of the terminal equipment.
12. The apparatus of claim 7, further comprising:
the sleep module is configured to enable the micro control unit to enter a sleep state after the power utilization system is shut down.
13. A terminal device power management apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the access of a power adapter is detected, a first instruction is sent to a battery charging circuit of the terminal equipment, and the charging parameters of the terminal equipment are managed; and
when a shutdown instruction is received, a second instruction is sent to a power management circuit of the terminal device, so that the power management circuit stops supplying power to an electric system of the terminal device, at the moment, the battery keeps supplying power to the power management circuit, and the power management circuit keeps supplying power to the micro control unit.
CN201610659845.0A 2016-08-11 2016-08-11 Terminal equipment power supply management method and device Active CN107732992B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610659845.0A CN107732992B (en) 2016-08-11 2016-08-11 Terminal equipment power supply management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610659845.0A CN107732992B (en) 2016-08-11 2016-08-11 Terminal equipment power supply management method and device

Publications (2)

Publication Number Publication Date
CN107732992A CN107732992A (en) 2018-02-23
CN107732992B true CN107732992B (en) 2021-05-14

Family

ID=61200610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610659845.0A Active CN107732992B (en) 2016-08-11 2016-08-11 Terminal equipment power supply management method and device

Country Status (1)

Country Link
CN (1) CN107732992B (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3363081B2 (en) * 1997-11-20 2003-01-07 株式会社デンソー Electric vehicle control device
KR20160064734A (en) * 2014-11-28 2016-06-08 삼성전자주식회사 Method for charging control and an electronic device thereof

Also Published As

Publication number Publication date
CN107732992A (en) 2018-02-23

Similar Documents

Publication Publication Date Title
CN108365657B (en) Charging current control method, device and storage medium
US10205332B2 (en) Efficient two way charging method using master and slave devices
CN106774774B (en) Method and device for displaying electric quantity of terminal battery
CN110783652B (en) Battery charging method, battery charging device and storage medium
CN108110854B (en) Charging method, charging device and computer-readable storage medium
CN104023129A (en) Power saving method and device thereof
EP3832841A1 (en) Charging circuit, electronic device, charging control method and device
CN104320542A (en) Method and device for sending reminding message
CN108091808B (en) Battery, equipment, charging control method and device
JP2017506874A (en) Charge control method and apparatus for terminal device, program, and recording medium
CN107331910B (en) Charging method and device
CN103927200A (en) Electronic equipment awakening method and related device
CN106325454B (en) Power supply control device and method and electronic equipment
CN110941321A (en) Power supply method and device for electronic equipment and intelligent equipment
CN107733021B (en) Control method and device of electronic equipment
CN110879658A (en) Method and device for adjusting display brightness, electronic equipment and storage medium
CN104917238A (en) Intelligent equipment, and method and device for controlling power supply of equipment
CN107528098B (en) Charging method and device
CN107732992B (en) Terminal equipment power supply management method and device
CN109450032B (en) Wireless charging processing method, device and equipment
CN111509789B (en) Charging method and device
CN108539823B (en) Charging method and device
CN113555917A (en) Electronic device, charging method thereof and readable storage medium
CN204886223U (en) Device and smart machine of controlgear power supply
EP4170856A1 (en) Charging method and device, terminal device and computer readable 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