CN113542487A - Method for prompting equipment electric quantity information and electronic equipment - Google Patents

Method for prompting equipment electric quantity information and electronic equipment Download PDF

Info

Publication number
CN113542487A
CN113542487A CN202110650008.2A CN202110650008A CN113542487A CN 113542487 A CN113542487 A CN 113542487A CN 202110650008 A CN202110650008 A CN 202110650008A CN 113542487 A CN113542487 A CN 113542487A
Authority
CN
China
Prior art keywords
electronic device
battery
electric quantity
electronic equipment
charging
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.)
Granted
Application number
CN202110650008.2A
Other languages
Chinese (zh)
Other versions
CN113542487B (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211034712.6A priority Critical patent/CN115514841A/en
Priority to CN202211034962.XA priority patent/CN115514842A/en
Priority to CN202110650008.2A priority patent/CN113542487B/en
Publication of CN113542487A publication Critical patent/CN113542487A/en
Application granted granted Critical
Publication of CN113542487B publication Critical patent/CN113542487B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • 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/382Arrangements for monitoring battery or accumulator variables, e.g. SoC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a method for prompting device electric quantity information and electronic equipment, and relates to the technical field of communication. According to the scheme, the mobile phone can acquire the battery electric quantity information of the rechargeable devices to carry out unified management, and based on the battery electric quantity information of the rechargeable devices, the remaining battery electric quantity and related information (such as expected available time, whether charging and/or charging state is needed or not) of each rechargeable device are prompted to a user, so that the user can timely know the battery use conditions of the rechargeable devices, and whether the rechargeable devices need to be charged or not is determined according to actual use requirements, the operation is convenient and rapid, and the user experience is improved. Therefore, the problem of complex operation in a scene that a large number of chargeable devices need to be checked frequently whether charging is needed or not can be solved.

Description

Method for prompting equipment electric quantity information and electronic equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method for prompting device power information and an electronic device.
Background
With the development of electronic technology and communication technology, the application of intelligent electronic equipment is more and more common, and convenience is brought to the life and work of users.
At present, electronic equipment is usually powered by a built-in rechargeable battery, so that the electronic equipment needs to be charged after being used for a period of time, and then can be used continuously. If the remaining power of the electronic device is found to be too low to be used when the electronic device needs to be used, the user experience is affected. Therefore, the user is required to check the battery capacity of the electronic device frequently and determine whether the device needs to be charged, so as to charge the device in time and avoid affecting the use. For example, when checking the battery power of the electronic device, the user is first required to trigger the electronic device to turn on, and after the electronic device is turned on, if the battery power of the electronic device is weak, the indicator light of the electronic device may present a certain color (e.g., red) to indicate that the power is low, so that the user may know that the electronic device needs to be charged.
However, for a scene with a large number of rechargeable devices (such as a mobile phone, a tablet computer, a wireless bracelet, an electric toothbrush, an earphone, a neck massager, etc.), a user needs to check the battery power condition of each electronic device at intervals and judge whether to charge the electronic device, so that the operation is complicated and the operation is not convenient.
Disclosure of Invention
The application provides a method for prompting device electric quantity information and electronic equipment, which can uniformly manage the battery electric quantity information of a plurality of chargeable devices and prompt the battery residual electric quantity and related information of each chargeable device for a user, so that the user can timely know the battery use conditions of the plurality of chargeable devices and can determine whether the chargeable devices need to be charged according to actual use requirements, the operation is convenient and fast, and the user experience is improved.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, a method for prompting device power information is provided, where the method includes:
the method comprises the steps that a first electronic device obtains battery capacity information of M second electronic devices, the battery capacity information of the M second electronic devices is used for indicating the battery residual capacity and/or the used capacity of each electronic device in the M second electronic devices, and M is a positive integer;
the first electronic device determines power prompt information of a target electronic device in the M second electronic devices according to the battery power information of the M second electronic devices, wherein the target electronic device is part of or all the M second electronic devices;
the first electronic equipment displays the power prompt information of the target electronic equipment on a screen, and is used for prompting at least one of the following items: the battery residual capacity, the predicted available time length, whether charging is needed or not and the charging state of the target electronic equipment.
According to the scheme, the first electronic device can acquire the battery power information of the rechargeable devices to perform unified management, and based on the battery power information of the rechargeable devices, the remaining battery power and related information (such as expected available time, whether charging and/or charging state is needed or not) of each rechargeable device are prompted to a user, so that the user can timely know the battery use conditions of the rechargeable devices, and whether the rechargeable devices need to be charged or not is determined according to actual use requirements, the operation is convenient and fast, and the user experience is improved. Therefore, the problem of complex operation in a scene that a large number of chargeable devices need to be checked frequently whether charging is needed or not can be solved.
In the embodiment of the application, the mobile phone can compare the battery power information of the rechargeable device with the corresponding preset power threshold; and then according to the comparison result, the mobile phone determines the electric quantity prompt information of the rechargeable equipment.
The preset electric quantity threshold is a threshold used for judging whether the electric quantity of the battery is sufficient or not or whether the battery needs to be charged or not.
Specifically, when the remaining battery capacity is less than or equal to the preset threshold, it indicates that the battery capacity is insufficient and needs to be charged. When the residual electric quantity of the battery is larger than the preset electric quantity threshold value, the electric quantity of the battery is sufficient, and charging is not needed temporarily. It should be noted that, since the charging is prompted when the remaining battery power is less than or equal to the preset power threshold, the preset power threshold may also be referred to as a preset power prompting threshold.
In a possible implementation manner, the target electronic device is a part of or all of the M second electronic devices that meet a preset condition, where the preset condition is that a remaining battery capacity of the electronic device is less than or equal to a corresponding preset capacity threshold.
According to the scheme, the battery electric quantity information of the rechargeable devices is uniformly managed, the electric quantity related information of the rechargeable devices meeting the preset charging condition can be pertinently prompted, so that a user can timely know which rechargeable devices need to be charged, the prompting information is more pertinent, the prompting effect is more obvious, and the user experience can be improved.
In a possible implementation manner, the displaying, by the first electronic device, the power prompt information of the target electronic device on the screen includes: the first electronic equipment displays the electric quantity prompt information of the target electronic equipment on a screen in a pop-up frame display mode.
According to the scheme, the rechargeable device meeting the preset charging condition can display the electric quantity related information in a message box mode, so that the rechargeable device is prompted to need to be charged, a user can conveniently and timely know which rechargeable devices need to be charged, the prompting effect is more obvious, and the user experience can be improved.
In a possible implementation manner, the target electronic device includes a first target electronic device and a second target electronic device, a battery remaining capacity of the first target electronic device is less than or equal to a corresponding preset capacity threshold, and a battery remaining capacity of the second target electronic device is greater than a corresponding preset capacity threshold;
wherein, above-mentioned first electronic equipment shows the electric quantity prompt message of target electronic equipment on the screen, includes: the method comprises the steps that the first electronic equipment displays electric quantity prompt information of first target electronic equipment in a highlighted mode in a first area on a screen; and the first electronic equipment displays the electric quantity prompt information of the second target electronic equipment in a non-highlighted mode in a second area on the screen.
In the scheme of the application, when the mobile phone displays the electric quantity related information of all the rechargeable devices, the electric quantity related information of the rechargeable devices meeting the preset charging condition can be highlighted relative to the rechargeable devices not meeting the preset charging condition, so that the rechargeable devices are highlighted and prompted to need to be charged, a user can know which rechargeable devices need to be charged conveniently in time, the prompting effect is obvious, and the user experience can be improved.
In a possible implementation manner, the displaying, by the first electronic device, the power prompt information of the target electronic device on the screen includes: and the first electronic equipment displays the electric quantity prompt information of the target electronic equipment on a screen at the preset time.
In the scheme of the application, the mobile phone automatically prompts the electric quantity related information of each rechargeable device to the user at intervals, so that the user can timely know the battery use conditions of the rechargeable devices, actual use requirements of the user can be met through timing reminding, and user experience is improved. Therefore, the problem of complex operation in a scene that a large number of chargeable devices need to be checked frequently whether charging is needed or not can be solved.
In a possible implementation manner, the displaying, by the first electronic device, the power prompt information of the target electronic device on the screen includes: and under the condition that the target electronic equipment comprises at least two second electronic equipment, the first electronic equipment sequentially displays the electric quantity prompt information of the target electronic equipment according to the sequence from low to high of the residual electric quantity of the battery of the target electronic equipment.
In the scheme of the application, when the mobile phone displays the electric quantity related information of all the rechargeable devices, the electric quantity related information of the rechargeable devices meeting the preset charging condition can be displayed at the front main position, and the electric quantity related information of the rechargeable devices not meeting the preset charging condition can be displayed at the rear secondary position. Therefore, the battery electric quantity information of the rechargeable devices is uniformly managed and is sequentially and differentially displayed, so that a user can timely know which rechargeable devices need to be charged, and which rechargeable devices do not need to be charged at present, all-around display of the electric quantity service conditions of all the rechargeable devices is achieved, actual use requirements of the user are met, and user experience can be improved.
In one possible implementation manner, the above-mentioned first electronic device displays the power prompt message of the first target electronic device in a highlighted manner on the screen, and includes: the first electronic device displays a battery icon of the target electronic device in a preset color on a screen to prompt that the battery residual capacity of the target electronic device is smaller than or equal to a corresponding preset capacity threshold.
In the embodiment of the application, the residual battery capacity of the rechargeable device is displayed through the battery icon, the prompting effect is more visual, and the user experience can be improved.
In one possible implementation, the method further includes:
the first electronic equipment displays an electric quantity threshold value setting option which is used for triggering and adjusting the preset electric quantity threshold values of the M pieces of second electronic equipment;
the method comprises the steps that first electronic equipment receives first operation of a user on an electric quantity threshold setting option;
in response to the first operation, the first electronic device updates the preset electric quantity threshold values of the M second electronic devices to the preset electric quantity threshold value input through the first operation.
In a possible implementation manner, each of the M second electronic devices corresponds to a preset power threshold. And the preset electric quantity threshold corresponding to each piece of the M pieces of second electronic equipment supports user-defined setting.
The rechargeable devices can adopt the same preset electric quantity threshold value and also can adopt different preset electric quantity threshold values.
In the embodiment of the application, the mobile phone supports a user to self-define and set the preset electric quantity threshold values of the plurality of chargeable devices. Therefore, the user can set the preset electric quantity threshold of the rechargeable device according to actual use requirements, and user experience can be improved.
In one possible implementation manner, before the first electronic device acquires the battery power information of the M second electronic devices, the method further includes: and the first electronic equipment establishes wireless connection with the M second electronic equipment respectively through a Wi-Fi wireless connection technology.
In the embodiment of the application, for a scene with a large number of rechargeable devices (such as a mobile phone, a tablet computer, a wireless bracelet, an electric toothbrush, an earphone, a neck massager and the like), interconnection and intercommunication between the mobile phone and each device can be realized through wireless networking, so that the mobile phone can uniformly manage battery power information of a plurality of rechargeable devices, and can prompt the battery residual power and related information of each rechargeable device to a user, so that the user can timely know the battery use conditions of the rechargeable devices, and the user experience can be improved.
In one possible implementation manner, before the first electronic device acquires the battery power information of the M second electronic devices, the method further includes: and in response to a second operation that the user selects the M second electronic devices as the power reminding objects, the first electronic device is authorized to provide the power reminding service for the M second electronic devices.
In actual implementation, the mobile phone and each electronic device support a Wi-Fi connection function, the mobile phone can search all electronic devices under the same Wi-Fi, and the mobile phone can respond to a device selection operation of a user to determine whether to associate the selected electronic device, that is, to provide a charging reminding service for the electronic device.
In the embodiment of the application, the mobile phone can support the user to select and authorize the rechargeable device needing the electric quantity reminding service, and provide the electric quantity reminding service for the rechargeable device authorized by the user, so that the actual use requirement of the user can be better met, and the user experience can be improved.
In one possible implementation manner, the acquiring, by the first electronic device, battery power information of M second electronic devices includes:
the method comprises the steps that a first electronic device sends an electric quantity reporting request message to each of M second electronic devices, receives an electric quantity reporting response message sent by each of the M second electronic devices, and acquires battery electric quantity information of each electronic device from the electric quantity reporting response message;
or, the first electronic device receives battery power information periodically and actively reported by each of the M second electronic devices.
In the embodiment of the application, the mobile phone can acquire the battery electric quantity information of the plurality of rechargeable devices in various possible ways, so that the reliability of the mobile phone in unified management of the battery electric quantity information of the plurality of rechargeable devices can be guaranteed.
In one possible implementation, the method further includes:
when the first electronic device judges that the residual battery capacity of the target electronic device is smaller than or equal to a first preset capacity threshold value and the target electronic device supports the space charging function, the first electronic device sends a charging instruction to the target electronic device;
the target electronic equipment receives a charging instruction sent by the first electronic equipment;
and when the target electronic equipment meets the air charging condition, the target electronic equipment responds to the charging instruction to carry out air charging.
In one possible implementation, after the target electronic device performs the space charging in response to the charging instruction, the method further includes: and when the residual battery capacity of the target electronic equipment is larger than a second preset capacity threshold value, stopping the air-spaced charging of the target electronic equipment. And the second preset electric quantity threshold value is larger than the first preset electric quantity threshold value.
In this application embodiment, to the electronic equipment who supports charging at an interval, not only can support the warning of charging, can carry out intelligent automatic charging simultaneously. The automatic charging in the air gap is started when the residual electric quantity of the battery is lower than the electric quantity reminding threshold value, the charging is automatically stopped when the residual electric quantity of the battery is higher than the charging completion threshold value, the user operation is not needed, and the user experience is improved.
In one possible implementation manner, the stopping the space charging of the target electronic device when the remaining battery power of the target electronic device is greater than the second preset power threshold includes:
when the first electronic equipment judges that the residual battery capacity of the target electronic equipment is larger than a second preset capacity threshold value, the first electronic equipment sends a charging stopping instruction to the target electronic equipment; the first electronic equipment receives the charging stopping instruction and responds to the charging stopping instruction to stop the space charging;
or when the target electronic equipment judges that the residual battery capacity of the target electronic equipment is greater than the second preset capacity threshold value, the target electronic equipment automatically stops the space charging.
In the embodiment of the application, when the rechargeable device finishes charging, even if a charging stopping instruction sent by the mobile phone is not received, the rechargeable device can also finish charging, so that the safety of automatic charging of the electronic device can be improved.
In a second aspect, the present application provides an apparatus for prompting device power information, where the apparatus includes means for performing the method in the first aspect. The apparatus may correspond to performing the method described in the first aspect, and for the description of the units in the apparatus, reference is made to the description of the first aspect, and for brevity, no further description is given here.
The method described in the first aspect may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-described functions. Such as a processing module or unit, a display module or unit, etc.
In a third aspect, the present application provides an electronic device comprising a processor coupled to a memory, the memory for storing computer programs or instructions, the processor for executing the computer programs or instructions stored by the memory such that the method of the first aspect is performed.
For example, the processor is for executing a memory-stored computer program or instructions causing the apparatus to perform the method of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program (which may also be referred to as instructions or code) for implementing the method in the first aspect.
The computer program, when executed by a computer, causes the computer to perform the method of the first aspect, for example.
In a fifth aspect, the present application provides a chip comprising a processor. The processor is adapted to read and execute the computer program stored in the memory to perform the method of the first aspect and any possible implementation thereof.
Optionally, the chip further comprises a memory, and the memory is connected with the processor through a circuit or a wire.
In a sixth aspect, the present application provides a chip system comprising a processor. The processor is adapted to read and execute the computer program stored in the memory to perform the method of the first aspect and any possible implementation thereof.
Optionally, the chip system further comprises a memory, and the memory is connected with the processor through a circuit or a wire.
In a seventh aspect, the present application provides a computer program product comprising a computer program (also referred to as instructions or code) which, when executed by a computer, causes the computer to carry out the method of the first aspect.
It is to be understood that, the beneficial effects of the second to seventh aspects may be referred to the relevant description of the first aspect, and are not repeated herein.
Drawings
Fig. 1 is a system architecture diagram of an application of a method for prompting device power information according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for prompting device power information according to an embodiment of the present disclosure;
fig. 3 is a schematic flow chart illustrating a message for acquiring battery power in a method for prompting device power information according to an embodiment of the present application;
fig. 4 is a schematic diagram of a remaining power icon in the method for prompting device power information according to the embodiment of the present application;
fig. 5 is one of schematic interface diagrams of an application of a method for prompting device power information according to an embodiment of the present application;
fig. 6 is a second schematic interface diagram of an application of the method for prompting device power information according to the embodiment of the present application;
fig. 7 is a third interface schematic diagram of an application of the method for prompting device power information according to the embodiment of the present application;
fig. 8 is a fourth schematic interface diagram of an application of the method for prompting device power information according to the embodiment of the present application;
fig. 9 is a fifth schematic interface diagram of an application of the method for prompting device power information according to the embodiment of the present application;
fig. 10 is a schematic structural diagram of an apparatus for prompting device power information according to an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims herein are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first preset power threshold and the second preset power threshold are used to distinguish different preset power thresholds, rather than describing a specific order of the preset power thresholds.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present application, unless otherwise specified, "a plurality" means two or more, for example, a plurality of processing units means two or more processing units, or the like; plural elements means two or more elements, and the like.
Fig. 1 illustrates a communication system diagram to which various exemplary embodiments of the present application relate. As shown in fig. 1, the communication system 10 may include an electronic device 1 and at least one electronic device 2.
The electronic device 1 may establish a wireless connection with the electronic device 2 through a wireless communication technology. For example, the wireless communication technology may be a Wireless Local Area Network (WLAN) (e.g., Wi-Fi network), a Bluetooth (BT), a Bluetooth Low Energy (BLE), a Zigbee, a Frequency Modulation (FM), a Near Field Communication (NFC), an Infrared (IR) technology, or a general 2.4G/5G band wireless communication technology. The wireless connection is a connection established using the wireless communication technology. The embodiment of the present application does not specifically limit the type of wireless communication technology.
The electronic device 1 may be a mobile terminal or a non-mobile terminal. Illustratively, the electronic device 1 may be a mobile terminal such as a mobile phone (as shown in fig. 1), a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a Personal Digital Assistant (PDA).
The electronic device 2 may be a mobile terminal or a non-mobile terminal. For example, the electronic device 2 may be a mobile phone, an electric toothbrush, a neck massager, a tablet computer, a notebook computer, a palm top computer, a wearable device, a UMPC, a netbook or PDA, a wireless headset, a wireless bracelet, wireless smart glasses, a wireless watch, an Augmented Reality (AR)/Virtual Reality (VR) device, a desktop computer, a wireless vehicle, a smart home device (e.g., a television, a sound box, a refrigerator, an air purifier, an air conditioner, an electric cooker), and the like. The electronic device 2 may also be referred to as an Internet of things (IoT) device.
The present embodiment does not specifically limit the device types of the electronic device 1 and the electronic device 2. For convenience of explanation, the electronic device 1 is a mobile phone, and the electronic device 2 is a plurality of wearable devices.
At present, electronic equipment (whether the electronic equipment 1 or the electronic equipment 2) is generally powered by a built-in rechargeable battery, and the electronic equipment with the rechargeable battery is hereinafter referred to as a rechargeable equipment. Rechargeable devices need to be recharged after a period of use before they can continue to be used. In practical use, when the battery capacity is lower than a certain capacity or the capacity is exhausted, the battery cannot normally supply power to the electronic device. If the remaining power of the chargeable device is found to be too low to be used when the chargeable device needs to be used, the user experience is affected. Therefore, it is necessary for the user to check the battery power of the rechargeable device and determine whether the rechargeable device needs to be charged, so as to charge the device in time and avoid affecting the use. However, for a scene with a large number of chargeable devices (such as a mobile phone, a tablet computer, a wireless bracelet, an electric toothbrush, an earphone, a neck massager, and other portable electronic devices), a user needs to check the battery power condition of each electronic device at intervals and determine whether charging is needed, so that the operation is complicated and not convenient.
In view of this, an embodiment of the present application provides a method for prompting device power information and an electronic device, where a first electronic device obtains battery power information of a plurality of second electronic devices; the first electronic equipment determines electric quantity prompt information of target electronic equipment in the plurality of second electronic equipment according to the battery electric quantity information of the plurality of second electronic equipment; the first electronic equipment displays the power prompt information of the target electronic equipment on a screen, and is used for prompting at least one of the following items: the battery residual capacity, the predicted available time length, whether charging is needed or not and the charging state of the target electronic equipment. According to the scheme, the mobile phone can acquire the battery power information of the rechargeable devices to perform unified management, and based on the battery power information of the rechargeable devices, the battery residual power and related prompt information (such as expected available time, whether charging and/or charging state is needed or not) of each rechargeable device are displayed for a user, so that the user can timely know the battery use conditions of the rechargeable devices, and whether the rechargeable devices need to be charged or not is determined according to actual use requirements, the operation is convenient and fast, and the user experience is improved. Therefore, the problem of complex operation in a scene that a large number of chargeable devices need to be checked frequently whether charging is needed or not can be solved.
The execution main body of the method for prompting the device power information provided in the embodiment of the present application may be the electronic device described above, or may also be a functional module and/or a functional entity that can implement the method for prompting the device power information in the electronic device, and the scheme of the present application may be implemented in a hardware and/or software manner, which may be specifically determined according to actual use requirements, and the embodiment of the present application is not limited. The following takes an electronic device as an example, and an exemplary description is provided, with reference to the accompanying drawings, for a method for prompting device power information provided in an embodiment of the present application.
Fig. 2 is a schematic flowchart of a method for prompting device power information according to an embodiment of the present application. Referring to FIG. 2, the method 100 includes steps S110-S130 described below.
S110, the electronic device 1 obtains battery power information of the plurality of electronic devices 2.
Each electronic device 2 is a rechargeable device, that is, the battery used by each electronic device 2 may be a rechargeable battery (e.g., a lithium battery, etc.). The electronic device 2 may have a fuel gauge (current/voltage) function for measuring the battery power, and the electronic device 1 may access the fuel gauge of the electronic device 2 to acquire the battery power information.
In the embodiment of the present application, the battery power information of the plurality of electronic devices 2 may be used to indicate the battery remaining power and/or the used power of each of the plurality of electronic devices 2. For convenience of explanation, the following description will exemplarily be given taking the example that the battery level information indicates the battery remaining level.
Optionally, the remaining capacity of the electronic device 2 may be represented in a percentage form, may also be represented in a battery icon form, and may also be represented in other possible forms, which may be specifically determined according to actual usage requirements, and the embodiment of the present application is not limited. Illustratively, the remaining capacity of the electronic device 2 is represented in percentage form, and when the battery of the electronic device 2 is fully charged, the remaining capacity of the electronic device 2 is 100%; when the battery power of the electronic device 2 is exhausted, the remaining power of the electronic device 2 is 0%.
In the embodiment of the present application, the battery level information of the electronic device 2 may also be used to indicate the charging state of the electronic device 2, and to indicate whether charging is being performed. The charging state may include an uncharged state, a charging state, or a charging completed state.
The charging status may represent a battery charging progress, such as a battery charging progress of 78%.
The charge completion state may refer to a state in which the battery charge progress reaches 100%.
Optionally, the step of acquiring, by the electronic device 1 in S110, the battery power information of the plurality of electronic devices 2 may include the following two possible ways:
the first mode, the reporting mode, is as shown in fig. 3:
s111, the electronic device 1 sends an electric quantity reporting request message to each of the plurality of electronic devices 2.
S112, after receiving the power reporting request message, each of the electronic devices 2 sends a power reporting response message to the electronic device 1, where the power reporting response message may include battery power information of the electronic device.
S113, the electronic device 1 receives the electric quantity reporting response message sent by each of the plurality of electronic devices 2, and obtains the battery electric quantity information of each electronic device from the electric quantity reporting response message.
The second way, the active reporting way, as shown in fig. 3:
s114, each of the electronic devices 2 periodically reports the battery power information to the electronic device 1.
S115, the electronic device 1 receives the battery power information actively reported by each of the plurality of electronic devices 2.
It should be noted that, in the embodiment of the present application, when the electronic device 1 establishes a wireless connection with the plurality of electronic devices 2, the electronic device 1 may acquire the battery level information of the plurality of electronic devices 2 through a wireless link. For example, the electronic device 1 may establish wireless connections with the plurality of electronic devices 2 through wireless connection technologies such as Wi-Fi or bluetooth, and may further perform communication based on wireless links.
S120, the electronic device 1 determines power prompt information of a target electronic device in the plurality of electronic devices 2 according to the battery power information of the plurality of electronic devices 2.
Wherein, the electric quantity prompt message can be used for prompting at least one of the following items: battery remaining capacity, expected usable time, whether charging is required, and charging state. The remaining battery capacity may be specifically represented by a battery icon. The expected usable time may refer to an expected longest standby time or an expected longest call time. The method can be specifically set according to actual use conditions, and the embodiment of the application is not limited.
It should be noted that, the above is only an exemplary list of the power prompting information, and it is understood that, in actual implementation, the embodiment of the present application includes, but is not limited to, the power prompting information listed above, which may be determined according to actual needs, and the embodiment of the present application is not limited.
In this embodiment, the electronic device 1 may compare the battery power information of each of the plurality of electronic devices 2 with a corresponding preset power threshold, for example, the battery remaining power of some electronic devices 2 may be less than or equal to the preset power threshold, and the battery remaining power of some electronic devices 2 may be greater than the preset power threshold; and then, according to the comparison result, determining the electric quantity prompt information of the target electronic equipment in the plurality of electronic equipment 2.
The preset electric quantity threshold is a threshold used for determining whether the electric quantity of the battery is sufficient or determining whether the battery needs to be charged, and for example, the preset electric quantity threshold may be 20%. Specifically, when the remaining battery capacity is less than or equal to the preset threshold, it indicates that the battery capacity is insufficient and needs to be charged. When the residual electric quantity of the battery is larger than the preset electric quantity threshold value, the electric quantity of the battery is sufficient, and charging is not needed temporarily. It should be noted that, since the charging is prompted when the remaining battery power is less than or equal to the preset power threshold, the preset power threshold may also be referred to as a preset power prompting threshold.
Optionally, the S120 may be specifically implemented by the following two ways:
in a first manner, the electronic device 1 may compare the battery power information of each of the plurality of electronic devices 2 with the corresponding preset power threshold, and determine the power prompt information of each of the plurality of electronic devices 2. That is, these plural electronic devices 2 are the target electronic devices.
For example, for a situation that the remaining battery capacity (e.g. 80%) of a certain electronic device 2 is greater than the corresponding preset threshold (e.g. 20%), the electronic device 1 may determine, according to the battery capacity information of the electronic device 2, a capacity indication message, for example, the remaining battery capacity is 80%, the expected available time is 12 hours, and indicate that charging is not needed.
For another example, in a case that the remaining battery capacity (e.g. 18%) of a certain electronic device 2 is less than or equal to the corresponding preset threshold (e.g. 20%), the electronic device 1 may determine, according to the battery capacity information of the certain electronic device 2, a capacity prompt message, for example, the remaining battery capacity is 18%, the expected available time is 30 minutes, and prompt that charging is needed.
In a second mode, the electronic device 1 may compare the battery power information of each electronic device in the plurality of electronic devices 2 with the corresponding preset power threshold, and determine power prompt information of a device to be charged in the plurality of electronic devices 2, where the device to be charged is a device whose battery remaining power in the electronic device 2 is less than or equal to the preset power threshold. That is, the devices to be charged are target electronic devices, and the target electronic devices may be a part of or all of the plurality of electronic devices 2.
For example, if the remaining power indicated by the battery power information of a certain electronic device 2 is less than or equal to the corresponding preset power threshold, the electronic device 1 may determine power prompt information according to the battery power information of the electronic device 2, for example, the remaining power is 10%, the expected available time is 15 minutes, and prompt that charging is needed.
It should be noted that each of the plurality of electronic devices 2 may correspond to a preset power threshold. Optionally, the multiple electronic devices 2 may use the same preset electric quantity threshold, or may use different preset electric quantity thresholds, which may be specifically determined according to actual use requirements, and the embodiment of the present application is not limited.
The electronic device 1 supports user-defined setting of preset power thresholds of the plurality of electronic devices 2. Of course, for each of the plurality of electronic devices 2, the electronic device 1 supports user-defined setting of the preset power threshold corresponding to each electronic device. The specific value of the preset electric quantity threshold can be set according to actual use requirements, and the embodiment of the application is not limited.
S130, the electronic device 1 displays the power prompt information of the target electronic device on the screen, for prompting at least one of the following items: the remaining capacity of the target electronic equipment, the expected available time, whether charging is needed or not and the charging state.
Optionally, in this embodiment of the present application, the electronic device 1 may uniformly manage battery power information of a plurality of rechargeable devices, and prompt, based on the battery power information of the plurality of rechargeable devices, the remaining battery power and related information (for example, an expected available time, whether charging and/or a charging state is needed, and the like) of each rechargeable device to a user, so that the user can timely know battery usage conditions of the plurality of rechargeable devices, and determine whether the rechargeable devices need to be charged according to actual usage requirements. Therefore, the battery capacity of each battery device in the plurality of electronic devices 2 can be acquired in time through the electronic device 1, and the user experience can be improved.
Optionally, in this embodiment of the present application, for those devices that need to be charged, of the plurality of electronic devices 2, whose remaining battery capacities are less than or equal to the preset capacity threshold, the electronic device 1 may prompt the user to: the battery information of the equipment to be charged, such as the residual battery capacity, the predicted available time, the charging requirement, the charging state and the like, is used for prompting the user to charge in time. It should be noted that, the electronic device 1 specifically displays which information in the above-mentioned electric quantity prompting information, and may be determined according to an actual scene, and the embodiment of the present application is not limited.
The remaining battery power can be represented by a battery icon, and any other possible icon (columnar power icon) can be used, and the remaining battery power can be specifically determined according to actual use requirements, and the embodiment of the application is not limited.
Illustratively, as shown in fig. 4 (a), the battery icon 21 is displayed as a full battery, indicating that the battery remaining capacity is 100%. The battery icon 22 and the battery icon 23 are displayed as a capacity portion blank space, indicating that the remaining battery capacity is in the range of (0%, 100%). Here, the battery remaining capacity indicated by the battery icon 22 is larger than the battery remaining capacity indicated by the battery icon 23.
And the battery icon can also directly display a percentage value for prompting the residual electric quantity of the battery. As shown in fig. 4 (b), the battery icon 24 is displayed as full and 100, so that it is intuitively understood that the remaining battery capacity is 100, the battery capacity is sufficient, and charging is not required. The battery icon 25 is displayed as a partial blank space of the battery capacity and is displayed 80, so that it can be intuitively understood that the remaining battery capacity is in the range of (0, 100), the battery capacity is sufficient, and charging may not be required. The battery icon 26 is displayed as a power partial blank and 5 is displayed, so that it can be visually known that the remaining power of the battery is 5, the power is insufficient, and charging is required.
Further illustratively, as shown in fig. 4 (c), the battery power is displayed by a bar power icon, the bar power icon 27 indicates that the battery remaining power is 100, the bar power icon 28 indicates that the battery remaining power is 80, and the bar power icon 29 indicates that the battery remaining power is 5.
In the embodiment of the present application, the electronic device 1 may display the battery remaining capacity, the expected available time, the charging requirement, the charging status, and other related information of the rechargeable devices to the user in various manners, so that the user can timely know the battery usage status of the plurality of rechargeable devices, and determine whether to charge the rechargeable devices according to the actual usage requirement. Various possible ways of prompting (also referred to as alerting ways) of the electronic device 1 are described in detail below.
Prompt mode 1:
in some embodiments, the electronic device 1 may display, on the screen, the power prompt information of the device to be charged in the plurality of electronic devices 2 in a pop-up display manner, so as to prompt the user to charge the device in time. For example, the electronic device 1 may display the power prompt information of the device to be charged in the plurality of electronic devices 2 in a screen lock interface of the electronic device 1 or a pull-down notification interface.
Illustratively, as shown in fig. 5, in the screen locking interface 31 of the electronic device 1, a charging reminder is displayed in the message box 32: the bluetooth headset has too low power (9% of remaining power), the expected available time is 10 minutes, charge in time! In addition, a charging reminder is displayed in the message box 33: the power of the bracelet is too low (12% of remaining power), the expected available time is 20 minutes, please charge in time!
Still illustratively, as shown in fig. 6, a charging reminder is displayed in a message box 35 in the pull-down notification interface 34 of the electronic device 1: the bluetooth headset has too low power (9% of remaining power), the expected available time is 10 minutes, charge in time! The power of the bracelet is too low (12% of remaining power), the expected available time is 20 minutes, please charge in time!
In the embodiment of the application, the remaining battery capacity of each electronic device 2 is prompted to the user and the available time is estimated, so that the user can select the device needing to be charged according to personal use requirements to charge, and the user experience can be improved.
The prompt mode 2:
in some embodiments, the electronic device 1 may display the remaining battery capacities and related information of all the rechargeable devices on the screen, so that the user can timely know the battery usage statuses of the plurality of rechargeable devices and determine whether the rechargeable devices need to be charged according to actual usage requirements.
Illustratively, as shown in fig. 7, a scenario smart card 42 is displayed in a negative screen 41 of the electronic device 1, my devices (charging reminder) are displayed in the scenario smart card 42, and power amount reminder information of each device is displayed in an area below the charging reminder:
bluetooth headset, battery icon (showing low battery), expected to be available for 10 minutes!
Bracelet, battery icon (display power shortage), expected available 20 minutes!
The electric quantity reminding information of electronic equipment such as a desk lamp, a notebook computer, a sound box, a tablet personal computer, a camera and an electric toothbrush is displayed in the area below the charging reminding, namely a battery icon, and the residual electric quantity of the batteries of the electronic equipment is larger than a preset electric quantity threshold value according to the battery icon. Wherein, the electric quantity reminding information of the notebook computer also indicates that the charging is finished.
Through the scheme, the electronic device 1 can uniformly manage the battery power information of the plurality of rechargeable devices, and prompt the battery residual power and the expected available time of the plurality of rechargeable devices to a user based on the battery power information of the plurality of rechargeable devices. Therefore, the user can timely know the battery use conditions of all the rechargeable devices through the electronic device 1, and can determine whether the rechargeable devices need to be charged according to actual use requirements, so that the use experience of the user is improved.
Two charging reminding modes are introduced exemplarily in the above embodiment of the present application, and by refining the reminding mechanism and setting the reminding mechanism according to a certain rule, the intelligent charging reminding of each electronic device 2 is realized, and the user experience can be improved.
In the embodiment of the present application, the electronic device 1 may display, in a first area on the screen, the power prompt information prompting the device to be charged (which may be referred to as a first target electronic device) in a highlighted manner, and display, in a second area on the screen, the power prompt information prompting the device not to be charged at present (which may be referred to as a second target electronic device) in a non-highlighted manner.
Illustratively, the highlighting manner may include: the method includes displaying with a larger font and displaying with a specific color (for example, red), and certainly, any other possible highlighting manner may be included, which may be determined according to actual usage requirements, and the embodiment of the present application is not limited.
Exemplarily, referring again to fig. 7, the target electronic device displayed by the electronic device 1 comprises all chargeable devices associated with the electronic device 1: bluetooth headset, bracelet, desk lamp, notebook, audio amplifier, panel computer, camera and electric toothbrush. The residual electric quantity of the Bluetooth headset and the bracelet (namely the first target electronic equipment) is less than or equal to a corresponding preset electric quantity threshold value; the remaining power of the desk lamp, the notebook, the speaker, the tablet computer, the camera, and the electric toothbrush (i.e., the second target electronic device) is greater than the corresponding preset power threshold. The first area 43 of the electronic device 1 on the screen displays the electric quantity prompting information of the device to be charged in a larger size in red, so that the highlighting display is realized, and the user is prompted to charge in time. The electronic device 1 displays the electric quantity prompt information of the device which does not need to be charged in black in a second area 44 on the screen in a smaller font. Therefore, the electric quantity prompt information of the electronic equipment needing to be charged can be displayed more obviously, the electronic equipment is convenient for a user to check, and the user experience can be improved.
In this embodiment, the electronic device 1 may sequentially display power prompt information of a target electronic device in the plurality of electronic devices 2 in an order from low to high of the remaining power of the target electronic device.
Illustratively, referring back to fig. 7, the target electronic devices include bluetooth headsets, bracelets, table lamps, notebooks, speakers, tablets, cameras, and power toothbrushes. The battery icon of the target electronic device can represent the remaining battery capacity. As shown in fig. 7, when the power indication information of the target electronic device is displayed, the electronic device 1 displays the remaining battery power of the target electronic device in order from low to high. Like this, can show the electric quantity prompt message of the electronic equipment that needs to charge more obviously, convenience of customers looks over, and the user can select the equipment that needs to charge according to individual user demand, can promote user experience.
Optionally, in this embodiment of the application, the electronic device 1 may display a remaining power icon of a device to be charged in the plurality of electronic devices 2 in a preset color (for example, red) on the screen, so as to prompt that the remaining power of the device to be charged is less than or equal to a corresponding preset power threshold and needs to be charged in time.
For example, referring back to fig. 7, the bluetooth headset and the bracelet in the scenario smart card 42 are devices to be charged, and the corresponding battery icon may be displayed in a preset color, such as red (not shown in the figure), to prompt the user that the devices need to be charged in time. Like this, can show the electric quantity prompt message of the electronic equipment that needs to charge more obviously, convenience of customers looks over, and the user can select the equipment that needs to charge according to individual user demand, can promote user experience.
In this embodiment, the electronic device 1 may display the power prompt information of the plurality of electronic devices 2 on the screen at a preset time. The preset time (i.e., the reminding time) may be preset by the system or may be set by a user in a user-defined manner, and may specifically be determined according to actual use requirements, which is not limited in the embodiment of the present application.
For example, the electronic device 1 may display the power amount reminding message of each electronic device 2 in a manner of a pop-up frame reminding at a fixed time in response to a user's custom setting operation on the reminding time.
In this embodiment, the electronic device 1 may display an electric quantity threshold setting option, where the electric quantity threshold setting option is used to trigger adjustment of preset electric quantity thresholds of the plurality of electronic devices 2. The electronic device 1 may receive a first operation of the user on the power threshold setting option. In response to the first operation, the electronic device 1 updates the preset power thresholds of the plurality of electronic devices 2 to the preset power threshold input by the first operation.
The following describes, with reference to fig. 7 and 8, setting of the reminder time and the charge threshold in the charge reminder as an example.
Referring to fig. 7, a setting control 45 corresponding to the charging reminder is also displayed in the scenario smart card 42. The electronic device 1 may display a setting interface corresponding to the charging reminder in response to an operation (e.g., a click operation) of the setting control 45 by the user.
Referring again to fig. 8, the electronic device 1 displays a setting interface 46 of the charging reminder, and a plurality of function setting items for the charging reminder are displayed in the setting interface 46:
(1) the function setting item 47 may be used for the user to select the automatic reminding time, for example, the user may set the electronic device 1 to pop up the frame reminding at a fixed time based on the function setting item 47.
(2) The function setting items 48 can be used for the user to select a reminding mode, such as a pop-up box reminding mode and/or a scene smart card reminding mode.
(3) A function setting item 49 for the user to set a power reminding threshold value, wherein charging is reminded when the battery power is lower than the power reminding threshold value.
Of course, in actual use, the user may also set the power reminding threshold of each electronic device. The real-time residual capacity of each electronic device can be displayed on the mobile phone APP, and under the condition that the residual capacity of the battery is smaller than or equal to the electric quantity reminding threshold value, the battery icon of the corresponding device in the mobile phone APP turns red to remind a user of charging in time.
It is to be understood that the function setting items shown in fig. 8 are only exemplary, and in actual implementation, the embodiment of the present application includes but is not limited to these function setting items, which may be determined according to actual use requirements, and the embodiment of the present application is not limited.
In the embodiment of the application, the function setting option for the charging reminding of each electronic device 2 is provided, so that the user can set the function of the charging reminding according to personal use requirements, and the user experience can be improved.
In the embodiment of the present application, in response to a second operation in which the user selects the plurality of electronic devices 2 as the power reminder objects, the electronic device 1 is authorized to provide the power reminder service to the plurality of electronic devices 2. Further, the electronic device 1 may acquire battery level information of a plurality of authorized electronic devices 2.
Exemplarily, as shown in fig. 9, after the charging reminder service is started, the electronic device 1 may display a my device interface 50, and an adding control 51 is displayed in the my device interface 50, and is used for adding various associated devices searched through Wi-Fi or bluetooth, and of course, may also be used for removing associated devices. For example, the electronic device 1 adds associated devices such as a bluetooth headset, a bracelet, a desk lamp, a notebook, a speaker, a tablet, a camera, and an electric toothbrush in response to a selection operation by a user. Referring to FIG. 9, there are displayed in my devices interface 50 information boxes for a plurality of associated devices: an information frame 52 of a Bluetooth headset, an information frame 53 of a bracelet, an information frame 54 of a desk lamp, an information frame 55 of a notebook, an information frame 56 of a sound box, an information frame 57 of a tablet computer, an information frame 58 of a camera and an information frame 59 of an electric toothbrush. These electronic equipment can follow the battery residual capacity and show in proper order from low toward high, and it is low excessively wherein to have reminded bluetooth headset and bracelet electric quantity, please charge in time. And a battery icon is displayed in each information frame. Therefore, the electric quantity prompt information of the electronic equipment needing to be charged can be displayed more obviously, the user can check the electric quantity prompt information conveniently, the user can select the equipment needing to be charged according to personal use requirements to charge, and the user experience can be improved.
It should be noted that, in actual implementation, the mobile phone and each electronic device support a Wi-Fi connection function, the mobile phone may search all electronic devices under the same Wi-Fi, and the mobile phone may determine whether to associate the selected electronic device in response to a device selection operation of a user, that is, provide a charging reminding service for the electronic device.
Optionally, when the electronic device 1 determines that the remaining power of the electronic device 2 is less than or equal to the first preset power threshold and the electronic device 2 supports the idle charging function, the electronic device 1 sends a charging instruction to the electronic device 2. The electronic device 2 receives the charging instruction transmitted by the electronic device 1.
Further, when the electronic device 2 satisfies the space charging condition, the electronic device 2 may perform space charging in response to the charging instruction.
In some embodiments, after the electronic device 2 performs the space charging in response to the charging instruction, when the remaining capacity of the electronic device 2 is greater than the second preset capacity threshold, the electronic device 2 stops the space charging. It is understood that the second preset charge threshold (i.e., the charge completion threshold) is greater than the first preset charge threshold (i.e., the charge reminder threshold).
In practical implementation, when the electronic device 1 determines that the remaining battery capacity of a certain rechargeable device in the plurality of rechargeable devices is greater than the charging completion threshold, the electronic device 1 sends a charging stop instruction to the rechargeable device to instruct the rechargeable device to stop charging. Further, the chargeable device stops the charging in the air after receiving the charging stop instruction and responding to the charging stop instruction.
For example, for an electronic device supporting charging in an air space, a mobile phone may access a corresponding node through a wireless connection manner such as Wi-Fi or bluetooth, obtain battery power information of the electronic device, and execute a charging command to start automatic charging if it is determined that the battery power is lower than a power reminding threshold. Further, the mobile phone obtains battery power information of the electronic device, and stops charging if the battery power is judged to be higher than the charging completion threshold.
It should be noted that, in addition to the manner that the mobile phone controls the rechargeable device to stop charging by sending a command, the embodiment of the present application further includes the following manner: when the remaining capacity of the electronic device supporting the space charging is greater than the charging completion threshold, the electronic device 2 may automatically control to stop the space charging. That is to say, when the rechargeable device completes charging, even if the charging stopping instruction sent by the mobile phone is not received, the rechargeable device can also end charging, so that the safety of automatic charging of the rechargeable device can be improved.
In this application embodiment, to the electronic equipment who supports charging at an interval, not only can support the warning of charging, can carry out intelligent automatic charging simultaneously. The automatic charging in the air gap is started when the residual electric quantity of the battery is lower than the electric quantity reminding threshold value, the charging is automatically stopped when the residual electric quantity of the battery is higher than the charging completion threshold value, the user operation is not needed, and the user experience is improved.
It should be noted that, in the embodiment of the present application, not only the mobile phone, but also all devices that need to be charged and are associated with the mobile phone may be prompted to be charged, and for a device that needs to be charged in an off-air manner, the mobile phone may control the device to start charging and stop charging by itself.
It should also be noted that in the embodiments of the present application, "greater than" may be replaced by "greater than or equal to" and "less than or equal to" may be replaced by "less than", or "greater than or equal to" may be replaced by "greater than" and "less than" may be replaced by "less than or equal to".
The various embodiments described herein may be implemented as stand-alone solutions or combined in accordance with inherent logic and are intended to fall within the scope of the present application.
It is to be understood that the methods and operations implemented by the electronic device in the above method embodiments may also be implemented by components (e.g., chips or circuits) that can be used in the electronic device.
Embodiments of the methods provided herein are described above, and embodiments of the apparatus provided herein are described below. It should be understood that the description of the apparatus embodiments corresponds to the description of the method embodiments, and therefore, for brevity, details are not repeated here, since the details that are not described in detail may be referred to the above method embodiments.
The solutions provided by the embodiments of the present application have been described above primarily in terms of method steps. It is understood that, in order to implement the above functions, the electronic device implementing the method includes corresponding hardware structures and/or software modules for performing the respective functions. Those of skill in the art would appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, according to the method example, the electronic device may be divided into the functional modules, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the embodiment of the present application is schematic, and is only one logical function division, and other feasible division manners may be available in actual implementation. The following description will be given taking the example of dividing each functional module corresponding to each function.
In order to better implement the method for prompting the equipment electric quantity information provided by the embodiment of the application, the embodiment of the application also provides a corresponding device.
Fig. 10 is a schematic block diagram of an apparatus 700 for prompting device power information according to an embodiment of the present application. The apparatus 700 may be used to perform the actions performed by the first electronic device or the electronic device 1 in the above method embodiments. The apparatus 700 includes a transceiving unit 710, a processing unit 720, and a display unit 730.
A transceiving unit 710, configured to obtain battery power information of M second electronic devices, where the battery power information of the M second electronic devices is used to indicate a remaining battery power and/or a used battery power of each of the M second electronic devices, and M is a positive integer;
a processing unit 720, configured to determine power indication information of a target electronic device in the M second electronic devices according to the battery power information of the M second electronic devices, where the target electronic device is a part of or all of the M second electronic devices;
a display unit 730, configured to display power prompt information of the target electronic device on a screen, and prompt at least one of the following: the battery residual capacity, the predicted available time length, whether charging is needed or not and the charging state of the target electronic equipment.
Through the scheme, the device 700 can acquire the battery capacity information of the rechargeable devices for unified management, and based on the battery capacity information of the rechargeable devices, the remaining battery capacity and related information (such as expected available time, whether charging and/or charging state is needed or not) of each rechargeable device are prompted to a user, so that the user can timely know the battery use conditions of the rechargeable devices, and whether the rechargeable devices need to be charged or not is determined according to actual use requirements, the operation is convenient and fast, and the user experience is improved. Therefore, the problem of complex operation in a scene that a large number of chargeable devices need to be checked frequently whether charging is needed or not can be solved.
In the embodiment of the application, the mobile phone can compare the battery power information of the rechargeable device with the corresponding preset power threshold; and then according to the comparison result, the mobile phone determines the electric quantity prompt information of the rechargeable equipment.
The preset electric quantity threshold is a threshold used for judging whether the electric quantity of the battery is sufficient or not or whether the battery needs to be charged or not.
Specifically, when the remaining battery capacity is less than or equal to the preset threshold, it indicates that the battery capacity is insufficient and needs to be charged. When the residual electric quantity of the battery is larger than the preset electric quantity threshold value, the electric quantity of the battery is sufficient, and charging is not needed temporarily. It should be noted that, since the charging is prompted when the remaining battery power is less than or equal to the preset power threshold, the preset power threshold may also be referred to as a preset power prompting threshold.
In a possible implementation manner, the target electronic device is a part of or all of the M second electronic devices that meet a preset condition, where the preset condition is that a remaining battery capacity of the electronic device is less than or equal to a corresponding preset capacity threshold.
According to the scheme, the battery electric quantity information of the rechargeable devices is uniformly managed, the electric quantity related information of the rechargeable devices meeting the preset charging condition can be pertinently prompted, so that a user can timely know which rechargeable devices need to be charged, the prompting information is more pertinent, the prompting effect is more obvious, and the user experience can be improved.
In one possible implementation, the display unit 730 is specifically configured to: and displaying the power prompt information of the target electronic equipment on a screen of the device 700 in a pop-up frame display mode.
According to the scheme, the rechargeable device meeting the preset charging condition can display the electric quantity related information in a message box mode, so that the rechargeable device is prompted to need to be charged, a user can conveniently and timely know which rechargeable devices need to be charged, the prompting effect is more obvious, and the user experience can be improved.
In a possible implementation manner, the target electronic device includes a first target electronic device and a second target electronic device, a battery remaining capacity of the first target electronic device is less than or equal to a corresponding preset capacity threshold, and a battery remaining capacity of the second target electronic device is greater than a corresponding preset capacity threshold;
the display unit 730 is specifically configured to: displaying power prompt information of a first target electronic device in a highlighted manner in a first area on a screen of the apparatus 700; and displaying the power prompt information of the second target electronic device in a non-highlighted manner in a second area on the screen of the apparatus 700.
In the scheme of the application, when the mobile phone displays the electric quantity related information of all the rechargeable devices, the electric quantity related information of the rechargeable devices meeting the preset charging condition can be highlighted relative to the rechargeable devices not meeting the preset charging condition, so that the rechargeable devices are highlighted and prompted to need to be charged, a user can know which rechargeable devices need to be charged conveniently in time, the prompting effect is obvious, and the user experience can be improved.
In one possible implementation, the display unit 730 is specifically configured to: at a preset time, a power prompt message of the target electronic device is displayed on the screen of the apparatus 700.
In the scheme of the application, the mobile phone automatically prompts the electric quantity related information of each rechargeable device to the user at intervals, so that the user can timely know the battery use conditions of the rechargeable devices, actual use requirements of the user can be met through timing reminding, and user experience is improved. Therefore, the problem of complex operation in a scene that a large number of chargeable devices need to be checked frequently whether charging is needed or not can be solved.
In one possible implementation, the display unit 730 is specifically configured to: and under the condition that the target electronic equipment comprises at least two second electronic equipment, sequentially displaying the electric quantity prompt information of the target electronic equipment according to the sequence of the residual electric quantity of the battery of the target electronic equipment from low to high.
In the scheme of the application, when the mobile phone displays the electric quantity related information of all the rechargeable devices, the electric quantity related information of the rechargeable devices meeting the preset charging condition can be displayed at the front main position, and the electric quantity related information of the rechargeable devices not meeting the preset charging condition can be displayed at the rear secondary position. Therefore, the battery electric quantity information of the rechargeable devices is uniformly managed and is sequentially and differentially displayed, so that a user can timely know which rechargeable devices need to be charged, and which rechargeable devices do not need to be charged at present, all-around display of the electric quantity service conditions of all the rechargeable devices is achieved, actual use requirements of the user are met, and user experience can be improved.
In one possible implementation, the display unit 730 is specifically configured to: and displaying a battery icon of the target electronic equipment on a screen in a preset color to prompt that the residual battery capacity of the target electronic equipment is less than or equal to the corresponding preset electric capacity threshold value.
In the embodiment of the application, the residual battery capacity of the rechargeable device is displayed through the battery icon, the prompting effect is more visual, and the user experience can be improved.
In one possible implementation, the display unit 730 is further configured to:
displaying an electric quantity threshold setting option, wherein the electric quantity threshold setting option is used for triggering and adjusting the preset electric quantity thresholds of the M pieces of second electronic equipment;
receiving a first operation of a user on an electric quantity threshold setting option;
and responding to the first operation, and updating the preset electric quantity threshold values of the M pieces of second electronic equipment into the preset electric quantity threshold value input through the first operation.
In a possible implementation manner, each of the M second electronic devices corresponds to a preset power threshold. And the preset electric quantity threshold corresponding to each piece of the M pieces of second electronic equipment supports user-defined setting.
The rechargeable devices can adopt the same preset electric quantity threshold value and also can adopt different preset electric quantity threshold values.
In the embodiment of the application, the mobile phone supports a user to self-define and set the preset electric quantity threshold values of the plurality of chargeable devices. Therefore, the user can set the preset electric quantity threshold of the rechargeable device according to actual use requirements, and user experience can be improved.
In one possible implementation, the processing unit 720 is further configured to: and respectively establishing wireless connection between the device 700 and the M second electronic devices by using a Wi-Fi wireless connection technology.
In the embodiment of the application, for a scene with a large number of rechargeable devices (such as a mobile phone, a tablet computer, a wireless bracelet, an electric toothbrush, an earphone, a neck massager and the like), interconnection and intercommunication between the mobile phone and each device can be realized through wireless networking, so that the mobile phone can uniformly manage battery power information of a plurality of rechargeable devices, and can prompt the battery residual power and related information of each rechargeable device to a user, so that the user can timely know the battery use conditions of the rechargeable devices, and the user experience can be improved.
In one possible implementation, the processing unit 720 is further configured to: in response to a second operation that the user selects M second electronic devices as the power reminding objects, the authorization apparatus 700 provides the power reminding service to the M second electronic devices.
In actual implementation, the mobile phone and each electronic device support a Wi-Fi connection function, the mobile phone can search all electronic devices under the same Wi-Fi, and the mobile phone can respond to a device selection operation of a user to determine whether to associate the selected electronic device, that is, to provide a charging reminding service for the electronic device.
In the embodiment of the application, the mobile phone can support the user to select and authorize the rechargeable device needing the electric quantity reminding service, and provide the electric quantity reminding service for the rechargeable device authorized by the user, so that the actual use requirement of the user can be better met, and the user experience can be improved.
In one possible implementation, the transceiving unit 710 is specifically configured to: and sending an electric quantity reporting request message to each of the M second electronic devices, receiving an electric quantity reporting response message sent by each of the M second electronic devices, and acquiring the battery electric quantity information of each electronic device from the electric quantity reporting response message.
In another possible implementation manner, the transceiver unit 710 is specifically configured to: and receiving the battery power information periodically and actively reported by each electronic device in the M second electronic devices.
In the embodiment of the application, the mobile phone can acquire the battery electric quantity information of the plurality of rechargeable devices in various possible ways, so that the reliability of the mobile phone in unified management of the battery electric quantity information of the plurality of rechargeable devices can be guaranteed.
In one possible implementation, the transceiving unit 710 is further configured to: when the processing unit 720 determines that the remaining battery power of the target electronic device is less than or equal to the first preset power threshold and the target electronic device supports the idle charging function, a charging instruction is sent to the target electronic device.
Further, the target electronic device receives the charging instruction sent by the transceiving unit 710; and when the target electronic equipment meets the air charging condition, the target electronic equipment responds to the charging instruction to carry out air charging.
In one possible implementation manner, after the target electronic device performs the blank charging in response to the charging instruction, when the remaining battery capacity of the target electronic device is greater than the second preset capacity threshold, the target electronic device stops the blank charging. And the second preset electric quantity threshold value is larger than the first preset electric quantity threshold value.
In this application embodiment, to the electronic equipment who supports charging at an interval, not only can support the warning of charging, can carry out intelligent automatic charging simultaneously. The automatic charging in the air gap is started when the residual electric quantity of the battery is lower than the electric quantity reminding threshold value, the charging is automatically stopped when the residual electric quantity of the battery is higher than the charging completion threshold value, the user operation is not needed, and the user experience is improved.
In one possible implementation, the transceiving unit 710 is further configured to: when the processing unit 720 determines that the remaining battery power of the target electronic device is greater than the second preset power threshold, a charging stop instruction is sent to the target electronic device.
Further, the target electronic device receives the charging stop instruction, and stops the space charging in response to the charging stop instruction.
In another possible implementation manner, when the target electronic device determines that the remaining battery capacity of the target electronic device is greater than the second preset capacity threshold, the target electronic device automatically stops the idle charging.
In the embodiment of the application, when the rechargeable device finishes charging, even if a charging stopping instruction sent by the mobile phone is not received, the rechargeable device can also finish charging, so that the safety of automatic charging of the electronic device can be improved.
The apparatus 700 according to the embodiment of the present application may correspond to performing the method described in the embodiment of the present application, and the above and other operations and/or functions of the units in the apparatus 700 are respectively for implementing corresponding flows of the method, and are not described herein again for brevity.
Referring to fig. 11, fig. 11 is a schematic structural diagram of an electronic device 800 according to an embodiment of the present disclosure. The electronic device 800 may be the electronic device 1 mentioned in the above embodiments.
The electronic device 800 may include a processor 810, an external memory interface 820, an internal memory 821, a Universal Serial Bus (USB) interface 830, a charge management module 840, a power management module 841, a battery 842, an antenna 1, an antenna 2, a mobile communication module 850, a wireless communication module 860, an audio module 870, a speaker 870A, a receiver 870B, a microphone 870C, a headset interface 870D, a sensor module 880, a key 890, a motor 891, an indicator 892, a camera 893, a display 894, and a Subscriber Identification Module (SIM) card interface 895, among others. The sensor module 880 may include a pressure sensor 880A, a gyroscope sensor 880B, an air pressure sensor 880C, a magnetic sensor 880D, an acceleration sensor 880E, a distance sensor 880F, a proximity light sensor 880G, a fingerprint sensor 880H, a temperature sensor 880I, a touch sensor 880J, an ambient light sensor 880K, a bone conduction sensor 880L, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 800. Electronic device 800 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 810 may include one or more processing units, such as: the processor 810 may include an Application Processor (AP), a modem processor (modem), a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors. A memory may also be provided in processor 810 for storing instructions and data.
The wireless communication function of the electronic device 800 may be implemented by the antenna 1, the antenna 2, the mobile communication module 850, the wireless communication module 860, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 800 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 850 may provide a solution including 2G/3G/4G/5G wireless communication applied on the electronic device 800. The mobile communication module 850 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 850 may receive electromagnetic waves from the antenna 1, filter, amplify, etc. the received electromagnetic waves, and transmit the electromagnetic waves to the modem processor for demodulation. The mobile communication module 850 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 850 may be disposed in the processor 810. In some embodiments, at least some of the functional blocks of the mobile communication module 850 may be disposed in the same device as at least some of the blocks of the processor 810.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 870A, the receiver 870B, etc.) or displays images or video through the display screen 894. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be separate from the processor 810, in the same device as the mobile communication module 850 or other functional modules. In some embodiments, electronic device 800 may include two modem processors, one corresponding to 4G and the other corresponding to 5G.
The wireless communication module 860 may provide a solution for wireless communication applied to the electronic device 800, including a Wireless Local Area Network (WLAN) (e.g., a wireless fidelity (Wi-Fi) network), a Bluetooth (BT), and the like. The wireless communication module 860 may be one or more devices that integrate at least one communication processing module. The wireless communication module 860 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 810. The wireless communication module 860 may also receive signals to be transmitted from the processor 810, frequency modulate them, amplify them, and convert them into electromagnetic waves via the antenna 2 to radiate them.
In some embodiments, antenna 1 of electronic device 800 is coupled to mobile communication module 850 and antenna 2 is coupled to wireless communication module 860, such that electronic device 800 may communicate with networks and other devices via wireless communication techniques. The wireless communication technologies may include GSM, GPRS, CDMA, WCDMA, TD-SCDMA, LTE, NR, BT, WLAN, NFC, FM, and/or IR technologies, among others.
The electronic device 800 implements display functions via the GPU, the display screen 894, and the application processor, among other things. The GPU is a microprocessor for image processing, and is connected to a display screen 894 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 810 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 894 is used to display images, video, and the like. The display screen 894 includes a display panel.
The electronic device 800 may implement a shooting function through the ISP, the camera 893, the video codec, the GPU, the display screen 894, and the application processor, etc. The ISP is used to process the data fed back by the camera 893. The camera 893 is used to capture still images or video. The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 800 selects a frequency bin, the digital signal processor is used to perform a fourier transform or the like on the frequency bin energy. The frequency codec is used to compress or decompress digital video.
The internal memory 821 may be used to store computer-executable program code, which includes instructions. The internal memory 821 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like.
Electronic device 800 may implement audio functionality via audio module 870, speaker 870A, receiver 870B, microphone 870C, headset interface 870D, and an application processor, among other things. Such as music playing, recording, etc.
The pressure sensor 880A is used to sense a pressure signal, which can be converted into an electrical signal. In some embodiments, pressure sensor 880A may be disposed on display screen 894.
Touch sensor 880J, also referred to as a "touch panel". The touch sensor 880J may be disposed on the display screen 894, and the touch sensor 880J and the display screen 894 form a touch screen, which is also referred to as a "touch screen". The touch sensor 880J is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operations may be provided via the display screen 894. In other embodiments, the touch sensor 880J can be disposed on a surface of the electronic device 800 at a different location than the display screen 894.
The SIM card interface 895 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic device 800 by being inserted into the SIM card interface 895 or by being pulled out of the SIM card interface 895. The electronic device 800 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 895 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. Multiple cards can be inserted into the same SIM card interface 895 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 895 may also be compatible with different types of SIM cards. The SIM card interface 895 may also be compatible with external memory cards. The electronic device 800 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 800 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 800 and cannot be separated from the electronic device 800.
In the embodiment of the present application, the SIM card is used for storing subscriber information, and the subscriber information may include IMSI. The electronic device 800 may register with the network using the user information as an identity.
The electronic device 800 in this embodiment of the application may be a smart phone (for example, a mobile phone with an Android system or an iOS system), a tablet computer, a notebook computer, a palm computer, a Mobile Internet Device (MID), a wearable device (for example, a smart watch, a smart bracelet, or the like), or another device that can access the internet.
It is to be understood that the components shown in fig. 11 are not to be construed as specifically limiting for electronic device 800, and that electronic device 800 may include more or fewer components than shown, or some components may be combined, or some components may be split, or a different arrangement of components.
It should be understood that the electronic device 800 according to an embodiment of the present application may correspond to the apparatus 700 in an embodiment of the present application, the processor 810 in the electronic device 800 may correspond to the processing unit 720 in the apparatus 700, the display screen 894 in the electronic device 800 may correspond to the display unit 730 in the apparatus 700, and the wireless communication module 860 in the electronic device 800 may correspond to the transceiving unit 710 in the apparatus 700. The above and other operations and/or functions of each unit in the apparatus 700 are respectively used for implementing the corresponding processes of the above method, and are not described herein again for brevity.
Optionally, in some embodiments, the present application further provides a computer-readable medium storing program code, which when executed on a computer, causes the computer to perform the method in the above aspects.
Optionally, in some embodiments, the present application further provides a chip, where the chip includes a processor, and the processor is coupled with a memory, and is configured to execute a computer program or instructions stored in the memory, so as to enable the chip to perform the method in the above aspects.
Optionally, in some embodiments, the present application further provides a computer program product, where the computer program product includes: computer program code which, when run on a computer, causes the computer to perform the method of the above-mentioned aspects.
In an embodiment of the application, an electronic device includes a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on top of the operating system layer. The hardware layer may include hardware such as a Central Processing Unit (CPU), a Memory Management Unit (MMU), and a memory (also referred to as a main memory). The operating system of the operating system layer may be any one or more computer operating systems that implement business processing through processes (processes), such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system. The application layer may include applications such as a browser, an address book, word processing software, and instant messaging software.
The embodiment of the present application does not particularly limit a specific structure of an execution subject of the method provided by the embodiment of the present application, as long as communication can be performed by the method provided by the embodiment of the present application by running a program in which codes of the method provided by the embodiment of the present application are recorded. For example, an execution subject of the method provided by the embodiment of the present application may be an electronic device, or a functional module capable of calling a program and executing the program in the electronic device.
Various aspects or features of the disclosure may be implemented as a method, apparatus, or article of manufacture using standard programming and/or engineering techniques. The term "article of manufacture" as used herein is intended to encompass a computer program accessible from any computer-readable device, carrier, or media. For example, computer-readable media may include, but are not limited to: magnetic storage devices (e.g., hard disk, floppy disk, or magnetic tape), optical disks (e.g., Compact Disk (CD), Digital Versatile Disk (DVD), etc.), smart cards, and flash memory devices (e.g., erasable programmable read-only memory (EPROM), card, stick, or key drive, etc.).
Various storage media described herein can represent one or more devices and/or other machine-readable media for storing information. The term "machine-readable medium" can include, but is not limited to: wireless channels and various other media capable of storing, containing, and/or carrying instruction(s) and/or data.
It should be understood that the processor mentioned in the embodiments of the present application may be a Central Processing Unit (CPU), and may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will also be appreciated that the memory referred to in the embodiments of the application may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM). For example, RAM can be used as external cache memory. By way of example and not limitation, RAM may include the following forms: static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and direct bus RAM (DR RAM).
It should be noted that when the processor is a general-purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, the memory (memory module) may be integrated into the processor.
It should also be noted that the memory described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
Those of ordinary skill in the art will appreciate that the various illustrative elements and steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. Furthermore, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, or portions thereof, may be embodied in the form of a computer software product stored in a storage medium, the computer software product including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the methods described in the embodiments of the present application. The foregoing storage media may include, but are not limited to: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (19)

