CN111181218A - Charging prompting method, electronic device and medium - Google Patents

Charging prompting method, electronic device and medium Download PDF

Info

Publication number
CN111181218A
CN111181218A CN202010074816.4A CN202010074816A CN111181218A CN 111181218 A CN111181218 A CN 111181218A CN 202010074816 A CN202010074816 A CN 202010074816A CN 111181218 A CN111181218 A CN 111181218A
Authority
CN
China
Prior art keywords
electronic equipment
charging
preset
electronic device
duration
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.)
Pending
Application number
CN202010074816.4A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010074816.4A priority Critical patent/CN111181218A/en
Publication of CN111181218A publication Critical patent/CN111181218A/en
Pending legal-status Critical Current

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
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • G01C21/12Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
    • G01C21/16Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/001Measuring interference from external sources to, or emission from, the device under test, e.g. EMC, EMI, EMP or ESD testing
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/3644Constructional arrangements
    • G01R31/3646Constructional arrangements for indicating electrical conditions or variables, e.g. visual or audible indicators
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/385Arrangements for measuring battery or accumulator variables
    • G01R31/387Determining ampere-hour charge capacity or SoC

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Electromagnetism (AREA)
  • Power Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the invention discloses a charging prompting method, electronic equipment and a medium. The method comprises the following steps: under the condition that the electronic equipment is connected with a charging wire and is not in a charging state, detecting whether the static duration of the electronic equipment is greater than a first preset duration threshold or not; and under the condition that the static duration is greater than a first preset duration threshold, outputting first prompt information, wherein the first prompt information is used for indicating charging failure. The embodiment of the invention can solve the problem of low charging reliability.

Description

