Watch, earphone electric quantity distribution method and device, watch and storage medium

By detecting the remaining battery level of the smartwatch and limiting the charging amount of the earphones, the problem of unreasonable power distribution when the smartwatch charges the wireless earphones is solved, thus extending the device's battery life.

CN121663695APending Publication Date: 2026-03-13东莞市步步高教育软件有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-09
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

In existing technologies, smartwatches fail to allocate power reasonably when charging wireless earphones, resulting in excessive power consumption of the watch and affecting battery life and user experience.

Method used

By detecting the current remaining battery level of the smartwatch, the target charging amount of the earphones can be determined, and the charging amount can be limited to prevent excessive consumption of the smartwatch's battery, thereby extending the overall battery life of the device.

Benefits of technology

It effectively prevents excessive battery drain from the watch, extends the overall battery life of the device, and ensures that the watch, as the main device, can continue to operate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121663695A_ABST
    Figure CN121663695A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a watch and earphone electric quantity distribution method and device, a watch and a storage medium, which are used for effectively preventing excessive consumption of the electric quantity of the watch by limiting the charging quantity of an earphone and prolonging the overall endurance time of equipment. The method provided by the embodiment of the invention comprises the following steps: detecting the current first residual electric quantity of the watch under the condition that the earphone is placed in the watch for charging; according to the current first residual electric quantity, determining a target to-be-charged quantity of the earphone, the target to-be-charged quantity being smaller than the current first residual electric quantity; and charging the earphone according to the target to-be-charged amount.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of charging, and more particularly to a method, apparatus, watch, storage medium, and computer program product for distributing power to watches and headphones. Background Technology

[0002] With the increasing popularity of smart wearable devices, smartwatches and wireless earphones have become increasingly popular in the market. However, current technologies typically focus only on the hardware integration of the earphones and the watch. While the watch can charge the earphones, how to distribute the power between the watch and the earphones when charging them is a problem that urgently needs to be solved. Summary of the Invention

[0003] This application provides a method, apparatus, watch, storage medium, and computer program product for distributing the power of a watch and headphones, which effectively prevents excessive power consumption of the watch by limiting the charging amount of the headphones, thereby extending the overall battery life of the device.

[0004] The first aspect of this application provides a method for battery allocation in a watch and headphones, which may include:

[0005] When the earphones are placed in the watch for charging, the watch's current first remaining battery level is detected;

[0006] Based on the current first remaining battery level, the target charging amount of the earphone is determined, and the target charging amount is less than the current first remaining battery level.

[0007] The earphones are charged according to the target amount of charge.

[0008] A second aspect of this application provides a device for distributing power in watches and headphones, which may include:

[0009] A detection module is used to detect the current first remaining battery power of the watch when the earphones are placed in the watch for charging.

[0010] The determining module is used to determine the target charging amount of the earphone based on the current first remaining battery power, wherein the target charging amount is less than the current first remaining battery power.

[0011] A charging module is used to charge the earphones according to the target amount of charge.

[0012] A third aspect of this application provides a terminal device that may include a memory and a processor. The memory stores a computer program that can run on the processor, and the processor executes the computer program to implement the method described in the first aspect of this application.

[0013] A fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the method described in the first aspect of this application.

[0014] The fifth aspect of this application provides a computer program product, including a computer program that, when executed by a processor, implements the method described in the first aspect of this application.

[0015] Another aspect of this application discloses an application publishing platform for publishing computer program products, wherein when the computer program product is run on a computer, the computer executes the method described in the first aspect of this application.

[0016] As can be seen from the above technical solutions, the embodiments of this application have the following advantages:

[0017] In this embodiment, when the earphones are placed in the watch for charging, the current first remaining battery level of the watch is detected; based on the current first remaining battery level, a target charging amount for the earphones is determined, the target charging amount being less than the current first remaining battery level; and the earphones are charged according to the target charging amount. This effectively prevents excessive battery consumption of the watch by limiting the charging amount of the earphones, thereby extending the overall battery life of the device. Attached Figure Description

[0018] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments and the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application, and other drawings can be obtained based on these drawings.

[0019] Figure 1A This is a schematic diagram illustrating a scenario where the headphones and watch are integrated, as used in the embodiments of this application.

[0020] Figure 1B This is a schematic diagram illustrating the removal of the earphones from the watch in an embodiment of this application;

[0021] Figure 2 This is a schematic diagram of one embodiment of the method for distributing battery power between a watch and headphones in this application.

[0022] Figure 3A This is a schematic diagram of the prompt interface including a first charging option, a second charging option, and a third charging option in an embodiment of this application.

[0023] Figure 3B This is a schematic diagram of the prompt interface including prompt information in an embodiment of this application;

[0024] Figure 3CThis is a schematic diagram of the prompt interface in this embodiment of the application, which includes prompt information, a continue charging indicator, and a stop charging indicator.

[0025] Figure 4 This is a schematic diagram of another embodiment of the method for distributing battery power between a watch and headphones in this application.

[0026] Figure 5 This is a schematic diagram of one embodiment of the device for distributing battery power between a watch and headphones in this application.

[0027] Figure 6 This is a schematic diagram of one embodiment of the watch in this application;

[0028] Figure 7 The image shown is a schematic diagram of another embodiment of the watch in this application. Detailed Implementation

[0029] This application provides a method, apparatus, watch, storage medium, and computer program product for distributing the power of a watch and headphones, which effectively prevents excessive power consumption of the watch by limiting the charging amount of the headphones, thereby extending the overall battery life of the device.

[0030] To enable those skilled in the art to better understand the present application, the technical solutions of the embodiments of the present application will be described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. All embodiments based on the present application should fall within the scope of protection of the present application.

[0031] In some implementations of smartwatch and wireless earphone combos, the power allocation when the watch charges the earphones is not reasonable. Often, the watch's power is consumed uncontrollably while the earphones are charging, causing the watch's remaining power to decrease rapidly. As a result, the battery life is significantly reduced, affecting the normal use of the watch and ultimately impacting the user experience.

[0032] This application proposes a novel power allocation method that effectively prevents excessive battery consumption of the watch by limiting the charging amount of the earphones, thereby extending the overall battery life of the device. Figure 1A The image shown is a schematic diagram illustrating a scenario where the headphones and watch are integrated, as applied in an embodiment of this application. Figure 1B The image shown is a schematic diagram illustrating the removal of the earphones from the watch in an embodiment of this application.

[0033] like Figure 2 The diagram shown is a schematic representation of an embodiment of the method for distributing battery power between a watch and headphones in this application, including:

[0034] 201. When the earphones are placed in the watch for charging, detect the current first remaining battery level of the watch.

[0035] In this application, "electrical power" refers to battery capacity. The watch is a smartwatch, and the earphones are wireless earphones compatible with the smartwatch. Some smartwatches feature the ability to charge the wireless earphones while they are inside the watch. This type of smartwatch not only combines earphones and a watch but also innovatively designs the function of charging the earphones directly within the watch, providing great convenience for users. Users can place the earphones inside the watch, detect the watch's current remaining battery level, and charge the earphones using the watch's current remaining battery level. This design not only saves space but also improves ease of use.

[0036] Optionally, in some possible implementations, detecting the current first remaining battery level of the watch when the earphones are placed in the watch for charging may include: detecting the current first remaining battery level of the watch through a battery monitoring module when the earphones are placed in the watch for charging.

[0037] In this technical solution, the watch's current remaining battery level can be detected in real time through the built-in battery detection module, which facilitates the subsequent determination of the target charging level of the earphones.

[0038] For example, the current remaining battery level of a watch can be detected through methods such as battery power meter, voltage and current monitoring, coulomb counter, battery modeling, open-loop voltage detection, boost converter, and software algorithm.