1. A method for prompting device power information, comprising:
the method comprises the steps that a first electronic device obtains battery capacity information of M second electronic devices, the battery capacity information of the M second electronic devices is used for indicating the battery residual capacity and/or the used capacity of each electronic device in the M second electronic devices, and M is a positive integer;
the first electronic device determines power prompt information of a target electronic device in the M second electronic devices according to the battery power information of the M second electronic devices, wherein the target electronic device is part of or all of the M second electronic devices;
the first electronic equipment displays the electric quantity prompt information of the target electronic equipment on a screen, and is used for prompting at least one of the following items: the battery residual capacity, the predicted available time length, whether charging is needed or not and the charging state of the target electronic equipment.
2. The method according to claim 1, wherein the target electronic device is a part of or all of the M second electronic devices that satisfy a preset condition, and the preset condition is that a remaining battery capacity of an electronic device is less than or equal to a corresponding preset capacity threshold.
3. The method of claim 2, wherein the first electronic device displays a power prompt message of the target electronic device on a screen, comprising:
and the first electronic equipment displays the electric quantity prompt information of the target electronic equipment on a screen in a pop-up frame display mode.
4. The method of claim 1, wherein the target electronic devices comprise a first target electronic device and a second target electronic device, the battery remaining capacity of the first target electronic device is less than or equal to a corresponding preset capacity threshold, and the battery remaining capacity of the second target electronic device is greater than a corresponding preset capacity threshold;
wherein, the first electronic device displays the power prompt message of the target electronic device on the screen, and the method comprises the following steps:
the first electronic equipment displays the electric quantity prompt information of the first target electronic equipment in a highlighted mode in a first area on a screen;
and the first electronic equipment displays the electric quantity prompt information of the second target electronic equipment in a non-highlighted mode in a second area on the screen.
5. The method according to any one of claims 1 to 4, wherein the first electronic device displays a power prompt message of the target electronic device on a screen, and the method comprises the following steps:
and the first electronic equipment displays the electric quantity prompt information of the target electronic equipment on a screen at preset time.
6. The method according to any one of claims 1 to 5, wherein the first electronic device displays a power prompt message of the target electronic device on a screen, and the method comprises the following steps:
and under the condition that the target electronic equipment comprises at least two second electronic equipment, the first electronic equipment sequentially displays the electric quantity prompt information of the target electronic equipment according to the sequence of the residual electric quantity of the battery of the target electronic equipment from low to high.
7. The method of claim 4, wherein the first electronic device displays the power prompt message of the first target electronic device in a highlighted manner on a screen, and the method comprises:
the first electronic equipment displays a battery icon of the target electronic equipment on a screen in a preset color so as to prompt that the battery residual capacity of the target electronic equipment is smaller than or equal to a corresponding preset capacity threshold value.
8. The method according to any one of claims 1 to 7, further comprising:
the first electronic equipment displays an electric quantity threshold setting option which is used for triggering and adjusting the preset electric quantity thresholds of the M pieces of second electronic equipment;
the first electronic equipment receives a first operation of a user on the power threshold setting option;
in response to the first operation, the first electronic device updates the preset electric quantity threshold values of the M second electronic devices to the preset electric quantity threshold value input through the first operation.
9. The method according to any one of claims 1 to 8, wherein each of the M second electronic devices corresponds to a preset power threshold;
and the preset electric quantity threshold corresponding to each piece of the M second electronic equipment supports user-defined setting.
10. The method according to any one of claims 1 to 9, wherein before the first electronic device acquires battery level information of M second electronic devices, the method further comprises:
and the first electronic equipment establishes wireless connection with the M second electronic equipment respectively through a Wi-Fi wireless connection technology.
11. The method according to any one of claims 1 to 10, wherein before the first electronic device acquires battery level information of M second electronic devices, the method further comprises:
and in response to a second operation that the user selects the M second electronic devices as the power reminding objects, the first electronic device is authorized to provide the power reminding service for the M second electronic devices.
12. The method according to any one of claims 1 to 11, wherein the obtaining, by the first electronic device, battery level information of M second electronic devices comprises:
the first electronic device sends an electric quantity reporting request message to each of the M second electronic devices, receives an electric quantity reporting response message sent by each of the M second electronic devices, and acquires battery electric quantity information of each electronic device from the electric quantity reporting response message; alternatively, the first and second electrodes may be,
and the first electronic equipment receives the battery power information periodically and actively reported by each piece of the M second electronic equipment.
13. The method according to any one of claims 1 to 12, further comprising:
when the first electronic device judges that the residual battery capacity of the target electronic device is smaller than or equal to a first preset capacity threshold value and the target electronic device supports an empty charging function, the first electronic device sends a charging instruction to the target electronic device;
the target electronic equipment receives a charging instruction sent by the first electronic equipment;
and when the target electronic equipment meets the air charging condition, the target electronic equipment responds to the charging instruction to carry out air charging.
14. The method of claim 13, wherein after the target electronic device performs space charging in response to the charging instruction, the method further comprises:
when the residual battery capacity of the target electronic equipment is larger than a second preset capacity threshold value, stopping the air-spaced charging of the target electronic equipment;
and the second preset electric quantity threshold value is greater than the first preset electric quantity threshold value.
15. The method of claim 14, wherein the stopping of the idle charging of the target electronic device when the remaining battery power of the target electronic device is greater than a second preset power threshold comprises:
when the first electronic device judges that the residual battery capacity of the target electronic device is larger than the second preset capacity threshold value, the first electronic device sends a charging stopping instruction to the target electronic device;
the target electronic equipment receives the charging stopping instruction sent by the first electronic equipment;
and the target electronic equipment responds to the charging stopping instruction and stops the space charging.
16. The method of claim 14, wherein the stopping of the idle charging of the target electronic device when the remaining battery power of the target electronic device is greater than a second preset power threshold comprises:
and when the target electronic equipment judges that the residual battery capacity of the target electronic equipment is greater than the second preset capacity threshold value, the target electronic equipment automatically stops the space charging.
17. An electronic device comprising a processor coupled with a memory, the processor to execute a computer program or instructions stored in the memory to cause the electronic device to implement the method of any of claims 1-16.
18. A chip comprising a processor coupled with a memory, the processor being configured to execute a computer program or instructions stored in the memory to cause the chip to implement the method of any of claims 1 to 16.
19. A computer-readable storage medium, characterized in that it stores a computer program which, when run on an electronic device, causes the electronic device to perform the method of any of claims 1 to 16.
CN202110650008.2A 2021-06-10 2021-06-10 Method, device, chip and storage medium for prompting device electric quantity information Active CN113542487B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202211034712.6A CN115514841A (en) 2021-06-10 2021-06-10 Method, device, chip and storage medium for prompting device electric quantity information
CN202211034962.XA CN115514842A (en) 2021-06-10 2021-06-10 Method, device, chip and storage medium for prompting device electric quantity information
CN202110650008.2A CN113542487B (en) 2021-06-10 2021-06-10 Method, device, chip and storage medium for prompting device electric quantity information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110650008.2A CN113542487B (en) 2021-06-10 2021-06-10 Method, device, chip and storage medium for prompting device electric quantity information