Charging prompting method, electronic device and medium
Technical Field
The embodiment of the invention relates to the technical field of charging communication, in particular to a charging prompting method, electronic equipment and a medium.
Background
At present, in the process of charging the electronic device, after connecting the charging line to the electronic device, a user considers that charging has already been started, and usually does not check whether the electronic device really enters a charging state.
However, in some cases, the charging cable may be connected but not enter the charging state, and if the user does not check the charging condition in time, the user may find that the electronic device is not charged when the user needs to use the electronic device, so that the user cannot use the electronic device normally, and the charging reliability is low.
Disclosure of Invention
The embodiment of the invention provides a charging prompting method, electronic equipment and a medium, which can solve the problem of low charging reliability.
In a first aspect, an embodiment of the present invention provides a charging prompting method, applied to an electronic device, including:
under the condition that the electronic equipment is connected with a charging wire and is not in a charging state, detecting whether the static duration of the electronic equipment is greater than a first preset duration threshold or not;
and under the condition that the static duration is greater than a first preset duration threshold, outputting first prompt information, wherein the first prompt information is used for indicating charging failure.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
the time length detection module is used for detecting whether the static duration time of the electronic equipment is greater than a first preset time length threshold value or not under the condition that the electronic equipment is connected with a charging wire and the electronic equipment is not in a charging state;
the first output module is used for outputting first prompt information under the condition that the static duration is greater than a first preset duration threshold, wherein the first prompt information is used for indicating charging failure.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the charge reminder method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the charge reminder method according to the first aspect.
In the embodiment of the invention, when the electronic equipment is connected with the charging wire and is not in a charging state, if the electronic equipment does not move within a period of time, the situation that the user wants to charge but fails to charge is considered to exist at present, so that the user is prompted to fail to charge by outputting the first prompt information, the user is prompted to check the reason of the failure to charge and solve the problem in time, the situation that the user cannot normally use the electronic equipment due to the failure to charge is avoided as much as possible, the electronic equipment can have more sufficient electric quantity when the user wants to use the electronic equipment, and the charging reliability is higher.
Drawings
Fig. 1 is a schematic flow chart of a charging prompt method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a vibration according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a push sensor according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a charging prompting method, and referring to fig. 1, fig. 1 shows a schematic flow diagram of the charging prompting method provided in the embodiment of the present invention; the method is applied to the electronic equipment and comprises the following steps:
step 101, detecting whether the static duration of the electronic equipment is greater than a first preset duration threshold or not under the condition that the electronic equipment is connected with a charging wire and is not in a charging state;
since the user may have a situation that the charging wire is pulled out immediately after being connected to the charging wire for a short time, in this situation, the user does not need to be reminded of the charging failure, so in order to avoid the above-mentioned misoperation, in this embodiment, it is necessary to detect whether the time when the electronic device is not moved reaches the first preset time threshold, and only in the case that the electronic device is not moved within a certain time, the electronic device can be considered to be in the situation that the charging is desired but the charging is failed.
In some embodiments, whether the static duration is greater than a first preset duration threshold may be detected by the acceleration sensor, specifically, the duration of the value acquired by the acceleration sensor is 0, and when the value acquired by the acceleration sensor is 0, it indicates that the electronic device does not move at this time.
And 102, outputting first prompt information under the condition that the static duration is greater than a first preset duration threshold, wherein the first prompt information is used for indicating charging failure.
When the charging line is pulled out, successfully charged or the static time length is not greater than the first preset time length threshold value, the electronic equipment is in a normal charging state at the moment, the prompt information output by the user can indicate that the charging is successful, and no processing can be performed.
In the embodiment of the invention, when the electronic equipment is connected with the charging wire and is not in a charging state, if the electronic equipment does not move within a period of time, the situation that the user wants to charge but fails to charge is considered to exist at present, so that the user is prompted to fail to charge by outputting the first prompt information, the user is prompted to check the reason of the failure to charge and solve the problem in time, the situation that the user cannot normally use the electronic equipment due to the failure to charge is avoided as much as possible, the electronic equipment can have more sufficient electric quantity when the user wants to use the electronic equipment, and the charging reliability is higher.
In some embodiments of the present invention, in step 102, the outputting the first prompt information may include any one of:
controlling the electronic equipment to vibrate according to a preset vibration frequency; the frequency and vibration mode of the vibration are not limited in the present invention. As shown in fig. 2, fig. 2 is a schematic diagram of vibration according to an embodiment of the present invention.
Controlling the electronic equipment to output voice prompt information; such as uttering a "charge failure" voice, etc.
Controlling the electronic equipment to output text prompt information; for example, a text indicating "charging failed" is displayed, and the present invention does not limit the specific contents included in the voice prompt message and the text prompt message.
And controlling an indicator lamp on the charger to emit light according to a preset light emitting mode. Through the display of pilot lamp, can make the user in time know the not discernment condition of battery charging outfit. The color of the indicator light may be red, green or other colors, and the indication manner of the indicator light may be flashing or continuously lighting, and the like, which is not limited. In addition, the indicator light may also be provided on the electronic device.
The purpose that the embodiment can play the user and remind through above-mentioned mode to convenience of customers in time knows the current condition of charging failure, convenience when improving the user and using. That is, as long as the purpose of reminding the user is achieved through various first prompt messages of the electronic device, the requirements of the present invention can be met, and in addition, the first prompt messages can be output in other manners, which is not limited by the present invention.
In some embodiments of the present invention, before step 101, the method may further include:
whether the electronic device is connected with the charging wire or not is identified, and whether the electronic device is in a charging state or not is identified.
Through the identification to the state of electronic equipment self and the connection state between electronic equipment and the charging wire, just can confirm whether being in the condition of charging failure at present to guarantee follow-up only connect the charging wire but still remind under the condition of charging failure, improve follow-up judgement whether be in the accuracy when the condition of charging failure. The above identification operation may be performed periodically, or may be performed after a preset condition is satisfied, for example, after a charging wire is inserted into the electronic device. The sequence between the two identification operations is not limited in the present invention, and the two identification operations may be performed in parallel.
In an implementation manner of the present invention, optionally, the identifying whether the electronic device is connected to the charging line may include any one of the following manners:
the first mode is that whether a pressing sensor in a Universal Serial Bus (USB) interface of the electronic device is pressed down or not, wherein the pressing sensor is pressed down to indicate that the electronic device is connected with a charging wire, and the pressing sensor is not pressed down to indicate that the electronic device is not connected with the charging wire. The push sensor here may be connected to a small push switch provided in the USB interface. Fig. 3 shows a pressing sensor, and fig. 3 is a schematic diagram of a pressing sensor according to an embodiment of the present invention.
Set up the pressure sensor in electronic equipment's USB interface in this mode, owing to pass through the USB interface at the charging wire and insert electronic equipment after, under the condition that inserts successfully, press the sensor and can receive the extrusion and pressed, consequently according to this kind of judgement mode accuracy height, and only need judge according to the data of pressing the sensor, judge that the process is simple, can discover the scene that the user wants to charge but the charging failure to in time remind the user.
And in a second mode, whether VBUS is interrupted or not is detected through On-The-Go (OTG) drive of The electronic equipment, wherein The VBUS interruption indicates that The electronic equipment is connected with The charging wire, and The VBUS non-interruption indicates that The electronic equipment is not connected with The charging wire.
Since VBUS should be in a connected state in case of no charging, it is interrupted once the charging wire is inserted. Therefore, the connection relationship between the electronic equipment and the charging wire can be confirmed as accurately as possible according to the VBUS interruption condition. The method does not need to improve the electronic equipment, but directly utilizes the original components of the electronic equipment.
And detecting whether voltage is generated between the positive end and the negative end of the data bus port of the charging wire, wherein the voltage generated between the positive end and the negative end indicates that the electronic equipment is connected with the charging wire, and the voltage not generated between the positive end and the negative end indicates that the electronic equipment is not connected with the charging wire.
After the charging wire is inserted into the electronic device, the pull-up resistor and the pull-down resistor at the data bus port of the electronic device differentially divide the voltage of the D + port and the D-port to generate voltage, and the USB controller detects the state, namely knows that the charging wire is inserted into the electronic device. The USB controller may be disposed in the electronic device or the charger. When the USB controller is arranged on the charger, the electronic equipment can judge by acquiring the information in the charger. The mode judges by directly detecting the port voltage, has simple process and does not need to improve the electronic equipment or the charging wire.
And detecting whether a Universal Serial Bus (USB) port of the electronic equipment is connected with a USB line or not through the ultrasonic sensor or the distance sensor, wherein the USB port is connected with the USB line to indicate that the electronic equipment is connected with a charging line, and the USB port is not connected with the USB line to indicate that the electronic equipment is not connected with the charging line.
Because ultrasonic sensor and distance sensor can carry out object range finding, consequently whether the USB kneck that all can realize detecting electronic equipment according to above two kinds of sensors is connected with the circuit to confirm whether electronic equipment is connected with the charging wire, this kind of mode accuracy is higher.
Various modes given by the example can realize the identification of the connection state between the electronic equipment and the charging wire, so that whether the current electronic equipment is connected with the charging wire or not is accurately judged, and whether a user wants to charge the electronic equipment or not is further determined, and the purpose of improving the charging reliability is realized.
In an implementation manner of the present invention, optionally, the identifying whether the electronic device is in a charging state includes any one of the following manners:
the method comprises the steps of detecting whether a VBUS data line voltage of a USB port is lower than a first preset voltage or not, wherein the VBUS data line voltage is lower than the first preset voltage and indicates that the electronic equipment is not in a charging state, and the VBUS data line voltage is not lower than the first preset voltage and indicates that the electronic equipment is in the charging state.
The first preset voltage can be 0V, since the VBUS data line is a data line for charging, if the voltage on the VBUS data line is 0, it indicates that no charging current passes currently, that is, the VBUS data line is not in a charging state, and thus, through the voltage on the VBUS data line, it can be intuitively determined whether charging is currently performed, so as to accurately determine whether the electronic device is in the charging state.
And detecting whether the charging parameter is smaller than a preset parameter threshold value or not, wherein the fact that the charging parameter is smaller than the preset parameter threshold value indicates that the electronic equipment is not in the charging state, and the fact that the charging parameter is not smaller than the preset parameter threshold value indicates that the electronic equipment is in the charging state.
The charging parameter may be a charging voltage and/or a charging current, i.e. it is detected whether the charging voltage is smaller than a preset voltage threshold and/or the charging current is smaller than a preset current threshold. Since the electronic device cannot be charged in a case where the voltage or current is small, the electronic device is considered not to be in a charged state in such a case. Through the data of direct observation charging current or charging voltage, can directly perceivedly confirm whether be in the charged state at present, accuracy when judging the charged state of electronic equipment according to the charging parameter is high.
In addition, the charging parameters can also be acquired by a voltage and current monitor in the charger, and the subsequent electronic equipment can acquire the charging parameters acquired in the charger through a data line. In the case where the charging parameter is too low, there is a high possibility of a problem of charging compatibility, and the first prompt information may be information of "checking whether there is a problem of charging compatibility".
And detecting whether equipment information returned by the electronic equipment is received or not in the enumeration process through the USB controller, wherein the electronic equipment is not in the charging state when the equipment information is not received, and the electronic equipment is in the charging state when the equipment information is received.
Enumeration refers to: after the charger is connected with the electronic equipment through the USB, equipment information needs to be acquired, the electronic equipment returns the equipment information, the charger allocates an address for the electronic equipment, and then the electronic equipment and the charger can normally communicate. The specific enumeration process is as follows: the control transmission mode of the USB controller bus enumerates the electronic device, that is, the USB controller sends a get _ port _ status command to the electronic device to obtain the device information of the electronic device, if the replied device information is not received, it is considered that an enumeration failure event occurs, normal communication cannot be performed between the charger and the electronic device, at this time, the electronic device is not in a charging state, and if the device information is received, it is considered that enumeration is successful, and the electronic device is in the charging state. In this way, the charging state is confirmed only according to the event occurrence condition without detecting the current, the voltage and the like on the charging line and comparing data, and the process of judging whether the electronic equipment is in the charging state is simplified.
Detecting whether the first time length is smaller than a second preset time length threshold value, wherein the first time length is the time length that the voltages at the positive end and the negative end of the data bus port of the charging line are both smaller than the second preset voltage; the first time length is smaller than a second preset time length threshold value to indicate that the electronic equipment is not in a charging state; the first duration is greater than or equal to a second preset duration threshold value, and the electronic equipment is indicated to be in a charging state.
That is, whether the charging line is being charged after being inserted is detected, and the charging line can be confirmed by that the data line D + and the data line D-are simultaneously at a low level exceeding a second preset duration threshold. Since D + and D-should be at low level simultaneously during normal charging, if D + and D-are at low level simultaneously for a short time, it indicates that the electronic device is not currently in a charging state. The judgment mode judges based on the ideal state of the voltage on the data line in the normal charging process, so that whether the electronic equipment is in the charging state at present is accurately determined.
In other embodiments of the present invention, before outputting the first prompt message, the method may further include:
detecting whether the current electric quantity of the electronic equipment is lower than a preset electric quantity threshold value or not; for example 95%.
Accordingly, step 102 may include:
and outputting first prompt information under the condition that the current electric quantity of the electronic equipment is lower than a preset electric quantity threshold value and the static duration is longer than a first preset duration threshold value.
Because the use of the user is not influenced even if the charging fails in the almost full-charge state of the electronic equipment, the frequency of outputting the first prompt message can be reduced, so that the influence of excessive times of the prompt message on the user is reduced, and the use feeling of the user is improved.
In still other embodiments of the present invention, the method may further comprise,
under the condition that the electricity consumption of the electronic equipment exceeds the preset electricity consumption after the preset time length is determined based on the backlog information and the historical electricity consumption statistical information, outputting second prompt information at the first moment;
the second prompt information is used for prompting a user to charge; the first time comprises; the current electric quantity of the electronic equipment is less than the moment of presetting the electric quantity, or, after the second moment and with the time interval of the second moment less than the moment of presetting the duration, the second moment is for confirming that the electric quantity of the electronic equipment exceeds the moment of presetting the electric quantity after presetting the duration.
The historical electricity consumption statistical information of the user on the electronic equipment can reflect the use habit of the user on the electronic equipment at ordinary times, for example, the user can continuously use the electronic equipment between eight points and ten points, if the electricity consumption is six points at the moment, whether the electricity consumption of the user between eight points and ten points exceeds the possible residual electricity consumption of the user after two hours can be predicted. The mode can predict the peak time of daily use of the electronic equipment by the user in advance, and remind the user to charge or make other preparations in time under the condition that the current electric quantity of the user is possibly insufficient to meet the follow-up peak time, so that the power utilization reliability of the user in using the electronic equipment is improved.
The first moment is the moment when the current electric quantity of the electronic equipment is smaller than the preset electricity consumption, namely, if the fact that the current electric quantity of the electronic equipment is smaller than the preset electricity consumption is detected, the second prompt information can be directly output at present, and a user is prompted to charge in time. The second time refers to a time after the current prediction is completed, for example, if the preset time duration is 2 hours, the second time is: predicting the moment when the electric quantity is less than the preset electric quantity after 2 hours; the first moment is a moment after the second moment and the time interval between the first moment and the second moment is less than the preset time length, that is, after prediction is completed, a user may not need to be prompted at that time, but needs to be reminded within 2 hours from the current moment, so that the condition that reminding is too early is avoided, and the user can be charged at a proper time.
Optionally, the content of the second prompt message may be "please charge in time", or "the mobile phone enters the peak of power consumption after 2 hours, please charge in time", or "please charge in time within 2 hours", and the like, and the specific content of the second prompt message is not limited in the present invention.
Based on the embodiment of the charging prompting method provided by the above embodiment, correspondingly, the embodiment of the invention further provides an electronic device, and as shown in fig. 4, fig. 4 shows a schematic structural diagram of the electronic device provided by the embodiment of the invention. The electronic device includes:
the duration detection module 201 is configured to detect whether a static duration of the electronic device is greater than a first preset duration threshold under the condition that the electronic device is connected with a charging line and the electronic device is not in a charging state;
a first output module 202, configured to output first prompt information when the static duration is greater than a first preset duration threshold, where the first prompt information is used to indicate that charging fails.
In the embodiment of the invention, when the electronic equipment is connected with the charging wire and is not in a charging state, if the electronic equipment does not move within a period of time, the situation that the user wants to charge but fails to charge is considered to exist at present, so that the user is prompted to fail to charge by outputting the first prompt information, the user is prompted to check the reason of the failure to charge and solve the problem in time, the situation that the user cannot normally use the electronic equipment due to the failure to charge is avoided as much as possible, the electronic equipment can have more sufficient electric quantity when the user wants to use the electronic equipment, and the charging reliability is higher.
In some embodiments, the duration detection module 201 may be configured to detect whether the duration of rest is greater than a first preset duration threshold by the acceleration sensor if the electronic device is connected to a charging line and the electronic device is not in a charging state.
In some embodiments of the present invention, the first output module 202 may be configured to perform any one of the following actions if the static duration is greater than a first preset duration threshold:
controlling the electronic equipment to vibrate according to a preset vibration frequency;
controlling the electronic equipment to output voice prompt information;
controlling the electronic equipment to output text prompt information;
and controlling an indicator lamp on the charger to emit light according to a preset light emitting mode.
The purpose that the embodiment can play the user and remind through above-mentioned mode to convenience of customers in time knows the current condition of charging failure, convenience when improving the user and using.
In some embodiments of the invention, the electronic device may further comprise:
the first identification module is used for identifying whether the electronic equipment is connected with a charging wire or not;
and the second identification module is used for identifying whether the electronic equipment is in a charging state.
Through the identification to the state of electronic equipment self and the connection state between electronic equipment and the charging wire, just can confirm whether being in the condition of charging failure at present to guarantee follow-up only connect the charging wire but still remind under the condition of charging failure, improve follow-up judgement whether be in the accuracy when the condition of charging failure. The above identification operation may be performed periodically, or may be performed after a preset condition is satisfied, for example, after a charging wire is inserted into the electronic device.
In an implementation manner of the present invention, the first identification module may be configured to perform any one of the following actions:
whether a pressing sensor in a Universal Serial Bus (USB) interface of the electronic equipment is pressed down or not is judged, wherein the pressing sensor is pressed down to indicate that the electronic equipment is connected with a charging wire, and the pressing sensor is not pressed down to indicate that the electronic equipment is not connected with the charging wire;
detecting whether VBUS is interrupted or not through OTG drive of the electronic equipment, wherein VBUS interruption indicates that the electronic equipment is connected with a charging wire, and VBUS non-interruption indicates that the electronic equipment is not connected with the charging wire;
detecting whether voltage is generated between positive and negative ends of a data bus port of a charging wire, wherein the voltage generated between the positive and negative ends indicates that the electronic equipment is connected with the charging wire, and the voltage not generated between the positive and negative ends indicates that the electronic equipment is not connected with the charging wire;
whether a USB line is connected to a USB port of the electronic device is detected through the ultrasonic sensor or the distance sensor, wherein the USB port is connected with a USB line indicating the electronic device to be connected with a charging line, and the USB port is not connected with a USB line indicating the electronic device to be not connected with the charging line.
Various modes given by the example can realize the identification of the connection state between the electronic equipment and the charging wire, so that whether the current electronic equipment is connected with the charging wire or not is accurately judged, and whether a user wants to charge the electronic equipment or not is further determined, and the purpose of improving the charging reliability is realized.
In another implementation manner of the present invention, the second identification module may be configured to perform any one of the following actions:
detecting whether a VBUS data line voltage of the USB port is lower than a first preset voltage or not, wherein the VBUS data line voltage is lower than the first preset voltage and indicates that the electronic equipment is not in a charging state, and the VBUS data line voltage is not lower than the first preset voltage and indicates that the electronic equipment is in the charging state;
detecting whether the charging parameter is smaller than a preset parameter threshold value or not, wherein the fact that the charging parameter is smaller than the preset parameter threshold value indicates that the electronic equipment is not in a charging state, and the fact that the charging parameter is not smaller than the preset parameter threshold value indicates that the electronic equipment is in the charging state;
detecting whether equipment information returned by the electronic equipment is received or not in the enumeration process through a USB controller, wherein the electronic equipment is not in a charging state when the equipment information is not received, and the electronic equipment is in the charging state when the equipment information is received;
detecting whether the first time length is less than a second preset time length threshold value or not, wherein the first time length is the time length that the voltages at the positive end and the negative end of the data bus port of the charging line are both less than a second preset voltage; the first time length is smaller than a second preset time length threshold value to indicate that the electronic equipment is not in a charging state; the first duration is greater than or equal to a second preset duration threshold value, and the electronic equipment is indicated to be in a charging state.
In other embodiments of the present invention, in a case where the electronic device is connected to the charging line and the electronic device is not in a charging state, the method may further include:
the electric quantity detection module is used for detecting whether the current electric quantity of the electronic equipment is lower than a preset electric quantity threshold value or not;
correspondingly, the first output module 202 is specifically configured to output the first prompt message when the current electric quantity of the electronic device is lower than the preset electric quantity threshold and the static duration is greater than the first preset duration threshold.
Because the use of the user cannot be influenced even if the charging fails in the almost full-charge state of the electronic equipment, the frequency of outputting the first prompt message can be reduced, so that the influence of the prompt message on the user is reduced, and the convenience of the user is improved.
In still other embodiments of the present invention, the electronic device may further comprise,
the second output module is used for outputting second prompt information at the first moment under the condition that the electricity consumption of the electronic equipment exceeds the preset electricity consumption after the preset duration is determined based on the backlog information and the historical electricity consumption statistical information;
the second prompt information is used for prompting a user to charge; the first time comprises; the current electric quantity of the electronic equipment is less than the moment of presetting the electric quantity, or, after the second moment and with the time interval of the second moment less than the moment of presetting the duration, the second moment is for confirming that the electric quantity of the electronic equipment exceeds the moment of presetting the electric quantity after presetting the duration.
The historical electricity consumption statistical information of the user on the electronic equipment can reflect the use habit of the user on the electronic equipment at ordinary times, for example, the user can continuously use the electronic equipment between eight points and ten points, if the electricity consumption is six points at the moment, whether the electricity consumption of the user between eight points and ten points exceeds the possible residual electricity consumption of the user after two hours can be predicted. The mode can predict the peak time of daily use of the electronic equipment by the user in advance, and remind the user to charge or make other preparations in time under the condition that the current electric quantity of the user is possibly insufficient to meet the follow-up peak time, so that the power utilization reliability of the user in using the electronic equipment is improved.
The first moment is a moment when the current electric quantity of the electronic equipment is smaller than the preset electricity consumption, that is, if the current electric quantity of the electronic equipment is detected to be smaller than the preset electricity consumption, the second prompt information can be directly output at present to prompt a user to charge in time. The second time refers to a time after the current prediction is completed, for example, if the preset time duration is 2 hours, the second time is: predicting the moment when the electric quantity is less than the preset electric quantity after 2 hours; the first moment is a moment after the second moment and the time interval between the first moment and the second moment is less than the preset time length, that is, after prediction is completed, a user may not need to be prompted at that time, but needs to be reminded within 2 hours from the current moment, so that the condition that reminding is too early is avoided, and the user can be charged at a proper time.
The electronic device provided in the embodiment of the present invention can implement each method step implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Fig. 5 is a schematic diagram illustrating a hardware structure of an electronic device according to an embodiment of the present invention.
The electronic device 300 includes, but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, an AI (Artificial Intelligence) sound box, a pedometer, and the like.
The processor 310 is configured to detect whether a static duration of the electronic device is greater than a first preset duration threshold under the condition that the electronic device is connected with a charging line and the electronic device is not in a charging state; and under the condition that the static duration is greater than a first preset duration threshold, outputting first prompt information, wherein the first prompt information is used for indicating charging failure.
In the embodiment of the invention, when the electronic equipment is connected with the charging wire and is not in a charging state, if the electronic equipment does not move within a period of time, the situation that the user wants to charge but fails to charge is considered to exist at present, so that the user is prompted to fail to charge by outputting the first prompt information, the user is prompted to check the reason of the failure to charge and solve the problem in time, the situation that the user cannot normally use the electronic equipment due to the failure to charge is avoided as much as possible, the electronic equipment can have more sufficient electric quantity when the user wants to use the electronic equipment, and the charging reliability is higher.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 310; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 302, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the electronic apparatus 300 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 301 in case of the phone call mode.
The electronic device 300 also includes at least one sensor 305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 3061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 3061 and/or the backlight when the electronic device 300 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 305 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 306 is used to display information input by the user or information provided to the user. The Display unit 306 may include a Display panel 3061, and the Display panel 3061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 3071 may be overlaid on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of the touch event. Although in fig. 5, the touch panel 3071 and the display panel 3061 are implemented as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 308 is an interface for connecting an external device to the electronic apparatus 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charging) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 300 or may be used to transmit data between the electronic apparatus 300 and the external device.
The memory 309 may be used to store software programs as well as various data. The memory 309 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 309 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 310 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the electronic device. Processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 310.
The electronic device 300 may further include a power supply 311 (such as a battery) for supplying power to various components, and preferably, the power supply 311 may be logically connected to the processor 310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 300 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 310, a memory 309, and a computer program stored in the memory 309 and capable of running on the processor 310, where the computer program, when executed by the processor 310, implements each process of the above charging alert method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned charging alert method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A charging prompting method is applied to electronic equipment and is characterized by comprising the following steps:
under the condition that the electronic equipment is connected with a charging wire and is not in a charging state, detecting whether the static duration of the electronic equipment is greater than a first preset duration threshold or not;
and outputting first prompt information under the condition that the static duration is greater than the first preset duration threshold, wherein the first prompt information is used for indicating charging failure.
2. The method of claim 1, prior to said detecting whether the duration of inactivity of the electronic device is greater than a first preset duration threshold, further comprising:
whether the electronic equipment is connected with the charging wire or not is identified, and whether the electronic equipment is in a charging state or not is identified.
3. The method of claim 2, wherein the identifying whether the electronic device is connected to a charging cable comprises any one of:
detecting whether a pressing sensor in a Universal Serial Bus (USB) interface of the electronic device is pressed, wherein the pressing sensor indicates that the electronic device is connected with the charging wire, and the pressing sensor is not pressed and indicates that the electronic device is not connected with the charging wire;
detecting whether VBUS is interrupted or not through an on-board OTG (on-the-go) driver of the electronic device, wherein the VBUS interruption indicates that the electronic device is connected with the charging wire, and the VBUS non-interruption indicates that the electronic device is not connected with the charging wire;
detecting whether voltage is generated between positive and negative ends of a data bus port of the charging wire, wherein the generation of the voltage between the positive and negative ends indicates that the electronic equipment is connected with the charging wire, and the non-generation of the voltage between the positive and negative ends indicates that the electronic equipment is not connected with the charging wire;
whether a USB line is connected to a USB port of the electronic equipment is detected through an ultrasonic sensor or a distance sensor, wherein the USB port is connected with a USB line to indicate that the electronic equipment is connected with the charging line, and the USB port is not connected with a USB line to indicate that the electronic equipment is not connected with the charging line.
4. The method of claim 2, wherein the identifying whether the electronic device is in a charging state comprises any one of:
detecting whether a VBUS data line voltage of a USB port of the electronic equipment is lower than a first preset voltage or not, wherein the VBUS data line voltage is lower than the first preset voltage and indicates that the electronic equipment is not in a charging state, and the VBUS data line voltage is not lower than the first preset voltage and indicates that the electronic equipment is in the charging state;
detecting whether a charging parameter is smaller than a preset parameter threshold value or not, wherein the fact that the charging parameter is smaller than the preset parameter threshold value indicates that the electronic equipment is not in a charging state, and the fact that the charging parameter is not smaller than the preset parameter threshold value indicates that the electronic equipment is in the charging state;
detecting whether equipment information returned by the electronic equipment is received or not in an enumeration process through a USB controller, wherein the electronic equipment is not in a charging state when the equipment information is not received, and the electronic equipment is in the charging state when the equipment information is received;
detecting whether a first time length is less than a second preset time length threshold value, wherein the first time length is the time length that voltages at the positive end and the negative end of a data bus port of the charging line are both less than a second preset voltage; the first time length is smaller than the second preset time length threshold value and indicates that the electronic equipment is not in a charging state; the first duration is greater than or equal to the second preset duration threshold and indicates that the electronic equipment is in a charging state.
5. The method of claim 1, wherein before outputting the first prompt message, further comprising:
detecting whether the current electric quantity of the electronic equipment is lower than a preset electric quantity threshold value or not;
under the condition that the static duration is greater than a first preset duration threshold, outputting first prompt information, specifically comprising:
and outputting the first prompt message under the condition that the current electric quantity of the electronic equipment is lower than the preset electric quantity threshold value and the static duration reaches the first preset duration threshold value.
6. The method according to any one of claims 1 to 5, wherein the outputting the first prompt message includes any one of:
controlling the electronic equipment to vibrate according to a preset vibration frequency;
controlling the electronic equipment to output voice prompt information;
controlling the electronic equipment to output text prompt information;
and controlling an indicator lamp on the charger to emit light according to a preset light emitting mode.
7. The method of claim 1, further comprising:
acquiring pre-stored backlogs and historical electricity utilization statistical information of the electronic equipment;
under the condition that the electricity consumption of the electronic equipment exceeds the preset electricity consumption after the preset time length is determined based on the backlog information and the historical electricity consumption statistical information, outputting second prompt information at the first moment;
the second prompt message is used for prompting a user to charge; the first time comprises; the current electric quantity of the electronic equipment is smaller than the moment of presetting the electric quantity, or after the second moment and with the time interval of the second moment is smaller than the moment of presetting the duration, the second moment is used for determining that the electric quantity of the electronic equipment exceeds the moment of presetting the electric quantity after the duration.
8. An electronic device, comprising:
the time length detection module is used for detecting whether the static duration time of the electronic equipment is greater than a first preset time length threshold value or not under the condition that the electronic equipment is connected with a charging wire and the electronic equipment is not in a charging state;
and the first output module is used for outputting first prompt information under the condition that the static duration is greater than the first preset duration threshold, wherein the first prompt information is used for indicating charging failure.
9. An electronic device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the charge alert method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the charge alert method according to any one of claims 1 to 7.
CN202010074816.4A 2020-01-22 2020-01-22 Charging prompting method, electronic device and medium Pending CN111181218A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010074816.4A CN111181218A (en) 2020-01-22 2020-01-22 Charging prompting method, electronic device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010074816.4A CN111181218A (en) 2020-01-22 2020-01-22 Charging prompting method, electronic device and medium