[0039] The implementation of a watch's battery monitoring module typically involves the following key technologies, as shown below:

[0040] Battery fuel gauge: Smartwatches typically integrate a battery fuel gauge, such as the one mentioned in Texas Instruments' TIDA-00712 reference design, which features impedance tracking power monitoring technology. This type of fuel gauge can provide a near-plug-and-play battery power monitoring solution.

[0041] Voltage and current monitoring: By monitoring the battery's voltage and current, the remaining battery power can be estimated. For example, in an STM32-based smart health monitoring watch project, data from a heart rate sensor is read via an I2C interface and combined with data from other sensors for health monitoring and management.

[0042] Coulomb counting: This method calculates the current flowing through the battery by connecting a current-sensing resistor in series with the positive and negative terminals and detecting the resulting induced voltage. The result is then integrated over time to calculate the amount of electricity consumed. This method can accurately track changes in the battery's charge level.

[0043] Battery modeling method: By establishing a data table of battery discharge curves, indicating the charge value at different voltages, and obtaining the remaining charge value by looking up the table, the measurement accuracy can be effectively improved.

[0044] Open-loop voltage detection method: This method estimates the battery level by monitoring the battery voltage, but it may not be accurate enough when the battery level is below 50%.

[0045] Boost converters: In some designs, such as the TPS61046, they can provide output voltages up to 28V, suitable for smartwatches with Liquid Crystal Display (LCD) displays.

[0046] Software algorithms: Smartwatch battery monitoring may also rely on software algorithms to measure battery impedance by combining the battery's OCV (Open Circuit V) and the voltage difference under load conditions, and predict the remaining power.

[0047] In this technical solution, through the methods described above, the smartwatch can effectively monitor and manage the remaining battery power, provide users with accurate power information, and ensure the normal operation of the device.

[0048] 202. Based on the current first remaining battery power, determine the target charging amount of the earphone, wherein the target charging amount is less than the current first remaining battery power.

[0049] For example, the watch can determine the target charging amount of the earphones based on the current remaining battery level, and the target charging amount is less than the current remaining battery level. Therefore, in this technical solution, by limiting the charging amount of the earphones, excessive battery consumption of the watch can be effectively prevented, thus extending the overall battery life of the device.

[0050] Optionally, in some possible implementations, the method may further include: detecting the current amount of charge to be applied to the earphone, the current amount of charge to be applied to the earphone being the amount of power required to fully charge the earphone's battery; and determining the target amount of charge to be applied to the earphone based on the current first remaining power level, which may include: determining the target amount of charge to be applied to the earphone based on the current first remaining power level and the current amount of charge to be applied to the earphone.

[0051] For example, the current charge-to-charge level of the headphones can be detected, which is the amount of power required to fully charge the headphones' battery. The current charge-to-charge level can be detected directly, or it can be obtained by detecting the headphones' current second remaining battery level and calculating the difference between the headphones' second total battery level and the current second remaining battery level. In this technical solution, the target charge-to-charge level of the headphones can be determined based on the current first remaining battery level and the current charge-to-charge level, allowing for a more accurate determination of the target charge-to-charge level.

[0052] Optionally, in some possible implementations, the difference between the first percentage and the second percentage is less than a difference threshold; wherein, the first percentage is the ratio of the current first remaining battery level to the first total battery level after the watch charges the earphone to the target charging amount, and the second percentage is the ratio of the current second remaining battery level to the second total battery level after the earphone is charged to the target charging amount; the target charging amount is less than or equal to the current charging amount; the first total battery level is the total battery capacity of the watch, and the second total battery level is the total battery capacity of the earphone. That is, the first total battery level is the total battery capacity that the watch battery can store, and the second total battery level is the total battery capacity that the earphone battery can store.

[0053] In this technical solution, after the watch charges the earphones to the target charging amount, the difference between the first percentage of the watch's remaining battery level to the first total battery level and the second percentage of the earphones' remaining battery level to the second total battery level after charging is less than a threshold difference. Therefore, the first and second percentages are relatively balanced. For example, if the first percentage of the watch's remaining battery level to the earphones after charging to the target charging amount is 50%, the second percentage of the earphones' remaining battery level to the second total battery level after charging to the target charging amount is also 50%. This technical solution ensures that the remaining batteries of the watch and earphones remain relatively balanced, improving the overall battery life of both devices and preventing the watch from running out of battery due to overcharging the earphones, thus ensuring the watch, as the main device, can operate continuously.

[0054] Optionally, in some possible implementations, determining the target charging capacity of the earphones based on the current first remaining battery power and the current charging capacity can be implemented in ways including but not limited to the following:

[0055] Method 1: If the current remaining power is greater than the current amount to be charged, the target amount to be charged is determined as the current amount to be charged.

[0056] For example, if the watch's current first remaining battery level is 200mA and the earphone's current charging capacity is 60mA, since the current first remaining battery level of 200mA is greater than the current charging capacity of 60mA, even if the earphone is fully charged, the watch will still have remaining battery level for normal operation. Therefore, the target charging capacity of the earphone is determined to be the current charging capacity of 60mA, which means the earphone can be fully charged.

[0057] or,

[0058] Method 2: If the current remaining battery power is greater than the current amount to be charged, and the current battery temperature of the watch is less than the temperature threshold, then the target amount to be charged is determined as the current amount to be charged.

[0059] For example, if the watch's current remaining battery level is 200mA and the earphone's current charge level is 60mA, since the current remaining battery level of 200mA is greater than the current charge level of 60mA, even if the earphone is fully charged, the watch will still have remaining battery power for normal operation. Moreover, the watch's current battery temperature is below the temperature threshold, indicating that the watch's current battery temperature is not high, making it relatively safe to charge the earphone. Therefore, the target charge level can be determined to be the current charge level of 60mA, which is sufficient to fully charge the earphone.

[0060] or,

[0061] Method 3: When the current first remaining power is greater than the current amount to be charged, and the ratio of the current amount to be charged to the current first remaining power is less than a proportional threshold, the target amount to be charged is determined as the current amount to be charged.

[0062] For example, if the watch's current remaining battery level is 200mA and the earphone's current charge-to-charge level is 60mA, the ratio of the current charge-to-charge level (60mA) to the current remaining battery level (200mA) is 0.3. Assuming the ratio threshold is 0.5, then 0.3 is less than the ratio threshold of 0.5, which means that the ratio of the current charge-to-charge level to the current remaining battery level is small. Therefore, the target charge-to-charge level for the earphone is determined to be the current charge-to-charge level of 60mA, which is sufficient to fully charge the earphone.

[0063] or,

[0064] Method 4: When the current first remaining power is greater than the current amount to be charged, the ratio of the current amount to be charged to the current first remaining power is less than a ratio threshold, and the current battery temperature of the watch is less than a temperature threshold, the target amount to be charged is determined as the current amount to be charged.

[0065] For example, if the watch's current remaining battery power is 200mA and the earphone's current charge-to-charge capacity is 60mA, the ratio of the current charge-to-charge capacity (60mA) to the current remaining battery power (200mA) is 0.3. Assuming the ratio threshold is 0.5, 0.3 is less than the ratio threshold of 0.5, indicating that the ratio of the current charge-to-charge capacity to the current remaining battery power is small. Furthermore, the watch's current battery temperature is less than the temperature threshold, indicating that the watch's current battery temperature is not high, making it relatively safer to charge the earphones. Therefore, the target charge-to-charge capacity can be determined to be the current charge-to-charge capacity of 60mA, which is sufficient to fully charge the earphones.

[0066] In this technical solution, when the current remaining battery power of the watch is greater than the current chargeable amount of the earphone, several methods are proposed to determine the target chargeable amount, thereby improving the feasibility of the solution.

[0067] The method for measuring the watch's battery temperature is explained below:

[0068] (1) Temperature sensor integration: Smartwatches can have built-in temperature sensors, such as thermistors or high-precision digital temperature sensors, to directly measure the battery temperature. These sensors can provide real-time temperature readings to help monitor the battery's thermal state.

[0069] (2) Contact measurement: Some smartwatches may use contact temperature sensors, which measure temperature by being placed in close contact with the battery surface or the inner wall of the battery compartment. This method can provide relatively accurate battery temperature data.

[0070] (3) Non-contact measurement: Although uncommon, some smartwatches may use non-contact infrared sensors to measure the temperature of the battery surface. This method may not be as accurate as contact measurement, but it allows for measurement without physical contact.

[0071] (4) Battery Management System (BMS): The battery management system of a smartwatch may include temperature monitoring functionality. The BMS is responsible for the charging and discharging management of the battery, while monitoring the battery's voltage, current, and temperature to ensure safe battery operation.

[0072] (5) Software algorithm assistance: The software of the smartwatch can analyze the battery usage patterns and charging and discharging data through algorithms to predict the temperature changes of the battery. Even without a direct temperature measurement device, it can provide a certain degree of temperature estimation.

[0073] (6) Multi-sensor data fusion: Some smartwatches may combine data from multiple sensors, such as accelerometers and ambient light sensors, and use algorithms to analyze the data to assist in monitoring battery temperature.

[0074] (7) Application of thermoelectric technology: Smartwatches also use thermoelectric technology, which utilizes the principle of temperature difference to generate electricity. It not only powers the watch but also monitors the battery temperature, achieving "never needing to be charged" while managing the temperature.

[0075] Optionally, in addition to implementations 1-4 described above, the method may also include the following implementations, as shown below:

[0076] Method 5: When the current first remaining battery power is greater than the current amount to be charged, and the ratio of the current amount to be charged to the current first remaining battery power is greater than or equal to a ratio threshold, determine the third ratio of the current first remaining battery power to the first total battery power in the watch, and detect the fourth ratio of the current second remaining battery power to the second total battery power in the earphone, where the first total battery power is the total battery power in the watch and the second total battery power is the total battery power in the earphone.

[0077] If the third proportion is less than the fourth proportion, the target amount to be charged is determined to be 0; or,

[0078] When the third percentage is greater than the fourth percentage, the target amount to be charged is determined such that the difference between the first percentage after the watch charges the earphone to the target amount to be charged and the second percentage after the earphone is charged to the target amount to be charged is less than a difference threshold, wherein the target amount to be charged is less than or equal to the current amount to be charged.

[0079] For example, if the watch's current first remaining battery level is 100mA and the earphone's current charging capacity is 50mA, then the ratio of the current charging capacity (50mA) to the current first remaining battery level (100mA) is 0.5. Assuming the ratio threshold is 0.5, this means that the current charging capacity accounts for half of the current first remaining battery level. In this case, we can detect the third percentage of the watch's current first remaining battery level relative to the watch's total battery level (e.g., 800mA), which is 100mA / 800mA = 0.125. We also need to detect the fourth percentage of the earphone's current second remaining battery level relative to the earphone's total battery level (e.g., 100mA), which is 50mA / 100mA = 0.5. Since the third percentage (0.125) is less than the fourth percentage (0.5), it indicates that the phone's remaining battery level is low. In this technical solution, to ensure the normal operation of the watch, we can determine that the earphone's target charging capacity is 0, meaning that the earphone does not need to be charged.

[0080] If the watch's current first remaining battery level is 500mA and the earphone's current charging capacity is 50mA, then the ratio of the current charging capacity (50mA) to the current first remaining battery level (100mA) is 0.5. Assuming the ratio threshold is 0.5, this means the current charging capacity accounts for half of the current first remaining battery level. Next, we can detect the third percentage of the watch's current first remaining battery level relative to its total battery level (e.g., 800mA). This third percentage is 500mA / 800mA = 0.625, indicating that the watch has a significant amount of battery remaining. We also need to detect the fourth percentage of the earphone's current second remaining battery level relative to its total battery level (e.g., 100mA). This fourth percentage is 50mA / 100mA = 0.5. Since the third percentage (0.625) is less than the fourth percentage (0.5), we can determine that the earphone's target charging capacity is 12mA. Theoretically, after charging the headphones by another 12mA, the headphones' current second remaining battery level will be updated to 62mA, and the watch's current first remaining battery level will be updated to 488mA. The third percentage of the watch's total battery level (e.g., 800mA) from the first percentage will be updated to 0.61, and the fourth percentage of the headphones' current second remaining battery level (e.g., 100mA) from the second percentage will be updated to 0.62. Therefore, the difference between the first percentage (0.61) and the second percentage (0.62) is only 0.01, essentially equal. This technical solution ensures a relative balance between the watch's current first remaining battery level and the headphones' current second remaining battery level, preventing the watch's battery from becoming too low due to overcharging the headphones, thus ensuring the watch, as the main device, can continue to operate.

[0081] In this technical solution, if the current first remaining power is greater than the current amount to be charged, and the ratio of the current amount to be charged to the current first remaining power is greater than or equal to a ratio threshold, the target amount to be charged can be determined by comparing the proportion of the remaining power of the watch and the proportion of the remaining power of the headphones.

[0082] Optionally, in addition to implementations 1-5 described above, the method may also include the following implementations, as shown below:

[0083] Method 6: If the current first remaining power is less than or equal to the current amount to be charged, determine the target amount to be charged as 0.

[0084] For example, if the watch's current remaining battery power is 70mA and the earphone's current charging capacity is 80mA, then the current remaining battery power of 70mA is less than the current charging capacity of 80mA. Normally, the watch's total battery power is relatively large, while the earphone's is relatively small. If the watch's current remaining battery power is less than the earphone's current charging capacity, it means the watch's current remaining battery power is very low and insufficient to fully charge the earphone. Therefore, to ensure the watch's normal operation, the target charging capacity for the earphone is set to 0. In this technical solution, when the watch's current remaining battery power is less than or equal to the earphone's current charging capacity, the target charging capacity for the earphone is set to 0 to ensure the watch's normal operation.

[0085] or,

[0086] Method 7: If the current remaining power is less than or equal to the current amount to be charged, determine the target amount to be charged as 0 and output a prompt interface.

[0087] For example, based on the above implementation method 6, after determining that the target charging capacity for the earphones is 0, a prompt interface can be output, displaying a prompt message indicating that charging the earphones will be refused. In this technical solution, after determining that the target charging capacity for the earphones is 0, a prompt message can also be output so that the user knows that the watch has low remaining battery and will not charge the earphones, which helps the user to proceed to the next step.

[0088] or,

[0089] Method 8: If the current remaining battery power is less than or equal to the current chargeable amount, and the current battery temperature of the watch is greater than or equal to the temperature threshold, the target chargeable amount is determined to be 0.

[0090] For example, if the watch's current remaining battery power is 70mA and the earphone's current charging capacity is 80mA, then the current remaining battery power of 70mA is less than the current charging capacity of 80mA. Normally, the watch's total battery power is relatively large, while the earphone's is relatively small. If the watch's current remaining battery power is less than the earphone's current charging capacity, it means the watch's current remaining battery power is insufficient to fully charge the earphone. Furthermore, if the watch's current battery temperature is greater than or equal to a temperature threshold, it indicates a high battery temperature, posing a safety risk when charging the earphone. Therefore, in this technical solution, if the watch's current remaining battery power is insufficient to fully charge the earphone, and the watch's current battery temperature is greater than or equal to a temperature threshold, then the earphone's target charging capacity is set to 0. This ensures both the normal operation of the watch and the user's safety when using the watch.

[0091] or,

