CN107528098B - Charging method and device - Google Patents

Charging method and device Download PDF

Info

Publication number
CN107528098B
CN107528098B CN201610460389.7A CN201610460389A CN107528098B CN 107528098 B CN107528098 B CN 107528098B CN 201610460389 A CN201610460389 A CN 201610460389A CN 107528098 B CN107528098 B CN 107528098B
Authority
CN
China
Prior art keywords
charging
power
battery
charging power
determining
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
CN201610460389.7A
Other languages
Chinese (zh)
Other versions
CN107528098A (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 Xiaomi Mobile Software Co Ltd
Original Assignee
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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610460389.7A priority Critical patent/CN107528098B/en
Publication of CN107528098A publication Critical patent/CN107528098A/en
Application granted granted Critical
Publication of CN107528098B publication Critical patent/CN107528098B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • 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
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The disclosure relates to a charging method and a charging device. The method comprises the following steps: detecting whether a display screen of an electronic device is lighted when a battery of the electronic device is charged with a first charging power; determining a duration of the display screen from a time point of being lit when the display screen is lit; when the duration exceeds a first preset threshold, adjusting the charging power of the battery from the first charging power to a second charging power, wherein the second charging power is lower than the first charging power. The technical scheme can limit the input energy of the electronic equipment in a bright screen state, and limit the heating process of the electronic equipment by controlling the input energy of the electronic equipment in charging, so that the performance reduction caused by the fact that a system of the electronic equipment triggers a temperature control mechanism is avoided.

Description

Charging method and device
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a charging method and apparatus.
Background
Generally, the fact that the screen of the mobile phone is lighted means that the user is using the mobile phone, for example, the user may play games, watch videos, etc. with the mobile phone, if the mobile phone is being charged at this time, the temperature of the mobile phone will rise quickly, and the temperature will make the user feel hot obviously. What is worse, when the temperature of the mobile phone rises, the temperature control mechanism inside the system of the mobile phone acts, the operation efficiency of the system is greatly reduced, and the normal use of the user is influenced.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a charging method and apparatus for limiting a heating process of an electronic device by controlling an input energy of the electronic device during charging.
According to a first aspect of the embodiments of the present disclosure, there is provided a charging method, including:
detecting whether a display screen of an electronic device is lighted when a battery of the electronic device is charged with a first charging power;
determining a duration of the display screen from a time point of being lit when the display screen is lit;
when the duration exceeds a first preset threshold, adjusting the charging power of the battery from the first charging power to a second charging power, wherein the second charging power is lower than the first charging power.
In an embodiment, the method may further comprise:
determining, by a battery management chip of the electronic device, an output current and an output voltage of the battery when charging;
determining the consumed power of the battery during charging according to the output current and the output voltage;
and determining a second charging power according to the current residual capacity and the consumed power of the battery.
In an embodiment, the determining the consumed power of the battery while charging according to the output current and the output voltage may include:
calculating an average value of output current and an average value of output voltage of the battery during charging in unit time;
obtaining the consumed power of the battery in unit time through the average value of the output current in unit time and the average value of the output voltage;
and accumulating the consumed power of the battery in unit time from the time point of starting charging to each time point in the charging process to obtain the consumed power of the battery during charging.
In an embodiment, the determining the second charging power according to the current remaining capacity of the battery and the consumed power may include:
determining an interval range corresponding to the current residual capacity of the battery;
and determining second charging power according to the preset coefficient corresponding to the interval range and the consumed power.
In an embodiment, the method may further comprise:
monitoring whether a screen-off event occurs to the display screen within a preset time length or not in the process that the display screen is in a screen-on state;
and when the screen-off event occurs to the display screen within the preset time, controlling the battery to be charged with the first charging power.
According to a second aspect of the embodiments of the present disclosure, there is provided a charging device including:
the device comprises a lighting detection module, a display module and a control module, wherein the lighting detection module is used for detecting whether a display screen of the electronic equipment is lighted or not when a battery of the electronic equipment is charged with first charging power;
a duration determination module, configured to determine, when the illumination detection module detects that the display screen is illuminated, a duration of the display screen from an illuminated time point;
and the power adjusting module is used for adjusting the charging power of the battery from the first charging power to a second charging power when the duration determining module determines that the duration exceeds a first preset threshold, wherein the second charging power is lower than the first charging power.
In an embodiment, the apparatus may further comprise:
the voltage and current determination module is used for determining the output current and the output voltage of the battery during charging through a battery management chip of the electronic equipment;
a power consumption determination module for determining the power consumption of the battery during charging according to the output current and the output voltage determined by the voltage and current determination module;
and the charging power determining module is used for determining second charging power according to the current residual capacity of the battery and the consumed power determined by the consumed power determining module.
In an embodiment, the consumed power determining module may include:
the average value calculating submodule is used for calculating the average value of the output current and the average value of the output voltage of the battery in unit time during charging;
the power calculation submodule is used for obtaining the consumed power of the battery in unit time through the average value of the output current and the average value of the output voltage in unit time which are calculated by the average value calculation submodule;
and the accumulation submodule is used for accumulating the consumed power of the battery in unit time from the time point of charging start to each time point in the charging process, which is calculated by the power calculation submodule, so as to obtain the consumed power of the battery during charging.
In an embodiment, the charging power determination module may include:
the interval determining submodule is used for determining an interval range corresponding to the current residual electric quantity of the battery;
and the power determining submodule is used for determining second charging power according to the preset coefficient corresponding to the interval range determined by the interval determining submodule and the consumed power.
In an embodiment, the apparatus may further comprise:
the screen turn-off event monitoring module is used for monitoring whether a screen turn-off event occurs to the display screen within a preset time length or not in the process that the display screen is detected to be in a screen turn-on state by the lighting detection module;
and the charging control module is used for controlling the battery to be charged with the first charging power when the screen-off event monitoring module monitors that the screen-off event occurs in the preset time period.
According to a third aspect of the embodiments of the present disclosure, there is provided a charging device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting whether a display screen of the electronic equipment is lightened or not when the electronic equipment is in a charging state;
determining a duration of the display screen from a time point of being lit when the display screen is lit;
when the duration exceeds a first preset threshold, adjusting a battery of the electronic equipment from a first input power to a second input power when the battery is currently charged, wherein the second input power is lower than the first input power.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
when the display screen of the electronic equipment is lightened and the duration of the display screen from the lightened time point exceeds a first preset threshold value, the charging power of the battery is adjusted from the first charging power to the second charging power, and the second charging power is lower than the first charging power, so that the input energy of the electronic equipment in the lightening state is limited, the heating process of the electronic equipment is limited by controlling the input energy of the electronic equipment in the charging process, the performance reduction caused by the fact that a system of the electronic equipment triggers a temperature control mechanism is avoided, and the electronic equipment can be normally used by a user in the charging state.
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 invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flow chart illustrating a charging method according to an exemplary embodiment.
Fig. 2A is a flow chart illustrating a charging method according to an example embodiment.
FIG. 2B is a flowchart illustrating step 203 according to an example embodiment.
Fig. 3 is a flowchart illustrating a charging method according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating a charging device according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating another charging device in accordance with an exemplary embodiment.
Fig. 6 is a block diagram illustrating a suitable charging device according to an exemplary 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 embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
FIG. 1 is a flow chart illustrating a charging method according to an exemplary embodiment; the charging method can be applied to electronic devices (e.g., smart phones, tablet computers), as shown in fig. 1, the charging method includes the following steps 101-103:
in step 101, when a battery of an electronic device is charged with a first charging power, whether a display screen of the electronic device is lighted is detected, and when the display screen is lighted, step 102 is executed, and when the display screen is not lighted, the battery of the electronic device is continuously charged with the first charging power.
In an embodiment, the first charging power may be a charging power when the charger charges a battery of the electronic device in a normal state. In an embodiment, when the display screen of the electronic device is lighted, a lighting event may be generated by a system of the electronic device, and the system of the electronic device notifies the battery management chip of the electronic device of the lighting event, so that the battery management chip may know that the display screen is lighted.
In step 102, when the display screen is illuminated, a duration of the display screen from a point in time of the illuminated display screen is determined.
In one embodiment, the duration of time from the point in time that the display is illuminated may be recorded by means of a timer.
In step 103, when the duration exceeds a first preset threshold, the charging power of the battery is adjusted from a first charging power to a second charging power, and the second charging power is lower than the first charging power.
In an embodiment, the first preset threshold may be determined according to a charging power of the electronic device during normal charging, for example, the charging power of the electronic device is large, the first preset threshold may be set smaller, the charging power of the electronic device is small, and the first preset threshold may be set larger. In an embodiment, the setting manner of the second charging power may be determined according to the remaining capacity of the battery and the power consumption of the battery during charging.
In this embodiment, when the display screen of the electronic device is lit and the duration of the display screen from the lit time point exceeds the first preset threshold, the charging power of the battery is adjusted from the first charging power to the second charging power, and since the second charging power is lower than the first charging power, the input energy of the electronic device in the screen-lit state can be limited, and the limitation of the heating process of the electronic device by controlling the input energy of the electronic device in the charging process is realized, so that the performance degradation caused by the triggering of a temperature control mechanism by a system of the electronic device is avoided, and it is ensured that a user can normally use the electronic device in the charging state.
In an embodiment, the method may further comprise:
determining output current and output voltage of a battery during charging through a battery management chip of the electronic equipment;
determining the consumed power of the battery during charging according to the output current and the output voltage;
and determining the second charging power according to the current residual capacity and the consumed power of the battery.
In one embodiment, determining the consumed power of the battery while charging from the output current and the output voltage may include:
calculating the average value of output current and the average value of output voltage of the battery in unit time during charging;
obtaining the consumed power of the battery in unit time through the average value of the output current and the average value of the output voltage in unit time;
and accumulating the consumed power of the battery in unit time from the time point of the charging start to each time point in the charging process to obtain the consumed power of the battery during charging.
In one embodiment, determining the second charging power according to the current remaining capacity and the consumed power of the battery may include:
determining an interval range corresponding to the current residual electric quantity of the battery;
and determining second charging power according to the preset coefficient and the consumed power corresponding to the interval range.
In an embodiment, the method may further comprise:
monitoring whether a screen-off event occurs to the display screen within a preset time length or not in the process that the display screen is in a bright screen state;
when the screen-off event occurs in the preset time length of the display screen, the battery is controlled to be charged with the first charging power.
Please refer to the following embodiments for details of how to charge the electronic device.
Therefore, the method provided by the embodiment of the disclosure can limit the input energy of the electronic device in the bright screen state, and limit the heating process of the electronic device by controlling the input energy of the electronic device in the charging state, thereby avoiding performance degradation caused by triggering a temperature control mechanism by a system of the electronic device, and ensuring that a user can normally use the electronic device in the charging state.
The technical solutions provided by the embodiments of the present disclosure are described below with specific embodiments.
FIG. 2A is a flowchart of a charging method according to an exemplary embodiment and FIG. 2B is a flowchart of step 203 according to an exemplary embodiment; in this embodiment, by using the above method provided by the embodiment of the present disclosure, an example of how to determine the second charging power is described, as shown in fig. 2A, the method includes the following steps:
in step 201, the output current and output voltage of the battery while charging are determined by the battery management chip of the electronic device.
In step 202, the power consumed by the battery while charging is determined from the output current and the output voltage.
In one embodiment, because the electronic device is uncertain when running the application program, the energy consumption of the battery of the electronic device is also uncertain, and the battery management chip can calculate the average value of the output current and the average value of the output voltage of the battery during charging in a unit time (for example, in seconds), obtain the consumed power of the battery during the unit time through the average value of the output current and the average value of the output voltage in the unit time, and further accumulate the consumed power of the battery during the unit time from the time point of charging start (the time point corresponds to one unit time, for example, 1 second) to each time point during charging, obtain the consumed power of the battery during charging, thereby ensuring the accuracy of the consumed power.
In step 203, a second charging power is determined according to the current remaining capacity and the consumed power of the battery.
In an embodiment, the remaining power may be divided according to the interval range, if the remaining power is higher, the second charging power may be set to a lower value, otherwise, if the remaining power is lower, the second charging power may be set to a higher value, for example, the remaining power is 90%, the electronic device is still charged by the charger, since 90% of the power may maintain the electronic device being used by the user for a longer time, for example, the user may use the electronic device for 5 hours, at this time, in order to reduce the heat consumption of the electronic device due to the charging power, the adjustment of the second charging power to a lower value, for example, the adjustment of the second charging power to 30% of the first charging power may be reduced; for another example, the remaining power of the electronic device is 15%, the electronic device is still charged by the charger, since 15% of the power is not enough to maintain the electronic device to be used by the user for a long time, for example, the user may use the electronic device for 30 minutes, at this time, in order to reduce the heat consumption of the electronic device due to the charging power and ensure that the user can use the electronic device normally, the second charging power may be adjusted to a larger value, for example, 80% of the first charging power.
As shown in fig. 2B, for an example of how to determine the second charging power according to the current remaining capacity and the consumed power of the battery, step 203 may include:
in step 211, a range corresponding to the current remaining capacity of the battery is determined.
In one embodiment, the range may be determined according to a test that the electronic device is charging and running the application, for example, the range is divided into [0, 10% ], [ 10%, 20% ], [ 20%, 40% ], [ 40%, 60% ], [ 60%, 80% ], [ 80%, 100% ], and if the current remaining capacity of the battery is 85%, the range corresponding to 85% is [ 80%, 100% ].
In step 212, a second charging power is determined according to the preset coefficient and the consumed power corresponding to the interval range.
In an embodiment, for example, when the range corresponding to the remaining capacity is [ 60%, 80% ] or [ 80%, 100% ], if the preset coefficient corresponding to the range is [ 20%, 40% ] or [ 40%, 60% ], if the range corresponding to the remaining capacity is [ 20%, 40% ] or [ 40%, 60% ], the second charging power may be set to 0.8 times the first charging power, if the preset coefficient corresponding to the range is 0.8, and if the range corresponding to the remaining capacity is [0, 10% ] or [ 10%, 20% ], if the preset coefficient corresponding to the range is 1.2, the second charging power may be set to 1.2 times the first charging power. It will be understood by those skilled in the art that the interval range and the preset coefficient illustrated in the present embodiment are only an exemplary illustration, and should not form a limitation to the present disclosure.
In this embodiment, the second charging power is determined according to the current remaining power and the consumed power of the battery, when the remaining power of the battery is higher, the battery can be charged with lower charging power, and when the remaining power of the battery is lower, the battery can be charged with higher charging power, so that the heat consumption of the electronic device due to the charging power can be reduced, and the user can be ensured to normally use the electronic device; in addition, the second charging power is determined according to the preset coefficient and the consumed power corresponding to the interval range, differential charging can be carried out according to the interval range where the residual electric quantity is located when the battery is charged, and flexibility of controlling the charging power is improved.
FIG. 3 is a flow chart illustrating a charging method according to an exemplary embodiment two; in this embodiment, an example of how to adjust the charging power in the process that the display screen is in the bright screen state is described by using the above method provided in the embodiment of the present disclosure, as shown in fig. 3, the method includes the following steps:
in step 301, when the battery of the electronic device is charged with the first charging power, it is detected whether the display screen of the electronic device is lit, and when the display screen is lit, step 302 is executed, and when the display screen is not lit, the battery of the electronic device is continuously charged with the first charging power.
The description of step 301 may refer to the description of the embodiment shown in fig. 1, and will not be described in detail here.
In step 302, when the display screen is turned on, in the process that the display screen is in the on-screen state, it is monitored whether a screen-off event occurs in the preset time duration on the display screen, when the screen-off event occurs in the preset time duration on the display screen, step 303 is executed, and when the screen-off event does not occur in the preset time duration on the display screen, the battery is charged through the method flow of the embodiment shown in fig. 2A, which is not described in detail in this embodiment.
In an embodiment, when the display screen of the electronic device is turned off, a screen turn-off event may be generated by a system of the electronic device, and the system of the electronic device notifies the battery management chip of the electronic device of the screen turn-off event, so that the battery management chip may know that the display screen is turned off.
In step 303, when a screen-off event occurs within a preset time period, the battery is controlled to be charged with a first charging power.
In this embodiment, when the screen-off event occurs within the preset duration, the battery is controlled to be charged with the first charging power, so that it can be ensured that the charger can charge the battery of the electronic device with the maximum charging power after the user does not use the electronic device, and the limitation of the charging power of the battery by distinguishing the screen-on state and the screen-off state of the display screen is realized, which can limit the heating of the electronic device, and can also avoid the performance degradation caused by the fact that a system of the electronic device triggers a temperature control mechanism when the temperature is higher.
Fig. 4 is a block diagram illustrating a charging device according to an exemplary embodiment, the charging device including, as shown in fig. 4:
a lighting detection module 41, configured to detect whether a display screen of the electronic device is lit when a battery of the electronic device is charged with the first charging power;
a duration determination module 42, configured to determine, when the lighting detection module 41 detects that the display screen is lit, a duration of the display screen from a time point at which the display screen is lit;
and a power adjusting module 43, configured to adjust the charging power of the battery from a first charging power to a second charging power when the duration determining module 42 determines that the duration exceeds the first preset threshold, where the second charging power is lower than the first charging power.
Fig. 5 is a block diagram of another charging device according to an exemplary embodiment, as shown in fig. 5, based on the embodiment shown in fig. 4, in an embodiment, the device may further include:
a voltage current determination module 44 for determining an output current and an output voltage of the battery when the battery is charged by a battery management chip of the electronic device;
a power consumption determination module 45 for determining the power consumption of the battery during charging according to the output current and the output voltage determined by the voltage current determination module 44;
and a charging power determining module 46, configured to determine a second charging power according to the current remaining capacity of the battery and the consumed power determined by the consumed power determining module 45, so that the power adjusting module 43 adjusts the charging power of the battery from the first charging power to the second charging power determined by the charging power determining module 46.
In an embodiment, the consumed power determining module 45 may include:
an average value calculation submodule 451 for calculating an average value of output current and an average value of output voltage of the battery at the time of charging per unit time;
a power calculation submodule 452 configured to obtain power consumption of the battery per unit time from the average value of the output current and the average value of the output voltage per unit time calculated by the average value calculation submodule 451;
and an accumulation submodule 453, configured to accumulate the power consumption of the battery calculated by the power calculation submodule 452 per unit time from the time point when charging starts to each time point in the charging process, so as to obtain the power consumption of the battery during charging.
In an embodiment, the charging power determination module 46 may include:
the section determining submodule 461 is used for determining a section range corresponding to the current remaining electric quantity of the battery;
the power determining submodule 462 is configured to determine the second charging power according to the preset coefficient and the consumed power corresponding to the interval range determined by the interval determining submodule 461.
In an embodiment, the apparatus may further comprise:
the screen turn-off event monitoring module 47 is configured to monitor whether a screen turn-off event occurs on the display screen within a preset time period in the process that the lighting detection module 41 detects that the display screen is in the screen-on state;
and the charging control module 48 is configured to control to charge the battery with the first charging power when the screen-off event monitoring module 47 monitors that the screen-off event occurs within the preset time period.
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. 6 is a block diagram illustrating a suitable charging device according to an exemplary embodiment. For example, the apparatus 600 may be an electronic device such as 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. 6, apparatus 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operation at the device 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 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 component 606 provides power to the various components of device 600. Power components 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 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 608 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 600 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 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 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 component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the apparatus 600, the sensor component 614 may also detect a change in position of the apparatus 600 or a component of the apparatus 600, the presence or absence of user contact with the apparatus 600, orientation or acceleration/deceleration of the apparatus 600, and a change in temperature of the apparatus 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 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 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 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 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 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 600 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-controllers, microprocessors 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 604 comprising instructions, executable by the processor 620 of the apparatus 600 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.
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 (11)

1. A method of charging, the method comprising:
detecting whether a display screen of an electronic device is lighted when a battery of the electronic device is charged with a first charging power;
determining a duration of the display screen from a time point of being lit when the display screen is lit;
when the duration exceeds a first preset threshold, adjusting the charging power of the battery from the first charging power to a second charging power, wherein the second charging power is lower than the first charging power, the second charging power is determined according to a preset coefficient and the consumed power of the battery during charging, and the preset coefficient is a coefficient corresponding to an interval range corresponding to the current residual electric quantity of the battery.
2. The method of claim 1, further comprising:
determining, by a battery management chip of the electronic device, an output current and an output voltage of the battery when charging;
determining the consumed power of the battery when charging according to the output current and the output voltage;
and determining the second charging power according to the interval range corresponding to the current residual capacity of the battery and the consumed power.
3. The method of claim 2, wherein said determining said power consumed by said battery while charging from said output current and said output voltage comprises:
calculating an average value of output current and an average value of output voltage of the battery during charging in unit time;
obtaining the consumed power of the battery in unit time through the average value of the output current in unit time and the average value of the output voltage;
and accumulating the consumed power of the battery in unit time from the time point of starting charging to each time point in the charging process to obtain the consumed power of the battery during charging.
4. The method according to claim 2, wherein the determining the second charging power according to the interval range corresponding to the current remaining capacity of the battery and the consumed power comprises:
determining the interval range corresponding to the current residual capacity of the battery;
and determining the second charging power according to the preset coefficient corresponding to the interval range and the consumed power.
5. The method of claim 1, further comprising:
monitoring whether a screen-off event occurs to the display screen within a preset time length or not in the process that the display screen is in a screen-on state;
and when the screen-off event occurs to the display screen within the preset time, controlling the battery to be charged with the first charging power.
6. A charging device, the device comprising:
the device comprises a lighting detection module, a display module and a control module, wherein the lighting detection module is used for detecting whether a display screen of the electronic equipment is lighted or not when a battery of the electronic equipment is charged with first charging power;
a duration determination module, configured to determine, when the illumination detection module detects that the display screen is illuminated, a duration of the display screen from an illuminated time point;
and the power adjusting module is used for adjusting the charging power of the battery from the first charging power to a second charging power when the duration time is determined to exceed a first preset threshold value by the duration time determining module, wherein the second charging power is lower than the first charging power, the second charging power is determined according to a preset coefficient and the consumed power of the battery during charging, and the preset coefficient is a coefficient corresponding to an interval range corresponding to the current residual electric quantity of the battery.
7. The apparatus of claim 6, further comprising:
the voltage and current determination module is used for determining the output current and the output voltage of the battery during charging through a battery management chip of the electronic equipment;
a power consumption determination module for determining the power consumption of the battery when charging according to the output current and the output voltage determined by the voltage current determination module;
and the charging power determining module is used for determining the second charging power according to the interval range corresponding to the current residual capacity of the battery and the consumed power determined by the consumed power determining module.
8. The apparatus of claim 7, wherein the power consumption determination module comprises:
the average value calculating submodule is used for calculating the average value of the output current and the average value of the output voltage of the battery in unit time during charging;
the power calculation submodule is used for obtaining the consumed power of the battery in unit time through the average value of the output current and the average value of the output voltage in unit time which are calculated by the average value calculation submodule;
and the accumulation submodule is used for accumulating the consumed power of the battery in unit time from the time point of charging start to each time point in the charging process, which is calculated by the power calculation submodule, so as to obtain the consumed power of the battery during charging.
9. The apparatus of claim 7, wherein the charging power determination module comprises:
the interval determining submodule is used for determining the interval range corresponding to the current residual electric quantity of the battery;
and the power determining submodule is used for determining the second charging power according to the preset coefficient corresponding to the interval range determined by the interval determining submodule and the consumed power.
10. The apparatus of claim 6, further comprising:
the screen turn-off event monitoring module is used for monitoring whether a screen turn-off event occurs to the display screen within a preset time length or not in the process that the display screen is detected to be in a screen turn-on state by the lighting detection module;
and the charging control module is used for controlling the battery to be charged with the first charging power when the screen-off event monitoring module monitors that the screen-off event occurs in the preset time period.
11. A charging device, the device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting whether a display screen of the electronic equipment is lightened or not when the electronic equipment is in a charging state;
determining a duration of the display screen from a time point of being lit when the display screen is lit;
when the duration exceeds a first preset threshold, adjusting a battery of the electronic device from a first charging power to a second charging power during current charging, wherein the second charging power is lower than the first charging power, the second charging power is determined according to a preset coefficient and a consumed power of the battery during charging, and the preset coefficient is a coefficient corresponding to an interval range corresponding to the current residual electric quantity of the battery.
CN201610460389.7A 2016-06-22 2016-06-22 Charging method and device Active CN107528098B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610460389.7A CN107528098B (en) 2016-06-22 2016-06-22 Charging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610460389.7A CN107528098B (en) 2016-06-22 2016-06-22 Charging method and device

Publications (2)

Publication Number Publication Date
CN107528098A CN107528098A (en) 2017-12-29
CN107528098B true CN107528098B (en) 2020-02-07

Family

ID=60735117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610460389.7A Active CN107528098B (en) 2016-06-22 2016-06-22 Charging method and device

Country Status (1)

Country Link
CN (1) CN107528098B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113346592B (en) * 2021-06-17 2024-04-16 宁波吉利汽车研究开发有限公司 Battery charging control method and device and vehicle
CN117317421B (en) * 2023-11-28 2024-03-19 深圳市深创高科电子有限公司 Intelligent optimization method for battery charging scheme

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801199A (en) * 2012-09-03 2012-11-28 东莞宇龙通信科技有限公司 Terminal and terminal charging method
CN104539009A (en) * 2014-12-16 2015-04-22 小米科技有限责任公司 Charging management method and device
CN105224062A (en) * 2015-09-28 2016-01-06 深圳市金立通信设备有限公司 A kind of terminal control method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801199A (en) * 2012-09-03 2012-11-28 东莞宇龙通信科技有限公司 Terminal and terminal charging method
CN104539009A (en) * 2014-12-16 2015-04-22 小米科技有限责任公司 Charging management method and device
CN105224062A (en) * 2015-09-28 2016-01-06 深圳市金立通信设备有限公司 A kind of terminal control method and terminal

Also Published As

Publication number Publication date
CN107528098A (en) 2017-12-29

Similar Documents

Publication Publication Date Title
CN110796988B (en) Backlight adjusting method and device
CN107134823B (en) Charging prompting method and device
US10790690B2 (en) Method and apparatus for controlling charging of terminal device
CN106843706B (en) Shutdown control method and device and terminal equipment
CN105720644A (en) Charging control method and device and terminal device
CN112909364B (en) Charging method and device, terminal equipment and storage medium
CN112701741B (en) Charging control method, device and storage medium
CN107331910B (en) Charging method and device
CN108538258B (en) Method and device for adjusting backlight current and display equipment
CN106557150A (en) Terminal control method and device
EP4109705A1 (en) Charging control method and apparatus, electronic device and storage medium
CN110941321A (en) Power supply method and device for electronic equipment and intelligent equipment
CN107528098B (en) Charging method and device
CN112821508A (en) Charging method, charging device and storage medium
CN108429312B (en) Charging control method and device
CN112748817A (en) Information control method and device, terminal and storage medium
CN110879658A (en) Method and device for adjusting display brightness, electronic equipment and storage medium
CN111509789B (en) Charging method and device
CN108539823B (en) Charging method and device
CN112448052B (en) Battery charging control method and device
CN105161780B (en) terminal device charging method and terminal device
CN115940310A (en) Charging method, charging device, and storage medium
CN110286735B (en) Processing method, device and medium
CN115173495A (en) Charging control method, charging control device and storage medium
CN114487840A (en) Battery control method, device and 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