Publications (1)

Publication Number Publication Date
CN111181218A true CN111181218A (en) 2020-05-19

Family

ID=70652970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010074816.4A Pending CN111181218A (en) 2020-01-22 2020-01-22 Charging prompting method, electronic device and medium

Country Status (1)

Country Link
CN (1) CN111181218A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114069740A (en) * 2020-07-31 2022-02-18 华为技术有限公司 Charging method and electronic device
CN116699477A (en) * 2022-12-23 2023-09-05 荣耀终端有限公司 Spring needle interface connection state detection method, combined device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103311993A (en) * 2013-06-24 2013-09-18 无锡商业职业技术学院 Solar charger for cell phones
CN107134823A (en) * 2017-04-25 2017-09-05 北京小米移动软件有限公司 Charge prompting method and device
CN108718360A (en) * 2018-04-25 2018-10-30 维沃移动通信有限公司 A kind of charging method and mobile terminal
CN109083451A (en) * 2018-08-28 2018-12-25 李友新 A kind of construction noise protection wall construction
CN109660007A (en) * 2019-02-15 2019-04-19 汉腾汽车有限公司 A kind of vehicle-mounted USB charge reminder system and based reminding method
CN111506935A (en) * 2020-04-30 2020-08-07 黄河水利职业技术学院 Electronic information inquiry device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103311993A (en) * 2013-06-24 2013-09-18 无锡商业职业技术学院 Solar charger for cell phones
CN107134823A (en) * 2017-04-25 2017-09-05 北京小米移动软件有限公司 Charge prompting method and device
CN108718360A (en) * 2018-04-25 2018-10-30 维沃移动通信有限公司 A kind of charging method and mobile terminal
CN109083451A (en) * 2018-08-28 2018-12-25 李友新 A kind of construction noise protection wall construction
CN109660007A (en) * 2019-02-15 2019-04-19 汉腾汽车有限公司 A kind of vehicle-mounted USB charge reminder system and based reminding method
CN111506935A (en) * 2020-04-30 2020-08-07 黄河水利职业技术学院 Electronic information inquiry device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
URANUS_WM: "《CSDN网络资源》", 5 September 2013 *
李朝青: "《新型电源IC技术手册[M]》", 30 October 2012, 北京航空航天大学出版社 *
电脑报合订本编委会: "《电脑报2014合订本上册[M]》", 30 April 2015, 重庆出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114069740A (en) * 2020-07-31 2022-02-18 华为技术有限公司 Charging method and electronic device
CN114069740B (en) * 2020-07-31 2023-10-20 华为技术有限公司 Charging method and electronic device
CN116699477A (en) * 2022-12-23 2023-09-05 荣耀终端有限公司 Spring needle interface connection state detection method, combined device and electronic equipment

