CN110600823A - Method and device for displaying battery electric quantity, computer equipment and storage medium - Google Patents
Method and device for displaying battery electric quantity, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110600823A CN110600823A CN201910735501.7A CN201910735501A CN110600823A CN 110600823 A CN110600823 A CN 110600823A CN 201910735501 A CN201910735501 A CN 201910735501A CN 110600823 A CN110600823 A CN 110600823A
- Authority
- CN
- China
- Prior art keywords
- power
- battery
- virtual power
- virtual
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/44—Methods for charging or discharging
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/48—Accumulators combined with arrangements for measuring, testing or indicating the condition of cells, e.g. the level or density of the electrolyte
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- General Chemical & Material Sciences (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
本发明实施例公开了一种电池电量的展示方法,该方法包括:获取与目标电池对应的虚拟电量;检测目标电池的电池使用状态,所述电池使用状态包括充电状态和/或工作状态;若所述目标电池处于充电状态,按照预设的第一速度增加所述虚拟电量,根据所述增加之后的虚拟电量对所述虚拟电量进行更新,将所述虚拟电量作为目标展示电量进行展示。本发明提供的电池电量展示的方法、装置、计算机设备及存储介质在能根据电池使用情况对电池电量进行估计和计算,能较为准确和稳定地展示电池电量,提高了电池电量展示的准确性,并且不需要设置电量计来实时地对电池电量进行检测,在保证了电池电量的准确性的前提下,还极大地节约了成本。
The embodiment of the present invention discloses a method for displaying battery power. The method includes: acquiring the virtual power corresponding to the target battery; detecting the battery usage status of the target battery, and the battery usage status includes charging status and/or working status; if The target battery is in a charging state, the virtual power is increased according to a preset first speed, the virtual power is updated according to the increased virtual power, and the virtual power is displayed as the target display power. The battery power display method, device, computer equipment and storage medium provided by the present invention can estimate and calculate the battery power according to the usage of the battery, can display the battery power more accurately and stably, and improve the accuracy of the battery power display. In addition, there is no need to set a fuel gauge to detect the battery power in real time, which greatly saves the cost on the premise of ensuring the accuracy of the battery power.
Description
技术领域technical field
本发明涉及智能设备技术领域,尤其涉及一种电池电量的展示方法、装置、计算机设备及存储介质。The present invention relates to the technical field of smart devices, in particular to a method, device, computer equipment and storage medium for displaying battery power.
背景技术Background technique
随着大容量电池的使用,如果电子设备能够精确地展示电池电量,不仅能够很好地防止其过度充电和放电,也能够让用户知道剩余电量来估算使用时间,及时保存重要数据。With the use of large-capacity batteries, if the electronic device can accurately display the battery power, it can not only prevent it from overcharging and discharging, but also let the user know the remaining power to estimate the usage time and save important data in time.
目前的带屏幕的电子设备,例如,电动牙刷,如果使用电量计进行电池电量检测,会造成设备成本增加;如果不使用电量计进行电量检测,通常会使设备电池电量展示有较大的误差,充电时会导致电池电量偏高,给用户带来不好的体验效果。For current electronic devices with screens, such as electric toothbrushes, if a fuel gauge is used for battery power detection, the cost of the device will increase; if a fuel gauge is not used for power detection, there will usually be a large error in the battery power display of the device. Charging will cause the battery power to be high, which will bring bad experience to the user.
因此,需要一种低成本的、稳定的电池电量展示方法。Therefore, there is a need for a low-cost, stable battery power display method.
发明内容Contents of the invention
基于此,有必要针对上述问题,提出了一种电池电量的展示方法、装置、计算机设备及存储介质。Based on this, it is necessary to propose a method, device, computer equipment, and storage medium for displaying battery power to address the above problems.
一种电池电量的展示方法,所述方法包括:A method for displaying battery power, the method comprising:
获取与目标电池对应的虚拟电量;Obtain the virtual power corresponding to the target battery;
检测目标电池的电池使用状态,所述电池使用状态包括充电状态和/或工作状态;Detecting the battery usage status of the target battery, the battery usage status including charging status and/or working status;
若所述目标电池处于充电状态,按照预设的第一速度增加所述虚拟电量,根据所述增加之后的虚拟电量对所述虚拟电量进行更新,将所述虚拟电量作为目标展示电量进行展示。If the target battery is in a charging state, increase the virtual power at a preset first speed, update the virtual power according to the increased virtual power, and display the virtual power as the target display power.
在一个实施例中,所述检测目标电池的电池使用状态步骤之后,还包括:若所述目标电池处于工作状态,按照预设的第二速度减小所述虚拟电量,根据所述减少之后的虚拟电量对所述虚拟电量进行更新,将所述虚拟电量作为目标展示电量进行展示。In one embodiment, after the step of detecting the battery usage state of the target battery, it further includes: if the target battery is in the working state, reducing the virtual power at a preset second speed, according to the reduced The virtual electric quantity updates the virtual electric quantity, and displays the virtual electric quantity as the target display electric quantity.
在一个实施例中,所述获取与目标电池对应的虚拟电量的步骤,还包括:接收设备启动指令;获取目标电池的当前电池电量,获取预存储的虚拟电量作为所述与目标电池对应的虚拟电量。In one embodiment, the step of acquiring the virtual power corresponding to the target battery further includes: receiving a device startup instruction; acquiring the current battery power of the target battery, and acquiring a pre-stored virtual power as the virtual power corresponding to the target battery electricity.
在一个实施例中,所述获取预存储的虚拟电量作为所述与目标电池对应的虚拟电量的步骤,还包括:判断所述预存储的虚拟电量是否大于所述当前电池电量;在所述虚拟电量大于当前电池电量的情况下,按照预设的第三速度减小所述虚拟电量,根据所述减小之后的虚拟电量对所述虚拟电量进行更新。In one embodiment, the step of obtaining the pre-stored virtual power as the virtual power corresponding to the target battery further includes: judging whether the pre-stored virtual power is greater than the current battery power; When the power is greater than the current battery power, the virtual power is reduced at a preset third speed, and the virtual power is updated according to the reduced virtual power.
在一个实施例中,所述若所述目标电池处于充电状态的步骤,还包括:检测目标电池是否停止充电;若检测到停止充电,按照预设的电量增加值对所述虚拟电量进行更新。In one embodiment, the step of if the target battery is in a charging state further includes: detecting whether the target battery stops charging; if it is detected that the charging stops, updating the virtual power according to a preset power increase value.
一种电池电量的展示装置,所述装置包括:A display device for battery power, said device comprising:
获取模块,用于获取与目标电池对应的虚拟电量;An acquisition module, configured to acquire the virtual power corresponding to the target battery;
检测模块,用于检测目标电池的电池使用状态,所述电池使用状态包括充电状态和/或工作状态;A detection module, configured to detect the battery usage status of the target battery, where the battery usage status includes a charging status and/or a working status;
电量更新模块,用于若所述目标电池处于充电状态,按照预设的第一速度增加所述虚拟电量,根据所述增加之后的虚拟电量对所述虚拟电量进行更新,将所述虚拟电量作为目标展示电量进行展示。A power updating module, configured to increase the virtual power at a preset first speed if the target battery is in a charging state, update the virtual power according to the increased virtual power, and use the virtual power as The target display power is displayed.
在一个实施例中,电量更新模块还用于:若所述目标电池处于工作状态,按照预设的第二速度减小所述虚拟电量,根据所述减少之后的虚拟电量对所述虚拟电量进行更新,将所述虚拟电量作为目标展示电量进行展示。In one embodiment, the power updating module is further configured to: if the target battery is in a working state, reduce the virtual power at a preset second speed, and perform an operation on the virtual power according to the reduced virtual power. Update, and display the virtual power as the target display power.
在一个实施例中,所述获取模块还包括:接收单元,用于接收设备启动指令;更新单元,用于获取目标电池的当前电池电量,获取预存储的虚拟电量作为所述与目标电池对应的虚拟电量。In one embodiment, the acquiring module further includes: a receiving unit, configured to receive a device startup instruction; an updating unit, configured to acquire the current battery power of the target battery, and acquire the pre-stored virtual power as the virtual power.
在一个实施例中,所述更新单元还包括:判断子单元,用于判断所述预存储的虚拟电量是否大于所述当前电池电量;更新子单元,用于在所述虚拟电量大于当前电池电量的情况下,按照预设的第三速度减小所述虚拟电量,根据所述减小之后的虚拟电量对所述虚拟电量进行更新。In one embodiment, the updating unit further includes: a judging subunit, configured to judge whether the pre-stored virtual power is greater than the current battery power; an updating subunit, configured to determine if the virtual power is greater than the current battery power In the case of , the virtual power is reduced at a preset third speed, and the virtual power is updated according to the reduced virtual power.
在一个实施例中,所述检测模块还包括:检测单元,用于检测目标电池是否停止充电;计算单元,用于若检测到停止充电,按照预设的电量增加值对所述虚拟电量进行更新。In one embodiment, the detection module further includes: a detection unit for detecting whether the target battery stops charging; a calculation unit for updating the virtual power according to a preset power increase value if the charging stop is detected .
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行以下步骤:A computer device, comprising a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor is made to perform the following steps:
获取与目标电池对应的虚拟电量;Obtain the virtual power corresponding to the target battery;
检测目标电池的电池使用状态,所述电池使用状态包括充电状态和/或工作状态;Detecting the battery usage status of the target battery, the battery usage status including charging status and/or working status;
若所述目标电池处于充电状态,按照预设的第一速度增加所述虚拟电量,根据所述增加之后的虚拟电量对所述虚拟电量进行更新,将所述虚拟电量作为目标展示电量进行展示。If the target battery is in a charging state, increase the virtual power at a preset first speed, update the virtual power according to the increased virtual power, and display the virtual power as the target display power.
一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行以下步骤:A computer-readable storage medium storing a computer program, which when executed by a processor causes the processor to perform the following steps:
获取与目标电池对应的虚拟电量;Obtain the virtual power corresponding to the target battery;
检测目标电池的电池使用状态,所述电池使用状态包括充电状态和/或工作状态;Detecting the battery usage status of the target battery, the battery usage status including charging status and/or working status;
若所述目标电池处于充电状态,按照预设的第一速度增加所述虚拟电量,根据所述增加之后的虚拟电量对所述虚拟电量进行更新,将所述虚拟电量作为目标展示电量进行展示。If the target battery is in a charging state, increase the virtual power at a preset first speed, update the virtual power according to the increased virtual power, and display the virtual power as the target display power.
采用本发明提供的电池电量展示的方法、装置、计算机设备及存储介质,在需要对设备的电池电量展示时,获取与目标电池对应的虚拟电量,检测目标电池的电池使用状态,若所述目标电池处于充电状态,按照预设的速度增加所述虚拟电量,将所述虚拟电量作为目标展示电量进行展示。相比于现有的电量计对电池电量检测的方法,本发明提供的电池电量展示的方法、装置、计算机设备及存储介质在能根据电池使用情况对电池电量进行估计和计算,能较为准确和稳定地展示电池电量,提高了电池电量展示的准确性;并且,本发明提供的电池电量展示的方法、装置、计算机设备及存储介质不需要设置电量计来实时地对电池电量进行检测,在保证了电池电量的准确性的前提下,还极大地节约了成本。Using the battery power display method, device, computer equipment and storage medium provided by the present invention, when it is necessary to display the battery power of the device, obtain the virtual power corresponding to the target battery, detect the battery usage status of the target battery, and if the target The battery is in a charging state, the virtual power is increased at a preset speed, and the virtual power is displayed as a target display power. Compared with the existing methods for detecting battery power by fuel gauges, the method, device, computer equipment and storage medium for displaying battery power provided by the present invention can estimate and calculate battery power according to battery usage conditions, and can be more accurate and accurate. Stable display of battery power improves the accuracy of battery power display; moreover, the battery power display method, device, computer equipment and storage medium provided by the present invention do not need to be equipped with a fuel gauge to detect battery power in real time. On the premise of ensuring the accuracy of battery power, it also greatly saves costs.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
其中:in:
图1为一个实施例中电池电量的展示方法的流程图;FIG. 1 is a flow chart of a method for displaying battery power in an embodiment;
图2为一个实施例中电池电量的展示方法装置的结构框图;Fig. 2 is a structural block diagram of an apparatus for displaying battery power in an embodiment;
图3为一个实施例中电池电量的展示方法装置中获取模块的结构框图;Fig. 3 is a structural block diagram of an acquisition module in a device for displaying battery power in an embodiment;
图4为一个实施例中电池电量的展示方法装置中更新单元的结构框图;Fig. 4 is a structural block diagram of the update unit in the display method device of the battery power in an embodiment;
图5为一个实施例中电池电量的展示方法装置中检测模块的结构框图;Fig. 5 is a structural block diagram of a detection module in a method for displaying battery power in an embodiment;
图6为一个实施例中计算机设备的结构框图。Figure 6 is a block diagram of a computer device in one embodiment.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
在本实施例中,提供了一种电池电量展示方法,该方法的执行可以是基于一终端设备,该终端设备包含电池以及展示该电池电量的电量展示装置(例如,LED灯等)。具体的,该方法的实现可依赖于计算机程序,该计算机程序可运行于基于冯诺依曼体系的计算机系统之上,该计算机系统可以是电动牙刷、电动剃须刀等终端设备。In this embodiment, a method for displaying battery power is provided. The execution of the method may be based on a terminal device, and the terminal device includes a battery and a power display device (for example, an LED light, etc.) for displaying the battery power. Specifically, the implementation of the method may rely on a computer program, which may run on a computer system based on the Von Neumann architecture, and the computer system may be terminal equipment such as an electric toothbrush, an electric shaver, and the like.
如图1所示,在一个实施例中,提供了一种电池电量的展示方法的流程示意图,具体包括如下步骤S102-S106:As shown in FIG. 1, in one embodiment, a schematic flowchart of a method for displaying battery power is provided, specifically including the following steps S102-S106:
步骤S102,获取与目标电池对应的虚拟电量。Step S102, acquiring virtual power corresponding to the target battery.
具体的,虚拟电量为展示在设备上的电量值,虚拟电量可以由数字、百分比或者图形等形式展示。虚拟电量的电量值接近目标电池的当前电池电量的电量值,虚拟电量的改变与目标电池的当前电池电量或使用状态有关。获取与目标电池对应的虚拟电量是确定虚拟电量的初始值。Specifically, the virtual power is the power value displayed on the device, and the virtual power can be displayed in the form of numbers, percentages, or graphics. The power value of the virtual power is close to the power value of the current battery power of the target battery, and the change of the virtual power is related to the current battery power or usage status of the target battery. Obtaining the virtual power corresponding to the target battery is to determine the initial value of the virtual power.
虚拟电量可以是在设备中预存储的电量值,例如,上一次开机使用后最终展示的虚拟电量值。也可以是目前在设备的使用状态中更新的虚拟电量值,例如,充电时按照第一速度增加的虚拟电量。The virtual power may be a power value pre-stored in the device, for example, a virtual power value finally displayed after the device was turned on and used last time. It may also be the virtual power value updated in the current use state of the device, for example, the virtual power increased at the first speed during charging.
在一个实施例中,上述获取与目标电池对应的虚拟电量的步骤还包括:接收设备启动指令;获取目标电池的当前电池电量,获取预存储的虚拟电量作为所述与目标电池对应的虚拟电量。In one embodiment, the step of obtaining the virtual power corresponding to the target battery further includes: receiving a device startup instruction; obtaining the current battery power of the target battery, and obtaining a pre-stored virtual power as the virtual power corresponding to the target battery.
其中,预存储的虚拟电量是设备启动时的虚拟电量的原始值,可以是预设的数值,也可以是上一次设备使用后的虚拟电量的数值,也可以是随机生成的数值。Wherein, the pre-stored virtual power is the original value of the virtual power when the device is started, and may be a preset value, or a value of the virtual power after the device was used last time, or a randomly generated value.
在每次设备启动时,对目标电池对应的虚拟电量进行更新,使得目标电池对应的虚拟电量与当前电池电量相近或一致,使得虚拟电量的初始值更加准确。可以通过启动设备对虚拟电量进行校准,确保目标电池对应的虚拟电量的准确性,减少后续对电池电量计算的误差。Every time the device is started, the virtual power corresponding to the target battery is updated, so that the virtual power corresponding to the target battery is similar to or consistent with the current battery power, so that the initial value of the virtual power is more accurate. The virtual power can be calibrated by starting the device to ensure the accuracy of the virtual power corresponding to the target battery and reduce subsequent errors in battery power calculations.
在一个实施例中,上述获取预存储的虚拟电量作为所述与目标电池对应的虚拟电量的步骤,还包括:判断所述预存储的虚拟电量是否大于所述当前电池电量;在所述虚拟电量大于当前电池电量的情况下,按照预设的第三速度减小所述虚拟电量,根据所述减小之后的虚拟电量对所述虚拟电量进行更新。In one embodiment, the step of obtaining the pre-stored virtual power as the virtual power corresponding to the target battery further includes: judging whether the pre-stored virtual power is greater than the current battery power; If it is greater than the current battery power, the virtual power is reduced at a preset third speed, and the virtual power is updated according to the reduced virtual power.
也就是说,可以在预存储的虚拟电量小于当前电池电量的情况下,按照预设的第三速度增加所述虚拟电量,根据所述增加之后的虚拟电量对所述虚拟电量进行更新。例如,在设备放置过久的情况下,电池的实际电量与电池电量之间有很大的区别,在此种情况下,因为开始时展示的电量即为原来预存储的虚拟电量,该电量有较大的误差。如果直接对展示的电量做较大的改动,测量出的电池电量是一个精确的值,而虚拟电量可能是一个大概的数值显示,例如,五格电中的第三格电等,因此虚拟电量需要有一个判断和更新的过程,会在一段时间内显示不准确的数值。因此,在这个过程中,电量进行缓慢地变化到当前电池电量值对应的虚拟电量后停止,给虚拟电量的判断和更新预留了时间,增加显示的准确性,提高用户体验。That is to say, when the pre-stored virtual power is less than the current battery power, the virtual power can be increased at a preset third speed, and the virtual power can be updated according to the increased virtual power. For example, when the device has been left for a long time, there is a big difference between the actual power of the battery and the battery power. In this case, because the power displayed at the beginning is the original pre-stored virtual power, the power has a large error. If a large change is made directly to the displayed power, the measured battery power is an accurate value, while the virtual power may be an approximate numerical display, for example, the third grid of five grids, etc., so the virtual power There needs to be a process of judgment and update, and inaccurate values will be displayed for a period of time. Therefore, in this process, the power slowly changes to the virtual power corresponding to the current battery power value and then stops, which reserves time for the judgment and update of the virtual power, increases the accuracy of the display, and improves the user experience.
但是,为了避免在预存储的虚拟电量与当前电池电量的区别较小的情况下,也需要不断的对虚拟电量进行修改和更新的复杂情况,在一个实施例中,在上述获取预存储的虚拟电量作为所述与目标电池对应的虚拟电量的步骤中,还需要考虑预存储的虚拟电量值与当前电池电量之间的差值大小。However, in order to avoid the complicated situation of continuously modifying and updating the virtual power when the difference between the pre-stored virtual power and the current battery power is small, in one embodiment, the pre-stored virtual In the step of using the electric quantity as the virtual electric quantity corresponding to the target battery, it is also necessary to consider the difference between the pre-stored virtual electric quantity and the current battery electric quantity.
例如,预存储的虚拟电量值为1%,而当前电池电量为2%,即对预存储的虚拟电量与当前电池电量的误差可以忽略不计的情况下,不对预存储的虚拟电量进行更新。也就是说,如果预存储的虚拟电量值与当前电池电量之间的差值小于预设的电量差值的情况下,不执行前述判断所述预存储的虚拟电量是否大于所述当前电池电量的步骤。For example, the pre-stored virtual power value is 1%, while the current battery power is 2%, that is, the pre-stored virtual power is not updated when the error between the pre-stored virtual power and the current battery power is negligible. That is to say, if the difference between the pre-stored virtual power value and the current battery power is smaller than the preset power difference, the aforementioned determination of whether the pre-stored virtual power is greater than the current battery power is not performed. step.
通过对预存储的虚拟电量的增加、减少或不改变,确保了设备启动时目标电池对应的虚拟电量的准确性,接近当前电池电量。By increasing, decreasing or not changing the pre-stored virtual power, the accuracy of the virtual power corresponding to the target battery is ensured when the device is started, which is close to the current battery power.
步骤S104,检测目标电池的电池使用状态,所述电池使用状态包括充电状态和/或工作状态。Step S104, detecting the battery usage status of the target battery, the battery usage status including charging status and/or working status.
电池在充电状态或工作状态的情况下,电池电量会有比较大的变化。在本实施例中,为了区分不同的应用场景对电池电量进行计算和展示,首先需要确定目标电池当前的电池使用状态。具体的,电池使用状态包括充电状态、工作状态和/或待机状态等。在充电状态时,电池电量快速增长,因此需要增加虚拟电量值;在工作状态时,电池电量减小,因此需要减小虚拟电量值;在待机状态时,电池电量消耗可以忽略不计,因此在待机状态可以不改变虚拟电量。When the battery is in the charging state or working state, the battery power will have a relatively large change. In this embodiment, in order to calculate and display the battery power in different application scenarios, it is first necessary to determine the current battery usage status of the target battery. Specifically, the battery usage state includes a charging state, a working state and/or a standby state, and the like. In the charging state, the battery power increases rapidly, so the virtual power value needs to be increased; in the working state, the battery power decreases, so the virtual power value needs to be reduced; in the standby state, the battery power consumption is negligible, so in the standby state The state may not change the virtual power.
步骤S106,若所述目标电池处于充电状态,按照预设的第一速度增加所述虚拟电量,根据所述增加之后的虚拟电量对所述虚拟电量进行更新,将所述虚拟电量作为目标展示电量进行展示。Step S106, if the target battery is in a charging state, increase the virtual power at a preset first speed, update the virtual power according to the increased virtual power, and use the virtual power as the target display power to show.
在充电过程中,电池电量会存在一个较快速度的增长,且电量增长速度一般情况下是恒定不变的,也就是说,电池电量是按照一定的增长速度进行增长的。电池电量增长的速度或者增长的数值是可以通过实验进行计算的,可以得出虚拟电量的增加速度,即第一速度,通过预设的第一速度增加所述虚拟电量。During the charging process, the battery power will increase at a relatively fast rate, and the power growth rate is generally constant, that is to say, the battery power increases at a certain growth rate. The increasing speed or increasing value of the battery power can be calculated through experiments, and the increasing speed of the virtual power can be obtained, that is, the first speed, and the virtual power is increased by the preset first speed.
具体操作中,按照预设的第一速度增加虚拟电量,确保了设备在充电过程中展示给用户的电量是在增加的,确保了电量展示的合理性和准确性,提示用户电量的增长,防止过度充电。In the specific operation, the virtual power is increased according to the preset first speed, which ensures that the power displayed to the user during the charging process of the device is increasing, ensures the rationality and accuracy of the power display, prompts the user to increase the power, and prevents overcharging.
在电池停止充电时,可能存在由于充电时的增压造成停止充电时出现电池电量减小的情况,在一个实施例中,为了避免停止充电时电池电量减小的情况,在上述检测到所述目标电池处于充电状态的情况下,还需要对是否停止充电进行检测,并且对虚拟电量进行一定的更新。When the battery stops charging, there may be a situation where the battery power decreases when charging is stopped due to the boost during charging. In one embodiment, in order to avoid the situation that the battery power decreases when charging is stopped, the When the target battery is in the charging state, it is also necessary to detect whether charging is stopped, and to update the virtual power to a certain extent.
具体的,检测目标电池是否停止充电;若检测到停止充电,按照预设的电量增加值对所述虚拟电量进行更新。Specifically, it is detected whether the charging of the target battery is stopped; if it is detected that the charging is stopped, the virtual power is updated according to the preset power increase value.
将所述虚拟电量加上预设的电量增加值得到更新之后的虚拟电量,更新之后的虚拟电量替换原虚拟电量,作为虚拟电量进行展示,The virtual power is added to the preset power increase value to obtain the updated virtual power, and the updated virtual power replaces the original virtual power and is displayed as a virtual power.
根据如下公式:According to the following formula:
更新之后的虚拟电量=虚拟电量+预设的电量增加值Virtual power after update = virtual power + preset power increase value
计算更新之后的虚拟电量,并且在计算得到更新之后的虚拟电量之后,对原虚拟电量进行更新,然后进行展示。也就是说,展示的虚拟电量是更新之后的虚拟电量。The updated virtual power is calculated, and after the updated virtual power is calculated, the original virtual power is updated and then displayed. In other words, the displayed virtual power is the virtual power after the update.
检测到停止充电,按照预设的电量增加值对所述虚拟电量进行更新,防止停止充电时出现电池电量减少的现象,确保了电量展示的稳定性。When the stop of charging is detected, the virtual power is updated according to the preset power increase value, so as to prevent the phenomenon of battery power reduction when charging stops, and ensure the stability of power display.
步骤S108,若所述目标电池处于工作状态,按照预设的第二速度减小所述虚拟电量,根据所述减少之后的虚拟电量对所述虚拟电量进行更新,将所述虚拟电量作为目标展示电量进行展示。Step S108, if the target battery is in working state, reduce the virtual power according to the preset second speed, update the virtual power according to the reduced virtual power, and display the virtual power as the target power display.
具体的,工作状态中的使用功率不同,例如电动牙刷不同的档位对应的功率不同,可以预设多种速度减小所述虚拟电量。也就是说,在确定电池的工作状态时,还需要确定具体的工作档位,并且按照与相应的工作档位对应的速度来设置第二速度的值,从而提高虚拟电量展示的准确性。Specifically, the power used in the working state is different, for example, the power corresponding to different gears of the electric toothbrush is different, and multiple speeds can be preset to reduce the virtual power. That is to say, when determining the working state of the battery, it is also necessary to determine the specific working gear, and set the value of the second speed according to the speed corresponding to the corresponding working gear, so as to improve the accuracy of virtual power display.
例如,电动牙刷工作档位有多个档位,有清洁、美白、按摩和敏感等档位,这里不同的档位对应的清洁力度不同,因此电池消耗的功率不同,从而电池电量减小的速度不同。For example, the working gear of an electric toothbrush has multiple gears, including cleaning, whitening, massage and sensitive gears. Different gears here correspond to different cleaning powers, so the power consumed by the battery is different, and the speed at which the battery power decreases different.
因此,不同的档位对应的第二速度的值不同。例如,电动牙刷的清洁的档位可以以每分钟减小电池总量的0.5%的电量值的速度对虚拟电量进行更新,美白的档位可以以每分钟减小电池总量的0.7%的电量值的速度对虚拟电量进行更新,按摩的档位可以以每分钟减小电池总量的0.8%的电量值的速度对虚拟电量进行更新,而敏感的档位可以以每分钟减小电池总量的0.4%的电量值的速度对虚拟电量进行更新。Therefore, different gears correspond to different values of the second speed. For example, the cleaning gear of an electric toothbrush can update the virtual power at a rate of 0.5% of the total battery power value per minute, and the whitening gear can reduce the battery power by 0.7% of the total battery power per minute The virtual power is updated at the speed of the value, the massage gear can update the virtual power at a rate of 0.8% of the total battery power value per minute, and the sensitive gear can reduce the total battery power per minute The virtual power is updated at a rate of 0.4% of the power value.
按照预设速度减小虚拟电量,确保了设备在使用过程中展示给用户的电量是在减少的,确保了电量展示的合理性和准确性,提示用户电量减小,防止由于电量过小自动关机,丢失设备使用数据等情况发生。Reduce the virtual power according to the preset speed, ensuring that the power displayed to the user during the use of the device is decreasing, ensuring the rationality and accuracy of the power display, prompting the user to reduce the power, and preventing automatic shutdown due to low power , loss of device usage data, etc. occurs.
如图2所示,在一个实施例中,提出了一种电池电量的展示装置,该装置包括:As shown in Figure 2, in one embodiment, a display device for battery power is proposed, the device comprising:
获取模块202,用于获取与目标电池对应的虚拟电量;An acquisition module 202, configured to acquire the virtual power corresponding to the target battery;
检测模块204,用于检测目标电池的电池使用状态,所述电池使用状态包括充电状态和/或工作状态;A detection module 204, configured to detect the battery usage status of the target battery, where the battery usage status includes a charging status and/or a working status;
电量更新模块206,用于若所述目标电池处于充电状态,按照预设的第一速度增加所述虚拟电量,根据所述增加之后的虚拟电量对所述虚拟电量进行更新,将所述虚拟电量作为目标展示电量进行展示。The power updating module 206 is configured to increase the virtual power at a preset first speed if the target battery is in a charging state, update the virtual power according to the increased virtual power, and update the virtual power It is displayed as the target display power.
在一个实施例中,电量更新模块还用于:若所述目标电池处于工作状态,按照预设的第二速度减小所述虚拟电量,根据所述减少之后的虚拟电量对所述虚拟电量进行更新,将所述虚拟电量作为目标展示电量进行展示。In one embodiment, the power updating module is further configured to: if the target battery is in a working state, reduce the virtual power at a preset second speed, and perform an operation on the virtual power according to the reduced virtual power. Update, and display the virtual power as the target display power.
在一个实施例中,如图3所示,所述获取模块还包括:接收单元,用于接收设备启动指令;更新单元,用于获取目标电池的当前电池电量,获取预存储的虚拟电量作为所述与目标电池对应的虚拟电量。In one embodiment, as shown in FIG. 3 , the acquiring module further includes: a receiving unit, configured to receive a device startup instruction; an updating unit, configured to acquire the current battery power of the target battery, and acquire the pre-stored virtual power as the Describe the virtual power corresponding to the target battery.
在一个实施例中,如图4所示,所述更新单元还包括:判断子单元,用于判断所述预存储的虚拟电量是否大于所述当前电池电量;更新子单元,用于在所述虚拟电量大于当前电池电量的情况下,按照预设的第三速度减小所述虚拟电量,根据所述减小之后的虚拟电量对所述虚拟电量进行更新。In one embodiment, as shown in FIG. 4, the updating unit further includes: a judging subunit, configured to judge whether the pre-stored virtual power is greater than the current battery power; an updating subunit, configured to When the virtual power is greater than the current battery power, the virtual power is reduced at a preset third speed, and the virtual power is updated according to the reduced virtual power.
在一个实施例中,如图5所示,所述检测模块还包括:检测单元,用于检测目标电池是否停止充电;计算单元,用于若检测到停止充电,按照预设的电量增加值对所述虚拟电量进行更新。In one embodiment, as shown in FIG. 5 , the detection module further includes: a detection unit, configured to detect whether the target battery stops charging; The virtual power is updated.
图6示出了一个实施例中计算机设备的内部结构图。该计算机设备具体可以是终端,也可以是服务器。如图6所示,该计算机设备包括通过系统总线连接的处理器、存储器和网络接口。其中,存储器包括非易失性存储介质和内存储器。该计算机设备的非易失性存储介质存储有操作系统,还可存储有计算机程序,该计算机程序被处理器执行时,可使得处理器实现电池电量展示方法。该内存储器中也可储存有计算机程序,该计算机程序被处理器执行时,可使得处理器执行电池电量展示方法。本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Figure 6 shows a diagram of the internal structure of a computer device in one embodiment. Specifically, the computer device may be a terminal or a server. As shown in FIG. 6, the computer device includes a processor, a memory, and a network interface connected through a system bus. Wherein, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and also stores a computer program. When the computer program is executed by the processor, the processor can realize the battery power display method. A computer program may also be stored in the internal memory, and when the computer program is executed by the processor, the processor may execute the battery power display method. Those skilled in the art can understand that the structure shown in FIG. 6 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation on the computer equipment to which the solution of this application is applied. The specific computer equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.
在一个实施例中,提出了一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行以下步骤:获取与目标电池对应的虚拟电量;检测目标电池的电池使用状态,所述电池使用状态包括充电状态和/或工作状态;若所述目标电池处于充电状态,按照预设的第一速度增加所述虚拟电量,根据所述增加之后的虚拟电量对所述虚拟电量进行更新,将所述虚拟电量作为目标展示电量进行展示。In one embodiment, a computer device is provided, including a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor is made to perform the following steps: obtaining and The virtual power corresponding to the target battery; detecting the battery usage status of the target battery, the battery usage status including charging status and/or working status; if the target battery is in a charging status, increasing the virtual power at a preset first speed , updating the virtual power according to the increased virtual power, and displaying the virtual power as a target display power.
在一个实施例中,所述检测目标电池的电池使用状态步骤之后,还包括:若所述目标电池处于工作状态,按照预设的第二速度减小所述虚拟电量,根据所述减少之后的虚拟电量对所述虚拟电量进行更新,将所述虚拟电量作为目标展示电量进行展示。In one embodiment, after the step of detecting the battery usage state of the target battery, it further includes: if the target battery is in the working state, reducing the virtual power at a preset second speed, according to the reduced The virtual electric quantity updates the virtual electric quantity, and displays the virtual electric quantity as the target display electric quantity.
在一个实施例中,所述获取与目标电池对应的虚拟电量的步骤,还包括:接收设备启动指令;获取目标电池的当前电池电量,获取预存储的虚拟电量作为所述与目标电池对应的虚拟电量。In one embodiment, the step of acquiring the virtual power corresponding to the target battery further includes: receiving a device startup instruction; acquiring the current battery power of the target battery, and acquiring a pre-stored virtual power as the virtual power corresponding to the target battery electricity.
在一个实施例中,所述获取预存储的虚拟电量作为所述与目标电池对应的虚拟电量的步骤,还包括:判断所述预存储的虚拟电量是否大于所述当前电池电量;在所述虚拟电量大于当前电池电量的情况下,按照预设的第三速度减小所述虚拟电量,根据所述减小之后的虚拟电量对所述虚拟电量进行更新。In one embodiment, the step of obtaining the pre-stored virtual power as the virtual power corresponding to the target battery further includes: judging whether the pre-stored virtual power is greater than the current battery power; When the power is greater than the current battery power, the virtual power is reduced at a preset third speed, and the virtual power is updated according to the reduced virtual power.
在一个实施例中,所述若所述目标电池处于充电状态的步骤,还包括:检测目标电池是否停止充电;若检测到停止充电,按照预设的电量增加值对所述虚拟电量进行更新。In one embodiment, the step of if the target battery is in a charging state further includes: detecting whether the target battery stops charging; if it is detected that the charging stops, updating the virtual power according to a preset power increase value.
在一个实施例中,提出了一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行以下步骤:获取与目标电池对应的虚拟电量;检测目标电池的电池使用状态,所述电池使用状态包括充电状态和/或工作状态;若所述目标电池处于充电状态,按照预设的第一速度增加所述虚拟电量,根据所述增加之后的虚拟电量对所述虚拟电量进行更新,将所述虚拟电量作为目标展示电量进行展示。In one embodiment, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor performs the following steps: acquire the virtual power corresponding to the target battery; detect The battery usage status of the target battery, the battery usage status includes a charging status and/or a working status; if the target battery is in a charging status, the virtual power is increased at a preset first speed, and according to the virtual power after the increase The electric quantity updates the virtual electric quantity, and displays the virtual electric quantity as the target display electric quantity.
在一个实施例中,所述检测目标电池的电池使用状态步骤之后,还包括:若所述目标电池处于工作状态,按照预设的第二速度减小所述虚拟电量,根据所述减少之后的虚拟电量对所述虚拟电量进行更新,将所述虚拟电量作为目标展示电量进行展示。In one embodiment, after the step of detecting the battery usage state of the target battery, it further includes: if the target battery is in the working state, reducing the virtual power at a preset second speed, according to the reduced The virtual electric quantity updates the virtual electric quantity, and displays the virtual electric quantity as the target display electric quantity.
在一个实施例中,所述获取与目标电池对应的虚拟电量的步骤,还包括:接收设备启动指令;获取目标电池的当前电池电量,获取预存储的虚拟电量作为所述与目标电池对应的虚拟电量。In one embodiment, the step of acquiring the virtual power corresponding to the target battery further includes: receiving a device startup instruction; acquiring the current battery power of the target battery, and acquiring a pre-stored virtual power as the virtual power corresponding to the target battery electricity.
在一个实施例中,所述获取预存储的虚拟电量作为所述与目标电池对应的虚拟电量的步骤,还包括:判断所述预存储的虚拟电量是否大于所述当前电池电量;在所述虚拟电量大于当前电池电量的情况下,按照预设的第三速度减小所述虚拟电量,根据所述减小之后的虚拟电量对所述虚拟电量进行更新。In one embodiment, the step of obtaining the pre-stored virtual power as the virtual power corresponding to the target battery further includes: judging whether the pre-stored virtual power is greater than the current battery power; When the power is greater than the current battery power, the virtual power is reduced at a preset third speed, and the virtual power is updated according to the reduced virtual power.
在一个实施例中,所述若所述目标电池处于充电状态的步骤,还包括:检测目标电池是否停止充电;若检测到停止充电,按照预设的电量增加值对所述虚拟电量进行更新。In one embodiment, the step of if the target battery is in a charging state further includes: detecting whether the target battery stops charging; if it is detected that the charging stops, updating the virtual power according to a preset power increase value.
采用本发明提供的电池电量展示的方法、装置、计算机设备及存储介质,在需要对设备的电池电量展示时,获取与目标电池对应的虚拟电量,检测目标电池的电池使用状态,若所述目标电池处于充电状态,按照预设的速度增加所述虚拟电量,将所述虚拟电量作为目标展示电量进行展示。相比于现有的电量计对电池电量检测的方法,本发明提供的电池电量展示的方法、装置、计算机设备及存储介质在能根据电池使用情况对电池电量进行估计和计算,能较为准确和稳定地展示电池电量,提高了电池电量展示的准确性;并且,本发明提供的电池电量展示的方法、装置、计算机设备及存储介质不需要设置电量计来实时地对电池电量进行检测,在保证了电池电量的准确性的前提下,还极大地节约了成本。Using the battery power display method, device, computer equipment and storage medium provided by the present invention, when it is necessary to display the battery power of the device, obtain the virtual power corresponding to the target battery, detect the battery usage status of the target battery, and if the target The battery is in a charging state, the virtual power is increased at a preset speed, and the virtual power is displayed as a target display power. Compared with the existing methods for detecting battery power by fuel gauges, the method, device, computer equipment and storage medium for displaying battery power provided by the present invention can estimate and calculate battery power according to battery usage conditions, and can be more accurate and accurate. Stable display of battery power improves the accuracy of battery power display; moreover, the battery power display method, device, computer equipment and storage medium provided by the present invention do not need to be equipped with a fuel gauge to detect battery power in real time. On the premise of ensuring the accuracy of battery power, it also greatly saves costs.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be realized through computer programs to instruct related hardware, and the programs can be stored in a non-volatile computer-readable storage medium When the program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any references to memory, storage, database or other media used in the various embodiments provided in the present application may include non-volatile and/or volatile memory. Nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be within the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。请输入具体实施内容部分。The above-mentioned embodiments only express several implementation modes of the present application, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present application. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims. Please enter the specific implementation content section.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910735501.7A CN110600823A (en) | 2019-08-09 | 2019-08-09 | Method and device for displaying battery electric quantity, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910735501.7A CN110600823A (en) | 2019-08-09 | 2019-08-09 | Method and device for displaying battery electric quantity, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110600823A true CN110600823A (en) | 2019-12-20 |
Family
ID=68854028
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910735501.7A Pending CN110600823A (en) | 2019-08-09 | 2019-08-09 | Method and device for displaying battery electric quantity, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110600823A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111262636A (en) * | 2020-01-17 | 2020-06-09 | 惠州Tcl移动通信有限公司 | Method and device for enhancing network data transmission speed, storage medium and mobile terminal |
CN112964998A (en) * | 2021-02-02 | 2021-06-15 | 上海深湾能源科技有限公司 | Electric quantity display method, battery system and computer readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5644210A (en) * | 1994-12-28 | 1997-07-01 | Samsung Electronics Co., Ltd. | Charging control method and circuit of recharging battery |
US7576544B1 (en) * | 1998-12-16 | 2009-08-18 | Index Electronic Co., Ltd. | Electric quantity indicator for an electromotive vehicle |
CN101621557A (en) * | 2008-06-30 | 2010-01-06 | 乐金电子(中国)研究开发中心有限公司 | Method for displaying battery capacity of mobile communication terminal and mobile communication terminal thereof |
CN103033758A (en) * | 2012-10-25 | 2013-04-10 | 北京君正集成电路股份有限公司 | Display electric quantity value calibration method and device |
CN103364735A (en) * | 2013-07-17 | 2013-10-23 | 湖南九天科技股份有限公司 | Method and device for accurately displaying battery electric quantity of portable power source |
CN103901347A (en) * | 2012-12-28 | 2014-07-02 | 华为终端有限公司 | Method for display of battery level and terminal |
CN106501730A (en) * | 2016-12-06 | 2017-03-15 | 歌尔科技有限公司 | A kind of battery electric quantity processing method and equipment |
-
2019
- 2019-08-09 CN CN201910735501.7A patent/CN110600823A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5644210A (en) * | 1994-12-28 | 1997-07-01 | Samsung Electronics Co., Ltd. | Charging control method and circuit of recharging battery |
US7576544B1 (en) * | 1998-12-16 | 2009-08-18 | Index Electronic Co., Ltd. | Electric quantity indicator for an electromotive vehicle |
CN101621557A (en) * | 2008-06-30 | 2010-01-06 | 乐金电子(中国)研究开发中心有限公司 | Method for displaying battery capacity of mobile communication terminal and mobile communication terminal thereof |
CN103033758A (en) * | 2012-10-25 | 2013-04-10 | 北京君正集成电路股份有限公司 | Display electric quantity value calibration method and device |
CN103901347A (en) * | 2012-12-28 | 2014-07-02 | 华为终端有限公司 | Method for display of battery level and terminal |
CN103364735A (en) * | 2013-07-17 | 2013-10-23 | 湖南九天科技股份有限公司 | Method and device for accurately displaying battery electric quantity of portable power source |
CN106501730A (en) * | 2016-12-06 | 2017-03-15 | 歌尔科技有限公司 | A kind of battery electric quantity processing method and equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111262636A (en) * | 2020-01-17 | 2020-06-09 | 惠州Tcl移动通信有限公司 | Method and device for enhancing network data transmission speed, storage medium and mobile terminal |
CN112964998A (en) * | 2021-02-02 | 2021-06-15 | 上海深湾能源科技有限公司 | Electric quantity display method, battery system and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107436418B (en) | Method, terminal and device for calibrating electric quantity attenuation of battery | |
EP2851700B1 (en) | Method and terminal for displaying capacity of battery | |
WO2016145621A1 (en) | Electrical power estimating method and terminal | |
CN112034366B (en) | SOC dynamic compensation method and electronic system | |
CN103701970A (en) | Power consumption prompting method and device for mobile terminal and mobile terminal | |
WO2024120502A1 (en) | Method and device for testing state of health of battery, and storage medium | |
CN109001636A (en) | Method and device for determining battery health degree of battery pack, vehicle and computing equipment | |
CN106603874A (en) | Mobile terminal electric quantity display method and mobile terminal | |
CN110646738A (en) | Power battery SOC obtaining method and system and related components | |
CN113933722B (en) | Method, device, equipment and storage medium for correcting battery SOC misjudgment | |
CN103647877A (en) | Method of increasing electric quantity display precision at the time of starting up of mobile terminal and the mobile terminal | |
CN110600823A (en) | Method and device for displaying battery electric quantity, computer equipment and storage medium | |
JP2023101509A (en) | Semiconductor device and method for detecting remaining amount of battery | |
CN109556646A (en) | Gas sensor calibration method and device, storage medium and terminal | |
KR20220017560A (en) | vehicle, and controlling method thereof | |
CN113805084A (en) | Method and device for calculating battery capacity attenuation, computer equipment and storage medium | |
CN107918101A (en) | charge state indicating method and indicating system | |
CN116559693A (en) | Battery SOC evaluation method and device, electronic equipment and storage medium | |
CN116819346A (en) | Battery SOC estimation method, device, equipment and storage medium | |
CN115436827B (en) | Insulation resistance detection method, device and equipment | |
JP7656770B2 (en) | Method and device for displaying battery charge amount, electrical terminal and storage medium | |
WO2016041398A1 (en) | Method for storing battery level information of mobile terminal and mobile terminal | |
CN115754772B (en) | Battery capacity attenuation processing method, device, equipment and storage medium | |
CN111124452A (en) | Software upgrading method and device for instrument, instrument and storage medium | |
WO2023238636A1 (en) | Manufacturing method, manufacturing device, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191220 |