[0092] Method 9: When the current remaining battery power is less than or equal to the current charging amount, and the current battery temperature of the watch is greater than or equal to a temperature threshold, the target charging amount is determined to be 0, and a prompt interface is output. The prompt interface includes a prompt message indicating that charging of the headphones will be refused. For example, based on the above implementation of Method 8, after determining that the target charging amount for the headphones is 0, a prompt interface can also be output, displaying a prompt message indicating that charging of the headphones will be refused. In this technical solution, determining that the target charging amount for the headphones is 0 ensures both the normal operation of the watch and the user's safety when using the watch; it also outputs a prompt message so that the user knows that the watch has low remaining battery power and will not charge the headphones, helping the user to proceed with the next step.

[0093] Optionally, in some possible implementations, in addition to the implementations 1-9 described above, the method may also include the following implementations, as shown below:

[0094] Method 10: When the current first remaining battery power is less than or equal to the current amount to be charged, determine the third ratio of the current first remaining battery power to the first total battery power in the watch, and detect the fourth ratio of the current second remaining battery power to the second total battery power in the earphone, where the first total battery power is the total battery power in the watch and the second total battery power is the total battery power in the earphone;

[0095] If the third proportion is less than the fourth proportion, the target amount to be charged is determined to be 0; or,

[0096] If the third percentage is greater than the fourth percentage, the target amount to be charged is determined such that the difference between the first percentage of the watch after charging the earphone to the target amount to the target amount and the second percentage of the earphone after being charged to the target amount to the target amount to the target amount is less than the difference threshold, and the target amount to be charged is less than the current first remaining battery level.

[0097] For example, if the watch's current remaining battery power is 70mA and the earphone's current charging capacity is 80mA, then the current remaining battery power of 70mA is less than the current charging capacity of 80mA. In this case, we can detect the first percentage of the watch's current remaining battery power to the watch's total battery power (e.g., 800mA). The first percentage is 70mA / 800mA = 0.0875, indicating that the current remaining battery power accounts for a very small percentage of the total battery power. We also need to detect the second percentage of the earphone's current remaining battery power to the earphone's total battery power (e.g., 100mA). The second percentage is (100-80)mA / 100mA = 0.2, indicating that the current remaining battery power accounts for a very high percentage of the total battery power. The first percentage of 0.0875 is also less than the second percentage of 0.2. Therefore, in this technical solution, in order to ensure the normal operation of the watch, the target charging capacity can be determined to be 0.

[0098] For example, if the watch's current remaining battery power is 90mA and the earphone's current charge-to-charge capacity is 95mA, then the current remaining battery power of 90mA is less than the current charge-to-charge capacity of 95mA. In this case, we can detect the first percentage of the watch's current remaining battery power relative to the watch's total battery power (e.g., 800mA). The first percentage is 90mA / 800mA = 0.1125, indicating that the current remaining battery power is a relatively small percentage of the total battery power. We also need to detect the second percentage of the earphone's current remaining battery power relative to the earphone's total battery power (e.g., 100mA). The second percentage is (100-95)mA / 100mA = 0.05, indicating that the current remaining battery power is also a relatively small percentage of the total battery power. However, the first percentage of 0.1125 is greater than the second percentage of 0.05. Therefore, we can still charge the earphone to a target charge-to-charge capacity, so that after charging the earphone to the target charge-to-charge capacity, the difference between the first percentage of the watch after charging and the second percentage of the earphone after charging is less than a difference threshold. In this technical solution, it can be ensured that after the watch charges the earphone to the target charging amount, the current first remaining power of the watch after charging and the current second remaining power of the earphone after charging remain relatively balanced. This avoids the situation where the watch battery is too low due to overcharging of the earphone, thereby ensuring that the watch, as the main device, can continue to operate.

[0099] Optionally, in some possible implementations, in addition to the implementations 1-10 described above, the following implementation may also be included: determining the target charging amount of the earphone based on the current first remaining battery power may include:

[0100] Method 11: Display the first charging selection interface, which includes a first charging option, a second charging option, and a third charging option; the first charging option is to fully charge the earphones; the second option is to balance the remaining battery percentage of the watch and phone to the total battery after charging the earphones; the third option is to not charge the earphones.

[0101] In response to the user's selection of the first charging option, the watch determines the current amount to be charged as the target amount to be charged, which is the amount of power required to fully charge the earphone's battery, so that the watch controls the earphone to charge to the target amount and then stops charging; or...

[0102] In response to the user's selection of the second charging option, the target amount to be charged is determined such that the difference between the first percentage of the watch after charging the earphone to the target amount and the second percentage of the earphone after charging to the target amount is less than a difference threshold, and the target amount to be charged is less than the current first remaining battery level.

[0103] In response to the user's selection of the third charging option, the target charging amount is determined to be 0, so that the watch does not charge the earphones.

[0104] It should be noted that in the above scheme, if the current remaining battery power is less than the current amount to be charged, then the first option is not selectable.

[0105] In this technical solution, when the earphones are placed in the watch for charging, the watch's current remaining battery level can be detected, and then a first charging selection interface can be displayed. This first charging selection interface includes different charging options, such as... Figure 3A The diagram shown illustrates a prompt interface in this embodiment that includes a first charging option, a second charging option, and a third charging option. Users can select the desired charging option based on their actual needs to charge the headphones. Therefore, this technical solution can meet the diverse needs of users.

[0106] Optionally, in some possible implementations, in addition to the implementations 1-11 described above, the following implementation may also be included: determining the target charging amount of the earphone based on the current first remaining battery power may include:

[0107] Method 12: If the current remaining battery power is less than the battery power threshold, determine the target charging amount as 0; or,

[0108] Method 13: If the current remaining battery power is less than the battery power threshold, determine that the target charging amount is 0 and output a prompt interface. The prompt interface includes a prompt message, which is used to prompt that charging of the headphones is refused.

[0109] For example, if the current remaining battery level is 90mA and the battery threshold is 100mA, and the current remaining battery level of 90mA is less than the battery threshold of 100mA, then in this technical solution, in order to ensure the normal operation of the watch, regardless of the current charging capacity of the earphone, the target charging capacity is determined to be 0, that is, the earphone is not charged.

[0110] Optionally, based on the above, after determining that the target charge level for the headphones is 0, a prompt interface can be output, displaying a message indicating that charging the headphones is refused. In this technical solution, determining that the target charge level for the headphones is 0 ensures both the normal operation of the watch and the user's safety; a prompt message can also be output, such as: "Watch battery low, refuse to charge headphones." Figure 3B The diagram shown is a schematic representation of a prompt interface including prompt information in an embodiment of this application. In this technical solution, the prompt information is designed to inform the user that the watch has low battery power and will not charge the earphones, thus facilitating the user's next step.

[0111] Optionally, in some possible implementations, the prompt interface includes a continue charging indicator and a stop charging indicator; the method may further include:

[0112] In response to the user's selection of the "Continue Charging" indicator, the earphones are charged; or,

[0113] The charging process ends in response to the user's selection of the end charging indicator.

[0114] For example, the prompt interface includes a "Continue Charging" indicator and a "Charging End" indicator. Users can choose either option based on their needs. If the user selects "Continue Charging," it indicates that their need for the headphones is greater than their need for the watch; therefore, even if the watch's remaining battery is low, the user will continue charging the headphones. If the user selects "Charging End," it indicates that their need for the headphones is less than their need for the watch; therefore, to ensure the watch's normal operation, the headphones will not be charged. Figure 3C The image shown is a schematic diagram of the prompt interface in an embodiment of this application, including a prompt message, a continue charging indicator, and a stop charging indicator. The prompt message could be: "Watch battery is low, refuses to charge earphones. Please confirm whether to continue charging earphones?".