Related Child Applications (2)

Application Number Title Priority Date Filing Date
CN202211034712.6A Division CN115514841A (en) 2021-06-10 2021-06-10 Method, device, chip and storage medium for prompting device electric quantity information
CN202211034962.XA Division CN115514842A (en) 2021-06-10 2021-06-10 Method, device, chip and storage medium for prompting device electric quantity information

Publications (2)

Publication Number Publication Date
CN113542487A true CN113542487A (en) 2021-10-22
CN113542487B CN113542487B (en) 2022-09-09

Family

ID=78124833

Family Applications (3)

Application Number Title Priority Date Filing Date
CN202211034712.6A Pending CN115514841A (en) 2021-06-10 2021-06-10 Method, device, chip and storage medium for prompting device electric quantity information
CN202211034962.XA Pending CN115514842A (en) 2021-06-10 2021-06-10 Method, device, chip and storage medium for prompting device electric quantity information
CN202110650008.2A Active CN113542487B (en) 2021-06-10 2021-06-10 Method, device, chip and storage medium for prompting device electric quantity information

Family Applications Before (2)

Application Number Title Priority Date Filing Date
CN202211034712.6A Pending CN115514841A (en) 2021-06-10 2021-06-10 Method, device, chip and storage medium for prompting device electric quantity information
CN202211034962.XA Pending CN115514842A (en) 2021-06-10 2021-06-10 Method, device, chip and storage medium for prompting device electric quantity information