Similar Documents

Publication Publication Date Title
CN109343759B (en) Screen-turning display control method and terminal
CN108988421B (en) Battery charging method, charging circuit and terminal
CN108391008B (en) Message reminding method and mobile terminal
CN108319442B (en) Audio playing control method and mobile terminal
CN111899545B (en) Driving reminding method and device, storage medium and mobile terminal
CN109962514B (en) Charging method and mobile terminal
CN108767919B (en) Charging device, terminal equipment and charging method
CN107834640B (en) Charging method and terminal
CN109888928B (en) Terminal and wireless charging control method
CN108521501B (en) Voice input method, mobile terminal and computer readable storage medium
CN108681413B (en) Control method of display module and mobile terminal
CN107835495B (en) Message prompting method and device and mobile terminal
CN108600557B (en) Screen on-off control method and mobile terminal
CN107887947B (en) Protection method for charging port and mobile terminal
CN109755997B (en) Charging method and terminal equipment
CN109560591B (en) Charging method, device and terminal
CN111651387B (en) Interface circuit and electronic equipment
CN111181218A (en) Charging prompting method, electronic device and medium
CN108448177B (en) Charging method and terminal
CN109474747B (en) Information prompting method and mobile terminal
CN109639738B (en) Voice data transmission method and terminal equipment
CN108810284B (en) Mode switching method of camera and electronic equipment
CN110784394A (en) Prompting method and electronic equipment
CN108388400B (en) Operation processing method and mobile terminal
CN108307075B (en) Incoming call processing method and mobile terminal

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200519

WD01 Invention patent application deemed withdrawn after publication