Dynamic protection method for speaker battery
By adjusting the volume and charging current to match the battery level, the problem of over-discharge of the speaker battery during playback was solved, extending battery life and reducing machine failure rate.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN FENDA TECH CO LTD
- Filing Date
- 2021-09-26
- Publication Date
- 2026-04-17
AI Technical Summary
Existing speaker batteries suffer from overcurrent or undervoltage protection due to dynamic changes in discharge current during music playback, resulting in shortened battery life and high machine failure rate.
The battery power is obtained by receiving the battery output voltage from the ADC conversion module, and the maximum volume and charging current are adjusted according to preset rules to ensure that the average output power is equal to the average charging power, avoid over-discharge, and generate standby or power-off signals to protect the battery.
It improved battery life, reduced machine failure rate, and maintained stable machine operation.
Smart Images

Figure CN114172227B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to battery technology, and more particularly to a method for dynamic protection of speaker batteries. Background Technology
[0002] As we all know, the discharge current of a speaker battery changes during music playback. The discharge current dynamically changes with the rhythm of the music; the louder the music, the greater the discharge, and the softer the music, the smaller the discharge.
[0003] For this reason, when the battery is discharging at a low potential, the volume is at maximum, and the music signal has a large dynamic range, the battery discharges too much instantaneously, causing the battery's internal overcurrent protection or low voltage protection to activate. The battery then shuts off power to the machine, causing the machine to lose power instantly without notification. Once the current drops, the battery resumes power supply.
[0004] Therefore, many battery-powered audio products on the market currently have unreasonable battery protection methods, which shorten the battery life and cause the music to suddenly stop during playback, making the machine unstable and increasing the failure rate. Summary of the Invention
[0005] This invention provides a method for dynamic protection of speaker batteries, which keeps the device in a stable state and reduces the failure rate.
[0006] A first aspect of the present invention provides a dynamic protection method for a speaker battery, applied when the battery is not charged, comprising:
[0007] Receive the battery output voltage collected by the ADC conversion module and obtain the current battery level;
[0008] If the battery charge is less than a first preset percentage of the total battery capacity, the maximum volume value is adjusted as the maximum gain value of the battery charge based on preset rules and the battery output voltage.
[0009] The preset rules include:
[0010] According to the second preset percentage value of the maximum charging current provided by the external power supply, a preset standard signal is played, wherein the first preset percentage value corresponds one-to-one with the second preset percentage value;
[0011] The maximum volume value is reduced to the current volume value, so that the average output power equals the average charging power. The current volume value is used as the maximum gain value of the battery capacity, wherein the average output power is obtained from the battery output voltage.
[0012] Optionally, in one possible implementation of the first aspect, if the battery charge is less than a first preset percentage of the total battery capacity, adjusting the maximum volume value as the maximum gain value of the battery charge based on a preset rule and the battery output voltage includes:
[0013] If the battery charge is less than 30% of the total battery capacity, the maximum charging current provided by the external power supply is 100%, and a preset standard signal is played.
[0014] Decrease the maximum volume value to use as the current volume value, make the average output power equal to the average charging power, and use the current volume value as the maximum gain value of the battery capacity.
[0015] Optionally, in one possible implementation of the first aspect, if the battery charge is less than a first preset percentage of the total battery capacity, adjusting the maximum volume value as the maximum gain value of the battery charge based on a preset rule and the battery output voltage includes:
[0016] If the battery charge is less than 20% of the total battery capacity, the maximum charging current provided by the external power supply is 50%, and a preset standard signal is played.
[0017] Decrease the maximum volume value to use as the current volume value, make the average output power equal to the average charging power, and use the current volume value as the maximum gain value of the battery capacity.
[0018] Optionally, in one possible implementation of the first aspect, if the battery charge is less than a first preset percentage of the total battery capacity, adjusting the maximum volume value as the maximum gain value of the battery charge based on a preset rule and the battery output voltage includes:
[0019] If the battery charge is less than 10% of the total battery capacity, the maximum charging current provided by the external power supply is 30%, and a preset standard signal is played.
[0020] Decrease the maximum volume value to use as the current volume value, make the average output power equal to the average charging power, and use the current volume value as the maximum gain value of the battery capacity.
[0021] Optionally, in one possible implementation of the first aspect, it also includes:
[0022] If the battery charge is 0% of the total battery capacity, a standby signal is generated;
[0023] The battery is controlled to stop discharging based on the standby signal.
[0024] A second aspect of this invention provides a dynamic protection method for a speaker battery, applied during battery charging, comprising:
[0025] Receive the battery output voltage collected by the ADC conversion module and obtain the current battery level;
[0026] If the battery charge is less than a first preset percentage of the total battery capacity, the maximum volume value is adjusted as the maximum gain value of the battery charge based on preset rules and the battery output voltage.
[0027] The battery level is monitored in real time. If the battery level is greater than 60%, the current maximum volume is adjusted back to the original maximum volume.
[0028] The preset rules include:
[0029] According to the second preset percentage value of the maximum charging current provided by the external power supply, a preset standard signal is played, wherein the first preset percentage value corresponds one-to-one with the second preset percentage value;
[0030] The maximum volume value is reduced to the current volume value, so that the average output power equals the average charging power. The current volume value is used as the maximum gain value of the battery capacity, wherein the average output power is obtained from the battery output voltage.
[0031] Optionally, in one possible implementation of the second aspect, if the battery charge is less than a first preset percentage of the total battery capacity, adjusting the maximum volume value as the maximum gain value of the battery charge based on a preset rule and the battery output voltage includes:
[0032] If the battery charge is less than 30% of the total battery capacity, the maximum charging current provided by the external power supply is 100%, and a preset standard signal is played.
[0033] Decrease the maximum volume value to use as the current volume value, make the average output power equal to the average charging power, and use the current volume value as the maximum gain value of the battery capacity.
[0034] Optionally, in one possible implementation of the second aspect, if the battery charge is less than a first preset percentage of the total battery capacity, adjusting the maximum volume value as the maximum gain value of the battery charge based on a preset rule and the battery output voltage includes:
[0035] If the battery charge is less than 20% of the total battery capacity, the maximum charging current provided by the external power supply is 50%, and a preset standard signal is played.
[0036] Decrease the maximum volume value to use as the current volume value, make the average output power equal to the average charging power, and use the current volume value as the maximum gain value of the battery capacity.
[0037] Optionally, in one possible implementation of the second aspect, if the battery charge is less than a first preset percentage of the total battery capacity, adjusting the maximum volume value as the maximum gain value of the battery charge based on a preset rule and the battery output voltage includes:
[0038] If the battery charge is less than 10% of the total battery capacity, the maximum charging current provided by the external power supply is 30%, and a preset standard signal is played.
[0039] Decrease the maximum volume value to use as the current volume value, make the average output power equal to the average charging power, and use the current volume value as the maximum gain value of the battery capacity.
[0040] Alternatively, in one possible implementation of the second aspect, it also includes:
[0041] If the battery charge is 0% of the total battery capacity, a standby signal is generated;
[0042] The battery is controlled to stop discharging based on the standby signal.
[0043] A third aspect of the present invention provides a speaker battery dynamic protection device, comprising: a memory, a processor, and a computer program, wherein the computer program is stored in the memory, and the processor runs the computer program to perform the methods described in the first aspect of the present invention and various possible methods related to the first aspect.
[0044] A fourth aspect of the present invention provides a readable storage medium storing a computer program, which, when executed by a processor, is used to implement the first aspect of the present invention and various methods possibly involved in the first aspect.
[0045] The present invention provides a dynamic protection method for speaker batteries, which protects the batteries from over-discharge and thus improves the battery life. Because this process is actively handled by the machine, the machine's working state is stable and clear, and there will be no uncertain state, thereby reducing the failure rate of the machine in an uncertain state. Attached Figure Description
[0046] Figure 1 This is a schematic diagram of a dynamic protection method for a speaker battery provided in an embodiment of the present invention;
[0047] Figure 2 This is a schematic diagram of a method for collecting battery output voltage according to an embodiment of the present invention;
[0048] Figure 3 This is a schematic diagram of a dynamic protection method for a speaker battery provided in an embodiment of the present invention;
[0049] Figure 4This is a schematic diagram of an external power supply provided in an embodiment of the present invention;
[0050] Figure 5 This is a schematic diagram of the hardware structure of a speaker battery dynamic protection device provided in an embodiment of the present invention. Detailed Implementation
[0051] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0052] The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in sequences other than those illustrated or described herein.
[0053] It should be understood that in the various embodiments of the present invention, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0054] It should be understood that in this invention, "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such process, method, product, or device.
[0055] It should be understood that in this invention, "multiple" refers to two or more. "And / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "Contains A, B, and C", "Contains A, B, and C" means that all three A, B, and C are contained; "Contains A, B, or C" means that one of A, B, and C is contained; "Contains A, B, and / or C" means that any one, two, or three of A, B, and C are contained.
[0056] It should be understood that in this invention, "B corresponding to A", "B corresponding to A", "A and B correspond", or "B and A correspond" means that B is associated with A, and B can be determined based on A. Determining B based on A does not mean determining B solely based on A; B can also be determined based on A and / or other information. Matching A and B is defined as a similarity between A and B that is greater than or equal to a preset threshold.
[0057] Depending on the context, "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection."
[0058] The technical solution of the present invention will be described in detail below with reference to specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0059] See Figure 1 This is a schematic diagram of a dynamic protection method for a speaker battery provided in an embodiment of the present invention. Figure 1 The execution entity of the method shown can be a software and / or hardware device. The execution entity of this application can include, but is not limited to, at least one of the following: user equipment, network equipment, etc. User equipment can include, but is not limited to, computers, smartphones, personal digital assistants (PDAs), and the aforementioned electronic devices. Network equipment can include, but is not limited to, a single network server, a server group consisting of multiple network servers, or a cloud based on cloud computing consisting of a large number of computers or network servers. Cloud computing is a type of distributed computing, consisting of a super virtual computer composed of a group of loosely coupled computers. This embodiment does not limit this. Including steps S101 to S102, this solution is applied to the state where the battery is not charged, specifically as follows:
[0060] S101 receives the battery output voltage collected by the ADC conversion module and obtains the current battery power.
[0061] Specifically, this solution uses an ADC conversion module to acquire the battery's output voltage and obtain the battery's charge level.
[0062] In practical applications, see Figure 2 The battery's output voltage can be filtered and sampled by a voltage divider (adjusting the voltage output from the battery to the ADC conversion module to ensure it does not exceed the ADC's operating range within the battery's entire operating range, while also smoothing the ripple of the sampled signal) and supplied to the ADC conversion module. The ADC converts the signal into a digital signal, which is then transmitted to the CPU. The CPU reads the digital signal from the ADC conversion module and performs logical judgment processing.
[0063] It should be noted that the above methods can make full use of existing equipment resources, such as the CPU and battery ADC detection circuits in the equipment, without adding hardware resources, and can be better implemented by using reasonable logic protection methods.
[0064] S102, if the battery charge is less than a first preset percentage of the total battery capacity, adjust the maximum volume value as the maximum gain value of the battery charge based on preset rules and the battery output voltage.
[0065] Understandably, this solution adjusts the maximum volume using preset rules based on the battery level, ultimately obtaining the maximum gain value.
[0066] The preset rules include:
[0067] The system is based on a second preset percentage value of the maximum charging current provided by the external power supply, and a preset standard signal is played. The first preset percentage value corresponds one-to-one with the second preset percentage value. The maximum volume value is reduced to the current volume value, so that the average output power is equal to the average charging power, and the current volume value is used as the maximum gain value of the battery capacity.
[0068] In some embodiments, if the battery charge is less than 30% of the total battery capacity, the maximum charging current provided by the external power supply is 100%, and a preset standard signal is played; the maximum volume value is reduced to the current volume value, so that the average output power is equal to the average charging power, and the current volume value is used as the maximum gain value of the battery charge.
[0069] Understandably, when the battery charge is less than 30% of the total battery capacity, this solution can reduce the maximum volume and output power to make the average output power equal to the average charging power, thereby obtaining the maximum gain value of the current battery charge.
[0070] In practical applications, the preset standard signal is generally selected from a signal source with large dynamic range and relatively large average energy.
[0071] In other embodiments, if the battery charge is less than 20% of the total battery capacity, the maximum charging current provided by the external power supply is 50%, and a preset standard signal is played; the maximum volume value is reduced to the current volume value, so that the average output power is equal to the average charging power, and the current volume value is used as the maximum gain value of the battery charge.
[0072] Understandably, when the battery charge is less than 20% of the total battery capacity, this solution can reduce the maximum volume, decrease the output power, and adjust the external power supply to provide 50% of the maximum charging current, so that the average output power equals the average charging power, thereby obtaining the maximum gain value of the current battery charge.
[0073] In some other embodiments, if the battery charge is less than 10% of the total battery capacity, the maximum charging current provided by the external power supply is 30%, and a preset standard signal is played; the maximum volume value is reduced to the current volume value, so that the average output power is equal to the average charging power, and the current volume value is used as the maximum gain value of the battery charge.
[0074] Understandably, when the battery charge is less than 10% of the total battery capacity, this solution can reduce the maximum volume, decrease the output power, and adjust the external power supply to provide 30% of the maximum charging current, so that the average output power equals the average charging power, thereby obtaining the maximum gain value of the current battery charge.
[0075] In other embodiments, if the battery charge is 0% of the total battery capacity, a standby signal is generated, and the battery is controlled to stop discharging based on the standby signal.
[0076] Understandably, when the battery level is 0, in order to prevent the battery from over-discharging, a standby signal is generated in a timely manner to control the battery to stop discharging, or a power-off signal is generated to control the device to shut down.
[0077] In addition, this embodiment also provides a speaker battery dynamic protection device, which is applied when the battery is not charged, including:
[0078] The data module is used to receive the battery output voltage collected by the ADC conversion module and obtain the current battery level.
[0079] The adjustment module is used to adjust the maximum volume as the maximum gain value of the battery capacity based on preset rules and the battery output voltage when the battery power is less than a first preset percentage value of the total battery capacity.
[0080] The preset rules include:
[0081] According to the second preset percentage value of the maximum charging current provided by the external power supply, a preset standard signal is played, wherein the first preset percentage value corresponds one-to-one with the second preset percentage value;
[0082] The maximum volume value is reduced to the current volume value, so that the average output power equals the average charging power. The current volume value is used as the maximum gain value of the battery capacity, wherein the average output power is obtained from the battery output voltage.
[0083] This embodiment protects the battery from over-discharge, thereby improving battery life. Because this standby (or shutdown) is actively handled by the machine, its operating state is stable and clear, without uncertain states, thus reducing the failure rate of the machine in an uncertain state. During this volume control process, the overall circuit gain only decreases and does not increase.
[0084] See Figure 3 This is a schematic diagram of a dynamic protection method for a speaker battery provided in an embodiment of the present invention. Figure 3 The execution entity of the method shown can be a software and / or hardware device. The execution entity of this application can include, but is not limited to, at least one of the following: user equipment, network equipment, etc. User equipment can include, but is not limited to, computers, smartphones, personal digital assistants (PDAs), and the aforementioned electronic devices. Network equipment can include, but is not limited to, a single network server, a server group consisting of multiple network servers, or a cloud based on cloud computing consisting of a large number of computers or network servers. Cloud computing is a type of distributed computing, consisting of a super virtual computer composed of a group of loosely coupled computers. This embodiment does not limit this. Including steps S201 to S203, this solution is applied in the battery charging state, specifically as follows:
[0085] S201 receives the battery output voltage collected by the ADC conversion module and obtains the current battery power.
[0086] In practical applications, see Figure 4 An external power source can be used to power the battery, which in turn powers the battery charging management circuit. This circuit determines the appropriate charging current based on the battery's charge level and the power source's current supply capability. Understandably, at maximum volume and with a wide dynamic range, when the charging current is less than the discharging current, the battery will be in a discharging state for an extended period. During playback, the battery's charge will continuously decrease, and its output voltage will also drop.
[0087] S202, if the battery charge is less than a first preset percentage of the total battery capacity, adjust the maximum volume value as the maximum gain value of the battery charge based on preset rules and the battery output voltage.
[0088] In some embodiments, if the battery charge is less than 30% of the total battery capacity, the maximum charging current provided by the external power supply is 100%, and a preset standard signal is played; the maximum volume value is reduced to the current volume value, so that the average output power is equal to the average charging power, and the current volume value is used as the maximum gain value of the battery charge.
[0089] Understandably, when the battery charge is less than 30% of the total battery capacity, this solution can reduce the maximum volume and output power to make the average output power equal to the average charging power, thereby obtaining the maximum gain value of the current battery charge.
[0090] In practical applications, the preset standard signal is generally selected from a signal source with large dynamic range and relatively large average energy.
[0091] In other embodiments, if the battery charge is less than 20% of the total battery capacity, the maximum charging current provided by the external power supply is 50%, and a preset standard signal is played; the maximum volume value is reduced to the current volume value, so that the average output power is equal to the average charging power, and the current volume value is used as the maximum gain value of the battery charge.
[0092] Understandably, when the battery charge is less than 20% of the total battery capacity, this solution can reduce the maximum volume, decrease the output power, and adjust the external power supply to provide 50% of the maximum charging current, so that the average output power equals the average charging power, thereby obtaining the maximum gain value of the current battery charge.
[0093] In some other embodiments, if the battery charge is less than 10% of the total battery capacity, the maximum charging current provided by the external power supply is 30%, and a preset standard signal is played; the maximum volume value is reduced to the current volume value, so that the average output power is equal to the average charging power, and the current volume value is used as the maximum gain value of the battery charge.
[0094] Understandably, when the battery charge is less than 10% of the total battery capacity, this solution can reduce the maximum volume, decrease the output power, and adjust the external power supply to provide 30% of the maximum charging current, so that the average output power equals the average charging power, thereby obtaining the maximum gain value of the current battery charge.
[0095] In other embodiments, if the battery charge is 0% of the total battery capacity, a standby signal is generated, and the battery is controlled to stop discharging based on the standby signal.
[0096] Understandably, when the battery level is 0, in order to prevent the battery from over-discharging, a standby signal is generated in a timely manner to control the battery to stop discharging, or a power-off signal is generated to control the device to shut down.
[0097] The implementation methods and effects of steps S201 and S202 are as follows: Figure 1 The embodiments described are similar and will not be repeated here.
[0098] S203, Real-time detection of battery power; if the battery power is greater than 60%, adjust the current maximum volume to the original maximum volume.
[0099] It is understood that in this embodiment, an external power source is constantly charging the battery, so the battery level will not keep decreasing, but will dynamically rise or fall according to the volume. When the battery level is greater than 60%, the current maximum volume can be adjusted back to the original maximum volume.
[0100] It should be noted that there is a 30% power gap between 60% and 30% battery capacity. When the battery capacity drops from 60% to 30%, the maximum volume value will be adjusted again using preset rules as the maximum gain value.
[0101] In addition, this embodiment also provides a speaker battery dynamic protection device, which is applied during the battery charging state and includes:
[0102] The acquisition module is used to receive the battery output voltage collected by the ADC conversion module and obtain the current battery level.
[0103] The adjustment module is used to adjust the maximum volume as the maximum gain value of the battery capacity based on preset rules and the battery output voltage when the battery power is less than a first preset percentage value of the total battery capacity.
[0104] The recovery module is used to detect the battery level in real time. If the battery level is greater than 60%, the current maximum volume value is adjusted back to the original maximum volume value.
[0105] The preset rules include:
[0106] According to the second preset percentage value of the maximum charging current provided by the external power supply, a preset standard signal is played, wherein the first preset percentage value corresponds one-to-one with the second preset percentage value;
[0107] The maximum volume value is reduced to the current volume value, so that the average output power equals the average charging power. The current volume value is used as the maximum gain value of the battery capacity, wherein the average output power is obtained from the battery output voltage.
[0108] The aforementioned device can be used to perform corresponding actions. Figure 3 The steps in the method embodiments shown are implemented in a similar manner and have similar technical effects, and will not be repeated here.
[0109] See Figure 5This is a schematic diagram of the hardware structure of a speaker battery dynamic protection device 50 provided in an embodiment of the present invention. The speaker battery dynamic protection device 50 includes: a processor 51, a memory 52, and a computer program; wherein...
[0110] The memory 52 is used to store the computer program, and the memory may also be flash memory. The computer program is, for example, an application program or functional module that implements the above method.
[0111] The processor 51 is configured to execute the computer program stored in the memory to implement the various steps performed by the device in the above method. For details, please refer to the relevant descriptions in the preceding method embodiments.
[0112] Alternatively, the memory 52 can be either standalone or integrated with the processor 51.
[0113] When the memory 52 is a device independent of the processor 51, the device may further include:
[0114] Bus 53 is used to connect the memory 52 and the processor 51.
[0115] The present invention also provides a readable storage medium storing a computer program, which, when executed by a processor, is used to implement the methods provided in the various embodiments described above.
[0116] The readable storage medium can be a computer storage medium or a communication medium. A communication medium includes any medium that facilitates the transfer of computer programs from one location to another. A computer storage medium can be any available medium accessible to a general-purpose or special-purpose computer. For example, a readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application-Specific Integrated Circuit (ASIC). Alternatively, the ASIC can be located in a user equipment. Of course, the processor and the readable storage medium can also exist as discrete components in a communication device. The readable storage medium can be a read-only memory (ROM), random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0117] The present invention also provides a program product including executable instructions stored in a readable storage medium. At least one processor of the device can read the executable instructions from the readable storage medium, and the at least one processor executes the executable instructions to cause the device to implement the methods provided in the various embodiments described above.
[0118] In the embodiments of the above-described device, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly manifested as execution by a hardware processor, or execution by a combination of hardware and software modules within the processor.
[0119] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention 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 or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for dynamic protection of a speaker battery, characterized in that, Applied to the battery charging state, including: Receive the battery output voltage collected by the ADC conversion module and obtain the current battery level; If the battery charge is less than a first preset percentage of the total battery capacity, the maximum volume value is adjusted as the maximum gain value of the battery charge based on preset rules and the battery output voltage. The battery level is monitored in real time. If the battery level is greater than 60%, the current maximum volume is adjusted back to the original maximum volume. The preset rules include: According to the second preset percentage value of the maximum charging current provided by the external power supply, a preset standard signal is played, wherein the first preset percentage value corresponds one-to-one with the second preset percentage value; The maximum volume value is reduced to the current volume value, so that the average output power equals the average charging power. The current volume value is used as the maximum gain value of the battery capacity, wherein the average output power is obtained from the battery output voltage.
2. The method according to claim 1, characterized in that, If the battery charge is less than a first preset percentage of the total battery capacity, the maximum volume is adjusted as the maximum gain value of the battery charge based on preset rules and the battery output voltage, including: If the battery charge is less than 30% of the total battery capacity, the maximum charging current provided by the external power supply is 100%, and a preset standard signal is played. Decrease the maximum volume value to use as the current volume value, make the average output power equal to the average charging power, and use the current volume value as the maximum gain value of the battery capacity.
3. The method according to claim 1, characterized in that, If the battery charge is less than a first preset percentage of the total battery capacity, the maximum volume is adjusted as the maximum gain value of the battery charge based on preset rules and the battery output voltage, including: If the battery charge is less than 20% of the total battery capacity, the maximum charging current provided by the external power supply is 50%, and a preset standard signal is played. Decrease the maximum volume value to use as the current volume value, make the average output power equal to the average charging power, and use the current volume value as the maximum gain value of the battery capacity.
4. The method according to claim 1, characterized in that, If the battery charge is less than a first preset percentage of the total battery capacity, the maximum volume is adjusted as the maximum gain value of the battery charge based on preset rules and the battery output voltage, including: If the battery charge is less than 10% of the total battery capacity, the maximum charging current provided by the external power supply is 30%, and a preset standard signal is played. Decrease the maximum volume value to use as the current volume value, make the average output power equal to the average charging power, and use the current volume value as the maximum gain value of the battery capacity.
5. The method according to claim 1, characterized in that, Also includes: If the battery charge is 0% of the total battery capacity, a standby signal is generated; The battery is controlled to stop discharging based on the standby signal.
Citation Information
Patent Citations
Method and apparatus to supply power voltage to a mobile device in a variable manner
CN101098129A
Audio amplifier module gain setting method and electronic device
CN104917474A