Country Status (1)

Country Link
CN (3) CN115514841A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103430A (en) * 2022-08-26 2022-09-23 南昌龙旗信息技术有限公司 Electric quantity monitoring method, device, equipment and storage medium of wearable equipment
CN116780729A (en) * 2023-08-28 2023-09-19 荣耀终端有限公司 Charging reminding method and electronic equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116699422B (en) * 2022-12-30 2024-04-02 荣耀终端有限公司 Battery electric quantity calculating method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140240138A1 (en) * 2013-02-26 2014-08-28 Samsung Electronics Co., Ltd Method for performing alarm function and electronic device thereof
US20150373022A1 (en) * 2014-06-23 2015-12-24 Google Inc. Selectively Restricting Communications from Third Party Applications/Devices to Electronic Devices
CN108566637A (en) * 2018-03-30 2018-09-21 努比亚技术有限公司 A kind of equipment charge based reminding method, terminal and computer readable storage medium
CN112636400A (en) * 2019-09-24 2021-04-09 惠州迪芬尼声学科技股份有限公司 Charging reminding method for rechargeable equipment and memory

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM408868U (en) * 2011-02-14 2011-08-01 Univ Chaoyang Technology Wireless intelligent spaced electrical charging system
CN104375090B (en) * 2014-11-12 2017-05-24 国网重庆市电力公司电力科学研究院 Rechargeable lithium battery remaining capacity remote monitoring method
CN105373464B (en) * 2015-11-25 2018-09-18 小米科技有限责任公司 The charging reminding method and device of wearable device
US10042595B2 (en) * 2016-09-06 2018-08-07 Apple Inc. Devices, methods, and graphical user interfaces for wireless pairing with peripheral devices and displaying status information concerning the peripheral devices
CN112235452B (en) * 2018-04-28 2022-04-12 华为技术有限公司 Screen-off display method and electronic equipment
CN111313114B (en) * 2020-02-10 2022-02-01 维沃移动通信有限公司 Charging method and electronic equipment
CN111596986B (en) * 2020-04-24 2024-04-02 维沃移动通信有限公司 Information prompting method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140240138A1 (en) * 2013-02-26 2014-08-28 Samsung Electronics Co., Ltd Method for performing alarm function and electronic device thereof
US20150373022A1 (en) * 2014-06-23 2015-12-24 Google Inc. Selectively Restricting Communications from Third Party Applications/Devices to Electronic Devices
CN108566637A (en) * 2018-03-30 2018-09-21 努比亚技术有限公司 A kind of equipment charge based reminding method, terminal and computer readable storage medium
CN112636400A (en) * 2019-09-24 2021-04-09 惠州迪芬尼声学科技股份有限公司 Charging reminding method for rechargeable equipment and memory

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103430A (en) * 2022-08-26 2022-09-23 南昌龙旗信息技术有限公司 Electric quantity monitoring method, device, equipment and storage medium of wearable equipment
CN116780729A (en) * 2023-08-28 2023-09-19 荣耀终端有限公司 Charging reminding method and electronic equipment
CN116780729B (en) * 2023-08-28 2023-10-27 荣耀终端有限公司 Charging reminding method and electronic equipment