[0115] In this technical solution, after determining that the target charge amount for the headphones is 0, i.e., automatically stopping charging the headphones, an option can be output. To ensure that in special circumstances, the power demand of the headphones is greater than that of the watch, even if the watch battery is low, the headphones can still be charged if the user selects the "continue charging" option. To ensure the normal operation of the watch, the user can also select the "end charging" option to stop charging the headphones.

[0116] Optionally, in some possible implementations, in addition to the implementations 1-13 described above, the method may also include the following implementations, as shown below:

[0117] Method 14: When the current first remaining power is greater than or equal to the power threshold and the current first remaining power is greater than the current amount to be charged, the current amount to be charged is determined as the target amount to be charged.

[0118] For example, if the watch's current first remaining battery level is 200mA and the battery threshold is 100mA, then the current first remaining battery level of 200mA is greater than the battery threshold of 100mA. Assuming the headphones' current charging capacity is 60mA, since the current first remaining battery level of 200mA is greater than the current charging capacity of 60mA, even if the headphones are fully charged, the watch will still have remaining battery power for normal operation. Therefore, the target charging capacity of the headphones is determined to be the current charging capacity of 60mA, which means the headphones can be fully charged.

[0119] or,

[0120] Method 15: When the current first remaining power is greater than or equal to the power threshold, and the current first remaining power is greater than the current amount to be charged, and the current battery temperature of the watch is less than the temperature threshold, the current amount to be charged is determined as the target amount to be charged.

[0121] For example, if the watch's current first remaining battery level is 200mA and the battery threshold is 100mA, then the current first remaining battery level of 200mA is greater than the battery threshold of 100mA. Assuming the headphones' current charging capacity is 60mA, since the current first remaining battery level of 200mA is greater than the current charging capacity of 60mA, even if the headphones are fully charged, the watch will still have remaining power for normal operation. Moreover, the watch's current battery temperature is lower than the temperature threshold, indicating that the watch's current battery temperature is not high, making charging the headphones relatively safe. Therefore, the target charging capacity can be determined as the current charging capacity of 60mA, which is sufficient to fully charge the headphones.

[0122] or,

[0123] Method 16: If the current first remaining power is greater than or equal to the power threshold, and the current first remaining power is greater than the current amount to be charged, and the ratio of the current amount to be charged to the current first remaining power is less than the ratio threshold, then the current amount to be charged is determined as the target amount to be charged.

[0124] If the watch's current remaining battery level is 200mA and the battery threshold is 100mA, then the current remaining battery level of 200mA is greater than the battery threshold of 100mA. Assuming the earphone's current charging capacity is 60mA, the ratio of the current charging capacity of 60mA to the current remaining battery level of 200mA is 0.3. Assuming the ratio threshold is 0.5, then 0.3 is less than the ratio threshold of 0.5, indicating that the ratio of the current charging capacity to the current remaining battery level is small. Therefore, the target charging capacity for the earphone is determined to be the current charging capacity of 60mA, which is sufficient to fully charge the earphone.

[0125] or,

[0126] Method 17: When the current first remaining power is greater than or equal to the power threshold, and the current first remaining power is greater than the current amount to be charged, the ratio of the current amount to be charged to the current first remaining power is less than a ratio threshold, and the current battery temperature of the watch is less than a temperature threshold, the current amount to be charged is determined as the target amount to be charged.

[0127] For example, if the watch's current remaining battery level is 200mA and the battery threshold is 100mA, then the current remaining battery level of 200mA is greater than the battery threshold of 100mA. Assuming the headphones' current charging capacity is 60mA, the ratio of the current charging capacity of 60mA to the current remaining battery level of 200mA is 0.3. Assuming the ratio threshold is 0.5, then 0.3 is less than the ratio threshold of 0.5, indicating that the ratio of the current charging capacity to the current remaining battery level is small. Moreover, the watch's current battery temperature is less than the temperature threshold, indicating that the watch's current battery temperature is not high, and the safety of charging the headphones is relatively high. Therefore, the target charging capacity can be determined as the current charging capacity of 60mA, which is sufficient to fully charge the headphones.

[0128] In this technical solution, when the watch's current first remaining battery level is greater than the battery threshold and the current first remaining battery level is greater than the earphone's current chargeable amount, several methods for determining the target chargeable amount are presented to improve the feasibility of the solution.

[0129] 203. Charge the earphones according to the target amount of charge.

[0130] The watch can charge the headphones according to the target amount of charge; that is, the watch will stop charging the headphones once the target amount of charge has been reached.

[0131] It should be noted that the current remaining battery level of the headphones after the watch has charged them to the target level can be converted into a percentage and displayed on the watch's user interface. Similarly, the current remaining battery level of the headphones after the watch has charged them to the target level can also be converted into a percentage and displayed on the watch's user interface.

[0132] In this embodiment, when the earphones are placed in the watch for charging, the current first remaining battery level of the watch is detected; based on the current first remaining battery level, a target charging amount for the earphones is determined, the target charging amount being less than the current first remaining battery level; and the earphones are charged according to the target charging amount. This effectively prevents excessive battery consumption of the watch by limiting the charging amount of the earphones, thus extending the overall battery life of the device. Users do not need to manually intervene in power allocation; the system automatically completes all operations, ensuring the stability and convenience of the device during use. Dynamically adjusting the target charging amount allows for adjustments based on real-time changes in the watch's remaining battery level, making power management more intelligent and efficient.

[0133] like Figure 4 The diagram shown illustrates another embodiment of the method for distributing battery power between a watch and headphones in this application, including:

[0134] 401. When the earphones are placed in the watch for charging, the current first remaining battery level of the watch is detected.

[0135] 402. Based on the current first remaining battery power, determine the target charging amount of the earphone, wherein the target charging amount is less than the current first remaining battery power.

[0136] 403. Charge the earphones according to the target amount of charge.

[0137] It should be noted that steps 401-403 are different from... Figure 2 Steps 201-203 in the illustrated embodiment are similar and will not be repeated here.

[0138] 404. When the watch is found to be plugged into a charging cable, the earphones are charged using the watch's charging function.

[0139] Optionally, in some possible implementations, charging the earphones via the watch's charging function when the watch is detected to be plugged into a charging cable may include: displaying a second charging selection interface, which includes watch charging options and earphone charging options, upon detecting the watch is plugged into a charging cable; charging the watch in response to the user's operation on the watch charging options; or, charging the earphones in response to the user's operation on the earphone charging options.

[0140] For example, when the watch is detected to be plugged into a charging cable, the system can display whether to prioritize charging the watch or the headphones. If the watch's current demand is greater than the headphones' demand, the user can choose to prioritize charging the watch; if the headphones' current demand is greater than the watch's demand, the user can choose to prioritize charging the headphones.

[0141] In this technical solution, when the watch is detected to be plugged into a charging cable, different charging options can be provided to meet the different needs of users.

[0142] Optionally, in some possible implementations, after charging the watch in response to a user's operation on the watch's charging option, the method further includes: charging the earphones via the watch's charging function if it is detected that the watch is fully charged.

[0143] In this technical solution, if the user selects the option to prioritize charging the watch, the earphones will automatically charge once the watch is fully charged. This eliminates the need for the user to make a separate selection, thus improving charging convenience.

[0144] Optionally, the watch in this embodiment also integrates a variety of practical functions, such as heart rate monitoring, blood oxygen saturation monitoring, and stress monitoring, to help users understand their physical condition at any time. By combining with a sports and health app, it can also tailor-make exercise plans for users, supporting multiple exercise modes, allowing users to enjoy exercise while also monitoring their health. Furthermore, it supports Near Field Communication (NFC) functionality, enabling it to be used as an access card, transportation card, bank card, and even a car key, further enriching the watch's usage scenarios.

[0145] In this embodiment, when the earphones are placed in the watch for charging, the current first remaining battery level of the watch is detected; based on the current first remaining battery level, a target charging amount for the earphones is determined, the target charging amount being less than the current first remaining battery level; and the earphones are charged according to the target charging amount. This method limits the charging amount of the earphones, ensuring the target charging amount does not exceed the current first remaining battery level of the watch, effectively preventing excessive battery consumption of the watch and extending the overall battery life of the device. Furthermore, if the watch is detected to be plugged into a charging cable, the earphones can also be charged using the watch's charging function, improving ease of use.

[0146] like Figure 5 The diagram shown is a schematic representation of an embodiment of a device for distributing battery power between a watch and headphones, which may include:

[0147] The detection module 501 is used to detect the current first remaining battery power of the watch when the earphone is placed in the watch for charging.

[0148] The determining module 502 is used to determine the target charging amount of the earphone based on the current first remaining battery power, wherein the target charging amount is less than the current first remaining battery power.

[0149] The charging module 503 is used to charge the earphones according to the target amount of charge.

[0150] Optionally, in some possible implementations, the detection module 501 is further configured to detect the current charge level of the earphone, the current charge level being the amount of power required to fully charge the earphone's battery;

[0151] The determining module 502 is specifically used to determine the target amount of charge to be applied to the earphone based on the current first remaining battery power and the current amount of charge to be applied.

[0152] Optionally, in some possible implementations, the difference between the first percentage and the second percentage is less than a difference threshold; wherein, the first percentage is the ratio of the current first remaining battery level to the first total battery level after the watch charges the earphone to the target amount to be charged, and the second percentage is the ratio of the current second remaining battery level to the second total battery level after the earphone is charged to the target amount to be charged; the target amount to be charged is less than or equal to the current amount to be charged; the first total battery level is the total battery level in the watch, and the second total battery level is the total battery level in the earphone.

[0153] Optionally, in some possible implementations, the determining module 502 is specifically used to determine the target amount to be charged as the current amount to be charged when the current first remaining battery power is greater than the current amount to be charged; or,

[0154] The determining module 502 is specifically configured to determine the target amount to be charged as the current amount to be charged when the current first remaining battery power is greater than the current amount to be charged and the current battery temperature of the watch is less than a temperature threshold; or,

[0155] The determining module 502 is specifically configured to determine the target amount to be charged as the current amount to be charged when the current first remaining power is greater than the current amount to be charged, and the ratio of the current amount to be charged to the current first remaining power is less than a ratio threshold; or,

[0156] The determining module 502 is specifically used to determine the target amount to be charged as the current amount to be charged when the current first remaining power is greater than the current amount to be charged, the ratio of the current amount to be charged to the current first remaining power is less than a ratio threshold, and the current battery temperature of the watch is less than a temperature threshold.

[0157] Optionally, in some possible implementations, the determining module 502 is further configured to: determine a third ratio of the current first remaining battery level to the first total battery level in the watch; detect a fourth ratio of the current second remaining battery level to the second total battery level in the earphones, where the first total battery level is the total battery level in the watch and the second total battery level is the total battery level in the earphones; determine the target amount to be charged as 0 if the third ratio is less than the fourth ratio; or determine the target amount to be charged if the third ratio is greater than the fourth ratio, such that the difference between the first ratio after the watch charges the earphones to the target amount to be charged and the second ratio after the earphones are charged to the target amount to be charged is less than a difference threshold, and the target amount to be charged is less than or equal to the current amount to be charged.

[0158] Optionally, in some possible implementations, the determining module 502 is further configured to determine the target charging amount as 0 if the current first remaining battery power is less than or equal to the current charging amount; or,

[0159] The determining module 502 is further configured to, when the current first remaining battery power is less than or equal to the current amount to be charged, determine the target amount to be charged as 0 and output a prompt interface; or,

[0160] The determining module 502 is further configured to determine the target charging amount as 0 when the current first remaining power is less than or equal to the current charging amount, and when the current battery temperature of the watch is greater than or equal to a temperature threshold; or,

[0161] The determining module 502 is further configured to determine the target charging amount as 0 and output a prompt interface when the current first remaining power is less than or equal to the current charging amount and the current battery temperature of the watch is greater than or equal to a temperature threshold.

[0162] The prompt interface includes a prompt message that indicates a refusal to charge the earphones.

[0163] Optionally, in some possible implementations, the determining module 502 is specifically configured to, when the current first remaining battery power is less than or equal to the current amount to be charged, determine a third ratio of the current first remaining battery power to the first total battery power in the watch, and detect a fourth ratio of the current second remaining battery power to the second total battery power in the earphones, wherein the first total battery power is the total battery power in the watch and the second total battery power is the total battery power in the earphones; if the third ratio is less than the fourth ratio, determine the target amount to be charged as 0; or, if the third ratio is greater than the fourth ratio, determine the target amount to be charged, such that the difference between the first ratio after the watch charges the earphones to the target amount to be charged and the second ratio after the earphones are charged to the target amount to be charged is less than a difference threshold, and the target amount to be charged is less than the current first remaining battery power.

[0164] Optionally, in some possible implementations, the determining module 502 is specifically used to determine the target charging amount as 0 when the current first remaining power is less than the power threshold; or,

[0165] The determining module 502 is specifically used to determine the target charging amount as 0 when the current first remaining power is less than the power threshold, and to output a prompt interface, the prompt interface including prompt information, the prompt information being used to prompt that charging of the headphones is refused.

[0166] Optionally, in some possible implementations, the prompt interface includes a continue charging indicator and a stop charging indicator; the device further includes: a stop module 504;

[0167] The charging module 503 is also configured to charge the earphones in response to the user's selection of the "continue charging" indicator; or,

[0168] The termination module 504 is used to terminate the charging process in response to the user's selection of the termination charging indicator.

[0169] Optionally, in some possible implementations, the determining module 502 is further configured to determine the current amount to be charged as the target amount to be charged when the current first remaining power is greater than or equal to the power threshold and the current first remaining power is greater than the current amount to be charged; or,

[0170] The determining module 502 is further configured to determine the current amount to be charged as the target amount to be charged when the current first remaining power is greater than or equal to the power threshold, the current first remaining power is greater than the current amount to be charged, and the current battery temperature of the watch is less than a temperature threshold; or,

[0171] The determining module 502 is further configured to determine the current amount to be charged as the target amount to be charged when the current first remaining power is greater than or equal to the power threshold, the current first remaining power is greater than the current amount to be charged, and the ratio of the current amount to be charged to the current first remaining power is less than a ratio threshold; or,

[0172] The determining module 502 is further configured to determine the current amount to be charged as the target amount to be charged when the current first remaining power is greater than or equal to the power threshold, the current first remaining power is greater than the current amount to be charged, the ratio of the current amount to be charged to the current first remaining power is less than a ratio threshold, and the current battery temperature of the watch is less than a temperature threshold.

[0173] like Figure 6 The diagram shown is a schematic representation of one embodiment of the watch in this application, which may include, for example: Figure 5 A schematic diagram of one embodiment of the device for distributing power to watches and headphones is shown.

[0174] like Figure 7 The image shown is a schematic diagram of another embodiment of the watch in this application. The following is in conjunction with... Figure 7 A detailed introduction to each component of the watch:

[0175] RF circuit 710 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink information from the base station and processes it with processor 780; additionally, it transmits uplink data to the base station. Typically, RF circuit 710 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier (LNA), a duplexer, etc. Furthermore, RF circuit 710 can also communicate wirelessly with networks and other devices. The aforementioned wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0176] The memory 720 can be used to store software programs and modules. The processor 780 executes various mobile phone functions and data processing by running the software programs and modules stored in the memory 720. The memory 720 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, phonebook, etc.). In addition, the memory 720 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0177] The input unit 730 can be used to receive input numerical or character information, and to generate key signal inputs related to user settings and function control of the mobile phone. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also known as a touch screen, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel 731), and drive the corresponding connected devices according to a pre-set program. Optionally, the touch panel 731 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 780, and can also receive and execute commands sent by the processor 780. In addition, the touch panel 731 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 731, the input unit 730 may also include other input devices 732. Specifically, other input devices 732 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc.