Also Published As

Publication number Publication date
CN113542487B (en) 2022-09-09
CN115514842A (en) 2022-12-23
CN115514841A (en) 2022-12-23

Similar Documents

Publication Publication Date Title
CN113542487B (en) Method, device, chip and storage medium for prompting device electric quantity information
CN113382397B (en) Bluetooth connection method, device and system
AU2015347444B2 (en) Electronic device and battery charge/discharge control method thereof
US10183680B2 (en) Mobile terminal and method for controlling application for vehicle
US11683850B2 (en) Bluetooth reconnection method and related apparatus
CN112771900B (en) Data transmission method and electronic equipment
CN110572803A (en) Bluetooth switching method and Bluetooth device
KR20150098827A (en) Electronic apparatus and power saving method thereof
CN103780758A (en) Wearable communication device and information synchronization method thereof
CN108471632B (en) Information processing method and device, mobile terminal and computer readable storage medium
KR20150106233A (en) Method and Electronic device for Performing Functions among a plurality of Devices
CN109525012B (en) Charging device, charging control method, charging control system, and storage medium
US10681200B2 (en) Message processing method and system, and related device
US9621986B2 (en) Electronic device, audio device, and method for supplying power to the audio device
CN114499587B (en) Audio synchronization communication method, system, wireless earphone, terminal and storage medium
CN111212412A (en) Near field communication method and device, computer readable storage medium and electronic equipment
CN113691678B (en) Call control method, electronic device, computer readable storage medium and chip system
CN114430543A (en) Communication control method and device of mobile terminal, storage medium and electronic equipment
CN106227645A (en) electric quantity display method and device
CN113489844B (en) Volume gear adjusting method and electronic equipment
CN116231815B (en) Method for controlling charging and electronic equipment
CN114666744B (en) Method, device, equipment, storage medium and product for connecting near field communication equipment
CN113282361A (en) Window processing method and electronic equipment
CN111885686A (en) Equipment network awakening method, awakening receiving terminal and awakening initiating terminal
CN112119566A (en) Power supply method, device, system 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