[0178] The display unit 740 can be used to display information input by the user or information provided to the user, as well as various menus of the mobile phone. The display unit 740 may include a display panel 741, which may optionally be configured as a liquid crystal display (LCD), organic light-emitting diode (OLED), or similar display. Further, a touch panel 731 may cover the display panel 741. When the touch panel 731 detects a touch operation on or near it, it transmits the information to the processor 780 to determine the type of touch event. Subsequently, the processor 780 provides corresponding visual output on the display panel 741 based on the type of touch event. Although in Figure 7 In this embodiment, the touch panel 731 and the display panel 741 are two separate components to realize the input and output functions of the mobile phone. However, in some embodiments, the touch panel 731 and the display panel 741 can be integrated to realize the input and output functions of the mobile phone.

[0179] The mobile phone may also include at least one sensor 750, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 741 according to the ambient light level, and the proximity sensor can turn off the display panel 741 and / or backlight when the phone is moved to the ear. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used for applications that recognize the phone's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, taps), etc. Other sensors that may be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be described in detail here.

[0180] Audio circuit 760, speaker 761, and microphone 762 provide an audio interface between the user and the mobile phone. Audio circuit 760 converts received audio data into electrical signals and transmits them to speaker 761, where speaker 761 converts them into sound signals for output. On the other hand, microphone 762 converts collected sound signals into electrical signals, which are received by audio circuit 760, converted into audio data, and then processed by processor 780 before being transmitted via RF circuit 710 to, for example, another mobile phone, or the audio data can be output to memory 720 for further processing.

[0181] Wi-Fi is a short-range wireless transmission technology. Through the Wi-Fi module 770, mobile phones can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access. Although Figure 7 The Wi-Fi module 770 is shown, but it is understood that it is not an essential component of the mobile phone and can be omitted as needed without changing the essence of the invention.

[0182] The processor 780 is the control center of the mobile phone, connecting various parts of the phone through various interfaces and lines. It executes software programs and / or modules stored in the memory 720, and calls data stored in the memory 720 to perform various functions and process data, thereby providing overall monitoring of the phone. Optionally, the processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 780.

[0183] The mobile phone also includes a power supply 790 (such as a battery) that supplies power to various components. Preferably, the power supply can be logically connected to the processor 780 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.

[0184] Although not shown, mobile phones may also include a camera, Bluetooth module, etc., which will not be described in detail here.

[0185] In this embodiment of the application, the processor 780 is configured to, when the earphone is placed in the watch for charging, detect the current first remaining battery level of the watch; determine the target amount to be charged for the earphone based on the current first remaining battery level, wherein the target amount to be charged is less than the current first remaining battery level; and charge the earphone based on the target amount to be charged.

[0186] Optionally, in some possible implementations, the processor 780 is further configured to detect the current amount of charge to be applied to the headphones, the current amount of charge to be applied to the headphones being the amount of power required to fully charge the headphones' battery; and to determine the target amount of charge to be applied to the headphones based on the current first remaining power and the current amount of charge to be applied to the headphones.

[0187] Optionally, in some possible implementations, the difference between the first percentage and the second percentage is less than a difference threshold; wherein, the first percentage is the ratio of the current first remaining battery level to the first total battery level after the watch charges the earphone to the target amount to be charged, and the second percentage is the ratio of the current second remaining battery level to the second total battery level after the earphone is charged to the target amount to be charged; the target amount to be charged is less than or equal to the current amount to be charged; the first total battery level is the total battery level in the watch, and the second total battery level is the total battery level in the earphone.

[0188] Optionally, in some possible implementations, the processor 780 is specifically configured to determine the target amount to be charged as the current amount to be charged when the current first remaining battery power is greater than the current amount to be charged; or,

[0189] Processor 780 is specifically configured to determine the target amount to be charged as the current amount to be charged when the current first remaining battery power is greater than the current amount to be charged and the current battery temperature of the watch is less than a temperature threshold; or,

[0190] The processor 780 is specifically configured to determine the target amount to be charged as the current amount to be charged when the current first remaining battery power is greater than the current amount to be charged, and the ratio of the current amount to be charged to the current first remaining battery power is less than a ratio threshold; or,

[0191] The processor 780 is specifically configured to determine the target amount to be charged as the current amount to be charged when the current first remaining power is greater than the current amount to be charged, the ratio of the current amount to be charged to the current first remaining power is less than a ratio threshold, and the current battery temperature of the watch is less than a temperature threshold.

[0192] Optionally, in some possible implementations, the processor 780 is further configured to: determine a third ratio of the current first remaining battery level to the first total battery level in the watch; detect a fourth ratio of the current second remaining battery level to the second total battery level in the earphones, where the first total battery level is the total battery level in the watch and the second total battery level is the total battery level in the earphones; determine the target amount to be charged as 0 if the third ratio is less than the fourth ratio; or determine the target amount to be charged such that the difference between the first ratio after the watch charges the earphones to the target amount to be charged and the second ratio after the earphones are charged to the target amount to be charged is less than a difference threshold, and the target amount to be charged is less than or equal to the current amount to be charged.

[0193] Optionally, in some possible implementations, the processor 780 is further configured to determine the target charging amount as 0 if the current first remaining battery power is less than or equal to the current charging amount; or,

[0194] The processor 780 is further configured to, when the current first remaining battery power is less than or equal to the current amount to be charged, determine that the target amount to be charged is 0 and output a prompt interface; or,

[0195] The processor 780 is further configured to determine the target chargeable quantity as 0 when the current first remaining battery power is less than or equal to the current chargeable quantity, and when the current battery temperature of the watch is greater than or equal to a temperature threshold; or,

[0196] The processor 780 is further configured to determine the target charging amount as 0 and output a prompt interface when the current first remaining power is less than or equal to the current charging amount and the current battery temperature of the watch is greater than or equal to a temperature threshold.

[0197] The prompt interface includes a prompt message that indicates a refusal to charge the earphones.

[0198] Optionally, in some possible implementations, the processor 780 is specifically configured to, when the current first remaining battery level is less than or equal to the current amount to be charged, determine a third ratio of the current first remaining battery level to the first total battery level in the watch, and detect a fourth ratio of the current second remaining battery level to the second total battery level in the earphones, wherein the first total battery level is the total battery level in the watch and the second total battery level is the total battery level in the earphones; if the third ratio is less than the fourth ratio, determine the target amount to be charged as 0; or, if the third ratio is greater than the fourth ratio, determine the target amount to be charged, such that the difference between the first ratio after the watch charges the earphones to the target amount to be charged and the second ratio after the earphones are charged to the target amount to be charged is less than a difference threshold, and the target amount to be charged is less than the current first remaining battery level.

[0199] Optionally, in some possible implementations, the processor 780 is specifically configured to determine the target charging amount as 0 when the current first remaining battery power is less than a battery power threshold; or,

[0200] The processor 780 is specifically configured to determine that the target charging amount is 0 when the current first remaining battery power is less than the battery power threshold, and to output a prompt interface, the prompt interface including prompt information for refusing to charge the headphones.

[0201] Optionally, in some possible implementations, the prompt interface includes a "Continue Charging" indicator and a "Charging End" indicator; the processor 780 is further configured to charge the earphones in response to the user's selection of the "Continue Charging" indicator; or,

[0202] The processor 780 is used to respond to the user's selection of the end charging indicator and end the charging process.

[0203] Optionally, in some possible implementations, the processor 780 is further configured to determine the current amount to be charged as the target amount to be charged when the current first remaining battery power is greater than or equal to the battery power threshold and the current first remaining battery power is greater than the current amount to be charged; or,

[0204] The processor 780 is further configured to determine the current amount to be charged as the target amount to be charged when the current first remaining battery power is greater than or equal to the battery power threshold, the current first remaining battery power is greater than the current amount to be charged, and the current battery temperature of the watch is less than a temperature threshold; or,

[0205] The processor 780 is further configured to determine the current amount to be charged as the target amount to be charged when the current first remaining battery power is greater than or equal to the battery power threshold, the current first remaining battery power is greater than the current amount to be charged, and the ratio of the current amount to be charged to the current first remaining battery power is less than a ratio threshold; or,

[0206] The processor 780 is further configured to determine the current amount to be charged as the target amount to be charged when the current first remaining power is greater than or equal to the power threshold, the current first remaining power is greater than the current amount to be charged, the ratio of the current amount to be charged to the current first remaining power is less than a ratio threshold, and the current battery temperature of the watch is less than a temperature threshold.

[0207] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).

[0208] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0209] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.

[0210] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0211] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0212] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0213] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for distributing battery power in a watch and headphones, characterized in that, include: When the earphones are placed in the watch for charging, the watch's current first remaining battery level is detected; Based on the current first remaining battery level, the target charging amount of the earphone is determined, and the target charging amount is less than the current first remaining battery level. The earphones are charged according to the target amount of charge.

2. The method according to claim 1, characterized in that, The method further includes: Detect the current charge level of the earphones, where the current charge level is the amount of power required to fully charge the earphones' battery; The step of determining the target charging capacity of the earphones based on the current first remaining battery level includes: The target amount of charge to be applied to the earphones is determined based on the current remaining battery level and the current amount of charge to be applied.

3. The method according to claim 2, characterized in that, The difference between the first proportion and the second proportion is less than the difference threshold; Wherein, the first percentage is the ratio of the current first remaining power to the first total power after the watch charges the earphone to the target amount to be charged; the second percentage is the ratio of the current second remaining power to the second total power after the earphone is charged to the target amount to be charged. The target amount of charge to be received is less than or equal to the current amount of charge to be received; The first total battery capacity is the total battery capacity of the watch, and the second total battery capacity is the total battery capacity of the earphone.

4. The method according to claim 2, characterized in that, The step of determining the target charging capacity of the earphones based on the current first remaining battery power and the current charging capacity includes: If the current remaining battery power is greater than the current amount to be charged, then the target amount to be charged is determined to be the current amount to be charged; or, If the current remaining battery power is greater than the current amount to be charged, and the current battery temperature of the watch is less than a temperature threshold, then the target amount to be charged is determined to be the current amount to be charged; or, If the current first remaining battery power is greater than the current amount to be charged, and the ratio of the current amount to be charged to the current first remaining battery power is less than a ratio threshold, then the target amount to be charged is determined to be the current amount to be charged; or, If the current first remaining battery power is greater than the current amount to be charged, the ratio of the current amount to be charged to the current first remaining battery power is less than a ratio threshold, and the current battery temperature of the watch is less than a temperature threshold, then the target amount to be charged is determined as the current amount to be charged.

5. The method according to claim 4, characterized in that, The method further includes: When the current first remaining battery power is greater than the current amount to be charged, and the ratio of the current amount to be charged to the current first remaining battery power is greater than or equal to a ratio threshold, a third ratio of the current first remaining battery power to the first total battery power in the watch is determined, and a fourth ratio of the current second remaining battery power to the second total battery power in the earphone is detected, wherein the first total battery power is the total battery power in the watch, and the second total battery power is the total battery power in the earphone; If the third proportion is less than the fourth proportion, the target amount to be charged is determined to be 0; or, When the third percentage is greater than the fourth percentage, the target amount to be charged is determined such that the difference between the first percentage after the watch charges the earphone to the target amount to the target amount and the second percentage after the earphone is charged to the target amount to the target amount to the target amount is less than a difference threshold, wherein the target amount to be charged is less than or equal to the current amount to be charged.

6. The method according to claim 4 or 5, characterized in that, The method further includes: If the current remaining battery power is less than or equal to the current amount to be charged, the target amount to be charged is determined to be 0; or, If the current remaining battery power is less than or equal to the current amount to be charged, the target amount to be charged is determined to be 0, and a prompt interface is displayed; or, If the current remaining battery power is less than or equal to the current amount to be charged, and if the current battery temperature of the watch is greater than or equal to a temperature threshold, then the target amount to be charged is determined to be 0; or, If the current remaining battery power is less than or equal to the current amount to be charged, and the current battery temperature of the watch is greater than or equal to the temperature threshold, the target amount to be charged is determined to be 0, and a prompt interface is output. The prompt interface includes a prompt message that indicates a refusal to charge the earphones.

7. The method according to claim 4 or 5, characterized in that, The method further includes: If the current first remaining battery level is less than or equal to the current amount to be charged, determine the third ratio of the current first remaining battery level to the first total battery level in the watch, and detect the fourth ratio of the current second remaining battery level to the second total battery level in the earphones. The first total battery level is the total battery level in the watch, and the second total battery level is the total battery level in the earphones. If the third proportion is less than the fourth proportion, the target amount to be charged is determined to be 0; or, If the third percentage is greater than the fourth percentage, the target amount to be charged is determined such that the difference between the first percentage of the watch after charging the earphone to the target amount to the target amount and the second percentage of the earphone after being charged to the target amount to the target amount to the target amount is less than the difference threshold, and the target amount to be charged is less than the current first remaining battery level.

8. The method according to claim 1 or 2, characterized in that, The step of determining the target charging capacity of the earphones based on the current first remaining battery level includes: If the current remaining battery power is less than the battery power threshold, the target charging amount is determined to be 0; or, If the current remaining battery level is less than the battery threshold, the target charging amount is determined to be 0, and a prompt interface is output. The prompt interface includes a prompt message indicating that charging of the headphones is refused.

9. The method according to claim 8, characterized in that, The prompt interface includes a "Continue Charging" indicator and a "Charging End" indicator; the method further includes: In response to the user's selection of the "Continue Charging" indicator, the earphones are charged; or, The charging process ends in response to the user's selection of the end charging indicator.

10. The method according to claim 8, characterized in that, The method further includes: If the current first remaining battery level is greater than or equal to the battery threshold, and the current first remaining battery level is greater than the current amount to be charged, then the current amount to be charged is determined as the target amount to be charged; or, If the current first remaining battery power is greater than or equal to the battery power threshold, and the current first remaining battery power is greater than the current amount to be charged, and the current battery temperature of the watch is less than the temperature threshold, then the current amount to be charged is determined as the target amount to be charged; or, If the current first remaining battery power is greater than or equal to the battery power threshold, and the current first remaining battery power is greater than the current amount to be charged, and the ratio of the current amount to be charged to the current first remaining battery power is less than a ratio threshold, then the current amount to be charged is determined as the target amount to be charged; or, If the current first remaining power is greater than or equal to the power threshold, and the current first remaining power is greater than the current amount to be charged, the ratio of the current amount to be charged to the current first remaining power is less than a ratio threshold, and the current battery temperature of the watch is less than a temperature threshold, then the current amount to be charged is determined as the target amount to be charged.

11. A device for distributing battery power in watches and earphones, characterized in that, include: A detection module is used to detect the current first remaining battery power of the watch when the earphones are placed in the watch for charging. The determining module is used to determine the target charging amount of the earphone based on the current first remaining battery power, wherein the target charging amount is less than the current first remaining battery power. A charging module is used to charge the earphones according to the target amount of charge.

12. A watch, characterized in that, include: A memory and a processor, the memory storing a computer program executable on the processor, the processor executing the computer program to implement the method of any one of claims 1-10.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-10.

14. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-10.