WO2021218184A1 - 一种电池电量显示方法、装置及电子设备和存储介质 - Google Patents

一种电池电量显示方法、装置及电子设备和存储介质 Download PDF

Info

Publication number
WO2021218184A1
WO2021218184A1 PCT/CN2020/136333 CN2020136333W WO2021218184A1 WO 2021218184 A1 WO2021218184 A1 WO 2021218184A1 CN 2020136333 W CN2020136333 W CN 2020136333W WO 2021218184 A1 WO2021218184 A1 WO 2021218184A1
Authority
WO
WIPO (PCT)
Prior art keywords
battery
power
tested
duration
fully charged
Prior art date
Application number
PCT/CN2020/136333
Other languages
English (en)
French (fr)
Inventor
刘凯
李文凤
Original Assignee
歌尔股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 歌尔股份有限公司 filed Critical 歌尔股份有限公司
Priority to US17/996,450 priority Critical patent/US20230228820A1/en
Publication of WO2021218184A1 publication Critical patent/WO2021218184A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/385Arrangements for measuring battery or accumulator variables
    • G01R31/387Determining ampere-hour charge capacity or SoC
    • G01R31/388Determining ampere-hour charge capacity or SoC involving voltage measurements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/3644Constructional arrangements
    • G01R31/3646Constructional arrangements for indicating electrical conditions or variables, e.g. visual or audible indicators
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/382Arrangements for monitoring battery or accumulator variables, e.g. SoC
    • G01R31/3842Arrangements for monitoring battery or accumulator variables, e.g. SoC combining voltage and current measurements
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/48Accumulators combined with arrangements for measuring, testing or indicating the condition of cells, e.g. the level or density of the electrolyte
    • H01M10/488Cells or batteries combined with indicating means for external visualization of the condition, e.g. by change of colour or of light density
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • H02J7/0049Detection of fully charged condition
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Definitions

  • This application relates to the technical field of electronic equipment, and more specifically, to a battery power display method and device, an electronic device, and a computer-readable storage medium.
  • the purpose of this application is to provide a battery power display method and device, an electronic device, and a computer-readable storage medium, which significantly improves user experience.
  • this application provides a battery power display method, including:
  • the full power is displayed through the UI interface.
  • the judging whether the battery to be tested can be fully charged includes:
  • the judging whether the battery to be tested can be fully charged includes:
  • the battery to be tested is equipped with a fuel gauge, directly obtain the current power value of the battery to be tested detected by the fuel gauge;
  • the method further includes:
  • displaying the full battery through the UI interface includes:
  • the full power is directly displayed through the UI interface
  • the duration is greater than the preset timeout time, and the power value corresponding to the current power state is in the second power range, display the first prompt message that the battery is depleted, and display the full power through the UI interface;
  • the second prompt message indicating that the battery is badly worn out is returned, and the full power is displayed through the UI interface.
  • the method further includes:
  • the full power is directly displayed through the UI interface.
  • it also includes:
  • the average value of the multiple initial timeout periods is determined as the preset timeout period.
  • a battery power display device including:
  • the first judgment module is used for judging whether the battery to be tested can be fully charged when the battery to be tested is in a constant voltage charging state
  • a time monitoring module configured to determine the current power state of the battery to be tested if it is determined that the battery to be tested can be fully charged, and monitor the duration of the battery to be tested in the current power state;
  • the second judgment module is used to judge whether the duration is greater than the corresponding preset timeout time
  • the full power display module is configured to display the full power through the UI interface if the duration is greater than the preset timeout time.
  • the first judgment module includes:
  • a judging unit for judging whether the current voltage value reaches a preset voltage threshold
  • the determining unit is configured to determine that the battery to be tested can be fully charged if the current voltage value reaches the preset voltage threshold.
  • an electronic device including:
  • Memory used to store computer programs
  • the processor is configured to implement the steps of any battery power display method disclosed above when executing the computer program.
  • the present application provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, any one of the battery power display methods disclosed above is implemented A step of.
  • the battery power display method includes: determining whether the battery to be tested is fully charged when the battery to be tested is in a constant voltage charging state; if not, determining the battery level of the battery to be tested The current state of charge, and monitor the duration of the battery to be detected in the current state of charge; determine whether the duration is greater than the corresponding preset timeout time; if the duration is greater than the preset timeout time, then The full battery is displayed through the UI interface. It can be seen from the above that this application can determine whether the battery to be tested can be fully charged when the battery is charged at a constant voltage.
  • the UI can be used The interface displays the full power, so that the full power status can be displayed correctly even when the battery is worn out, which significantly improves the user experience.
  • the application also discloses a battery power display device, an electronic device and a computer-readable storage medium, which can also achieve the above technical effects.
  • FIG. 1 is a flowchart of a battery power display method disclosed in an embodiment of the application
  • FIG. 3 is a structural diagram of a battery power display device disclosed in an embodiment of the application.
  • FIG. 5 is a structural diagram of another electronic device disclosed in an embodiment of the application.
  • the embodiment of the present application discloses a battery power display method, which significantly improves user experience.
  • a battery power display method disclosed in an embodiment of the present application includes:
  • step S101 When the battery to be tested is in a constant voltage charging state, determine whether the battery to be tested can be fully charged; if not, go to step S102;
  • a fuel gauge when determining whether the battery to be tested can be fully charged, it is necessary to obtain the current voltage value of the battery to be tested, and determine whether the current voltage value reaches the preset voltage threshold. If the current voltage value reaches the preset voltage threshold, it is determined that the battery to be tested can be fully charged.
  • the above-mentioned preset voltage threshold may specifically be a voltage value corresponding to a full power, which may be set according to actual conditions in specific implementation, and is not specifically limited here.
  • the fuel gauge can be used to detect the current power value of the battery to be tested, so that the current power value can be directly obtained, and whether the current power value reaches the preset value can be determined Power threshold. If the current power value reaches the preset power threshold, it is determined that the battery to be tested can be fully charged.
  • the foregoing preset power threshold may specifically be a full power value, which may be set according to actual conditions in specific implementation, and is not specifically limited here.
  • S102 Determine the current power state of the battery to be tested, and monitor the duration of the battery to be tested in the current power state;
  • the current state of charge of the battery to be tested is acquired and timing is started to detect the duration of the battery to be tested in the current state of charge.
  • the full power can be displayed in the display area of the battery power directly through the UI interface.
  • step S103 Determine whether the duration is greater than the corresponding preset timeout time; if so, go to step S104;
  • the preset timeout period may correspond to the power state of the battery, that is, different power states may correspond to different timeout periods.
  • the timeout time can be obtained by taking the difference. For example, the time t1 when the power is from 50% to 100% and the time t2 when the power is from 50% to 99% can be obtained.
  • the timeout time is the result of t1 minus t2. This difference can also be averaged based on multiple charging curves to improve the accuracy of the result.
  • the above-mentioned CV constant voltage charging time can be set according to requirements, for example, it is stipulated that the electric quantity reaches 50% and it starts to enter the constant voltage stage.
  • the full charge can be displayed in the corresponding display area through the UI interface to avoid the failure to display the full charge when the battery is depleted Condition.
  • a timeout and full power flag can be set, and when the power management module detects the flag, it can send a corresponding notification to the UI module to display the full power through the UI interface.
  • the battery power display method includes: determining whether the battery to be tested is fully charged when the battery to be tested is in a constant voltage charging state; if not, determining the battery level of the battery to be tested The current state of charge, and monitor the duration of the battery to be detected in the current state of charge; determine whether the duration is greater than the corresponding preset timeout time; if the duration is greater than the preset timeout time, then The full battery is displayed through the UI interface. It can be seen from the above that this application can determine whether the battery to be tested can be fully charged when the battery is charged at a constant voltage.
  • the UI can be used The interface displays the full power, so that the full power status can be displayed correctly even when the battery is worn out, which significantly improves the user experience.
  • the embodiment of the application discloses another battery power display method. Compared with the previous embodiment, this embodiment further illustrates and optimizes the technical solution. As shown in Figure 2, specific:
  • step S201 When the battery to be tested is in a constant voltage charging state, determine whether the battery to be tested can be fully charged; if not, go to step S202;
  • S202 Determine the current power state of the battery to be detected, and determine the power range in which the power value corresponding to the current power state is located;
  • S203 Monitoring the duration of the battery to be detected in the current state of charge
  • the corresponding power range can be preset according to the degree of battery loss, and the corresponding battery loss degree can be obtained according to the current continuous power state of the battery to be detected.
  • the power range can be divided into a first power range, a second power range, and a third power range. If the battery continues to maintain the power value exceeding the preset timeout period in the first power range during charging, it means that the battery is almost not in the first power range. There is loss, or the loss can be neglected.
  • the full power can be displayed directly through the UI interface; if the power value is in the second power range, it means that the battery has a certain loss, but the impact on normal use is small, so it can be passed While the UI interface displays full power, it returns the first prompt message that the battery is depleted, and then the first prompt message is displayed in the set prompt area; if the power value is in the third power range, it means that the battery is worn out and may be It will affect the normal use of the device. Therefore, while displaying the full battery through the UI interface, it can return the second prompt information with serious battery consumption.
  • the second prompt information can be realized through the UI interface display, voice broadcast, etc. remind.
  • the following describes a battery power display device provided by an embodiment of the present application.
  • the battery power display device described below and the battery power display method described above can be cross-referenced.
  • a battery power display device provided by an embodiment of the present application includes:
  • the first judging module 301 is configured to judge whether the battery to be tested can be fully charged when the battery to be tested is in a constant voltage charging state;
  • the time monitoring module 302 is configured to determine the current state of charge of the battery to be tested if it is determined that the battery to be tested can be fully charged, and monitor the duration of the battery to be tested in the current state of charge;
  • the second judgment module 303 is configured to judge whether the duration is greater than the corresponding preset timeout time
  • the full power display module 304 is configured to display the full power through the UI interface if the duration is greater than the preset timeout time.
  • the first judgment module 301 provided in the embodiment of the present application may specifically include:
  • a judging unit for judging whether the current voltage value reaches a preset voltage threshold
  • the determining unit is configured to determine that the battery to be tested can be fully charged if the current voltage value reaches the preset voltage threshold.
  • an electronic device As shown in FIG. 4, an electronic device provided by an embodiment of the application includes:
  • the memory 100 is used to store computer programs
  • the processor 200 is configured to implement the steps provided in the foregoing embodiments when executing the computer program.
  • the memory 100 includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and computer-readable instructions
  • the internal memory provides an environment for running the operating system and the computer-readable instructions in the non-volatile storage medium.
  • the processor 200 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip, which provides computing and control capabilities for electronic devices, and executes the
  • the computer program stored in the memory 100 can implement the steps of the battery power display method disclosed in any of the foregoing embodiments.
  • the electronic device further includes:
  • the input interface 300 is connected to the processor 200 and is used to obtain externally imported computer programs, parameters, and instructions, and store them in the memory 100 under the control of the processor 200.
  • the input interface 300 can be connected to an input device to receive parameters or instructions manually input by the user.
  • the input device can be a touch layer covered on the display screen, a button, a trackball or a touchpad provided on the terminal shell, or a keyboard, a touchpad, or a mouse.
  • the display unit 400 is connected to the processor 200 and is used for displaying data processed by the processor 200 and for displaying a visualized user interface.
  • the display unit 400 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc.
  • the network port 500 is connected to the processor 200 and is used to communicate with external terminal devices.
  • the communication technology used in the communication connection can be wired communication technology or wireless communication technology, such as mobile high-definition link technology (MHL), universal serial bus (USB), high-definition multimedia interface (HDMI), wireless fidelity technology (WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, communication technology based on IEEE802.11s, etc.
  • FIG. 5 only shows an electronic device with components 100-500. Those skilled in the art can understand that the structure shown in FIG. 5 does not constitute a limitation on the electronic device, and may include fewer or more components than shown in the figure. Components, or a combination of certain components, or different component arrangements.
  • This application also provides a computer-readable storage medium, which may include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic Various media that can store program codes, such as discs or optical discs.
  • a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the battery power display method disclosed in any of the foregoing embodiments are implemented.
  • This application can determine whether the battery to be tested can be fully charged when the battery is charged at a constant voltage. If it cannot be fully charged, that is, the battery is depleted, when the battery is in the current state of charge for a preset timeout period, the full charge will be displayed on the UI interface , So as to achieve the correct display of the fully charged state even when the battery is worn out, which significantly improves the user experience.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Power Engineering (AREA)
  • Secondary Cells (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

一种电池电量显示方法、装置及一种电子设备和计算机可读存储介质,方法包括:在待检测电池处于恒压充电状态下,判断待检测电池能否充满(S101);如果否,则确定待检测电池的当前电量状态,并监测待检测电池在当前电量状态下的持续时间(S102);判断持续时间是否大于对应的预设超时时间(S103);若持续时间大于预设超时时间,则通过UI界面显示满电量(S104)。电池电量显示方法能够在电池恒压充电时,判断待检测电池是否能够充满,若不能充满,即电池存在损耗,则当电池在当前电量状态下持续时间达到预设超时时间后,通过UI界面显示满电量,从而实现在电池有损耗的情况下仍可以正确显示满电状态,显著提高了用户体验度。

Description

一种电池电量显示方法、装置及电子设备和存储介质
本申请要求于2020年04月30日提交中国专利局、申请号202010365386.1、申请名称为“一种电池电量显示方法、装置及电子设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子设备技术领域,更具体地说,涉及一种电池电量显示方法、装置及一种电子设备和一种计算机可读存储介质。
背景技术
众所周知,消费类电子产品若长时间使用,则不可避免的会导致电池有相应程度的损耗,进而导致充电时无法正确地显示充满电状态,给用户造成困扰,造成用户使用体验不佳。
因此,如何解决上述问题是本领域技术人员需要重点关注的。
发明内容
本申请的目的在于提供一种电池电量显示方法、装置及一种电子设备和一种计算机可读存储介质,显著提高了用户体验度。
为实现上述目的,本申请提供了一种电池电量显示方法,包括:
在待检测电池处于恒压充电状态下,判断所述待检测电池能否充满;
如果否,则确定所述待检测电池的当前电量状态,并监测所述待检测电池在所述当前电量状态下的持续时间;
判断所述持续时间是否大于对应的预设超时时间;
若所述持续时间大于所述预设超时时间,则通过UI界面显示满电量。
可选的,所述判断所述待检测电池能否充满,包括:
获取所述待检测电池的当前电压值;
判断所述当前电压值是否达到预设电压阈值;
如果是,则判定所述待检测电池能够充满。
可选的,所述判断所述待检测电池能否充满,包括:
若所述待检测电池安装有电量计,则直接获取电量计检测得到的所述待检测电池的当前电量值;
判断所述当前电量值是否达到预设电量阈值;
如果是,则判定所述待检测电池能够充满。
所述确定所述待检测电池的当前电量状态之后,还包括:
确定所述当前电量状态对应的电量值所处的电量范围;
相应的,若所述持续时间大于所述预设超时时间,则通过UI界面显示满电量,包括:
若所述持续时间大于所述预设超时时间,且所述当前电量状态对应的电量值处于第一电量范围,则直接通过UI界面显示满电量;
若所述持续时间大于所述预设超时时间,且所述当前电量状态对应的电量值处于第二电量范围,则显示电池存在损耗的第一提示信息,并通过UI界面显示满电量;
若所述持续时间大于所述预设超时时间,且所述当前电量状态对应的电量值处于第三电量范围,则返回电池损耗严重的第二提示信息,并通过UI界面显示满电量。
可选的,所述判断所述待检测电池能否充满之后,还包括:
若判定所述待检测电池能够充满,则直接通过UI界面显示满电量。
可选的,还包括:
收集所述待检测电池的多条历史充电曲线,并确定每条历史充电曲线分别对应的初始超时时间;
将多个所述初始超时时间的平均值确定为所述预设超时时间。
为实现上述目的,本申请提供了一种电池电量显示装置,包括:
第一判断模块,用于在待检测电池处于恒压充电状态下,判断所述待检测电池能否充满;
时间监测模块,用于若判定所述待检测电池能够充满,则确定所述待检测电池的当前电量状态,并监测所述待检测电池在所述当前电量状态下的持续时间;
第二判断模块,用于判断所述持续时间是否大于对应的预设超时时间;
满电显示模块,用于若所述持续时间大于所述预设超时时间,则通过UI界面显示满电量。
可选的,所述第一判断模块,包括:
获取单元,用于获取所述待检测电池的当前电压值;
判断单元,用于判断所述当前电压值是否达到预设电压阈值;
判定单元,用于若所述当前电压值达到所述预设电压阈值,则判定所述待检测电池能够充满。
为实现上述目的,本申请提供了一种电子设备,包括:
存储器,用于存储计算机程序;
处理器,用于执行所述计算机程序时实现前述公开的任一种电池电量显示方法的步骤。
为实现上述目的,本申请提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现前述公开的任一种电池电量显示方法的步骤。
通过以上方案可知,本申请提供的一种电池电量显示方法,包括:在待检测电池处于恒压充电状态下,判断所述待检测电池能否充满;如果否,则确定所述待检测电池的当前电量状态,并监测所述待检测电池在所述当前电量状态下的持续时间;判断所述持续时间是否大于对应的预设超时时间;若所述持续时间大于所述预设超时时间,则通过UI界面显示满电量。由上可知,本申请能够在电池恒压充电时,判断待检测电池是否能够充满,若不能充满,即电池存在损耗,则当电池在当前电量状态下持续时间达到预设超时时间后,通过UI界面显示满电量,从而实现在电池有损耗的情况下仍可以正确显示满电状态,显著提高了用户体验度。
本申请还公开了一种电池电量显示装置及一种电子设备和一种计算机可读存储介质,同样能实现上述技术效果。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本申请。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例公开的一种电池电量显示方法的流程图;
图2为本申请实施例公开的另一种电池电量显示方法的流程图;
图3为本申请实施例公开的一种电池电量显示装置的结构图;
图4为本申请实施例公开的一种电子设备的结构图;
图5为本申请实施例公开的另一种电子设备的结构图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本 申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在传统技术中,消费类电子产品若长时间使用,则不可避免的会导致电池有相应程度的损耗,进而导致充电时无法正确地显示充满电状态,给用户造成困扰,造成用户使用体验不佳。
因此,本申请实施例公开了一种电池电量显示方法,显著提高了用户体验度。
参见图1所示,本申请实施例公开的一种电池电量显示方法包括:
S101:在待检测电池处于恒压充电状态下,判断所述待检测电池能否充满;如果否,则进入步骤S102;
本申请实施例中,将在待检测电池处于恒压充电状态下,判断待检测电池是否能够充满。
在一种可行的实施方式中,若未安装有电量计,则在判断待检测电池是否能够充满时,需要获取待检测电池的当前电压值,并判断当前电压值是否达到预设电压阈值。若当前电压值达到预设电压阈值,则判定待检测电池能够充满。上述预设电压阈值具体可以为满电量对应的电压值,可以在具体实施中根据实际情况设定,在此不对其进行具体限定。
在另外一种可行的实施方式中,若待检测电池安装有电量计,则可以利用电量计检测待检测电池的当前电量值,从而可直接获取当前电量值,并判断当前电量值是否达到预设电量阈值。若当前电量值达到预设电量阈值,则判定待检测电池能够充满。上述预设电量阈值具体可以为满电量值,可以在具体实施中根据实际情况设定,在此不对其进行具体限定。
S102:确定所述待检测电池的当前电量状态,并监测所述待检测电池在所述当前电量状态下的持续时间;
在本步骤中,若通过上述步骤判定得到待检测电池无法充满,则获取待检测电池的当前电量状态并开始计时,以检测待检测电池在当前电量状态下的持续时间。
可以理解的是,若通过上述步骤判定得到待检测电池能够充满,则可以直接通过UI界面在电池电量的显示区域显示满电量。
S103:判断所述持续时间是否大于对应的预设超时时间;如果是,则进入步骤S104;
需要指出的是,本步骤将监测持续时间是否超过对应的预设超时时间。预设超时时间可以与电池的电量状态对应,即不同的电量状态可以对应不同的超时时间。
具体地,可以通过收集待检测电池的多条历史充电曲线,并确定每条历史充电曲线分别对应的初始超时时间,进而将多个初始超时时间的平均值确定为预设超时时间。也即,可以根据所选电池的充电曲线,结合对CV恒压充电时长的要求,以及进入CV恒压充电状态到电池电量99%所用的时间,取差值得到超时时间。例如,可以获取电量从50%到100% 的时间t1,以及电量从50%到99%的时间t2,超时时间即为t1减去t2的结果。此差值还可根据多条充电曲线取平均值,以提升结果的准确性。上述CV恒压充电时长可以根据需求设定,例如规定电量达到50%开始进入恒压阶段。
S104:通过UI界面显示满电量。
可以理解的是,若监测到待检测电池在当前电量状态下的持续时间超出预设超时时间,则可通过UI界面在对应的显示区域显示满电量,避免电池存在损耗时充电无法显示满电的情况。在具体实施中,可以设置一个超时满电的标识,当电源管理模块检测到该标识后,则可向UI模块发送相应的通知,以通过UI界面显示满电。
通过以上方案可知,本申请提供的一种电池电量显示方法,包括:在待检测电池处于恒压充电状态下,判断所述待检测电池能否充满;如果否,则确定所述待检测电池的当前电量状态,并监测所述待检测电池在所述当前电量状态下的持续时间;判断所述持续时间是否大于对应的预设超时时间;若所述持续时间大于所述预设超时时间,则通过UI界面显示满电量。由上可知,本申请能够在电池恒压充电时,判断待检测电池是否能够充满,若不能充满,即电池存在损耗,则当电池在当前电量状态下持续时间达到预设超时时间后,通过UI界面显示满电量,从而实现在电池有损耗的情况下仍可以正确显示满电状态,显著提高了用户体验度。
本申请实施例公开了另一种电池电量显示方法,相对于上一实施例,本实施例对技术方案作了进一步的说明和优化。参见图2所示,具体的:
S201:在待检测电池处于恒压充电状态下,判断所述待检测电池能否充满;如果否,则进入步骤S202;
S202:确定所述待检测电池的当前电量状态,并确定所述当前电量状态对应的电量值所处的电量范围;
S203:监测所述待检测电池在所述当前电量状态下的持续时间;
S204:判断所述持续时间是否大于对应的预设超时时间;
S205:若所述持续时间大于所述预设超时时间,且所述当前电量状态对应的电量值处于第一电量范围,则直接通过UI界面显示满电量;
S206:若所述持续时间大于所述预设超时时间,且所述当前电量状态对应的电量值处于第二电量范围,则显示电池存在损耗的第一提示信息,并通过UI界面显示满电量;
S207:若所述持续时间大于所述预设超时时间,且所述当前电量状态对应的电量值处于第三电量范围,则返回电池损耗严重的第二提示信息,并通过UI界面显示满电量。
本申请实施例中,可以根据电池的损耗程度预先设定相应的电量范围,即可根据待检测电池当前持续的电量状态得到对应的电池损耗程度。
具体地,可将电量范围分为第一电量范围、第二电量范围和第三电量范围,若电池在充电时持续保持超过预设超时时间的电量值处于第一电量范围,则表示电池几乎不存在损耗,或者损耗可以忽略不计,此时可直接通过UI界面显示满电量;若电量值处于第二电量范围,则表示电池存在一定的损耗,但对正常使用的影响较小,因此可在通过UI界面显示满电量的同时,返回电池存在损耗的第一提示信息,即可在设定的提示区域显示第一提示信息;若电量值处于第三电量范围,则表示电池的损耗较大,可能会影响正常的设备使用,因此可在通过UI界面显示满电量的同时,返回电池损耗严重的第二提示信息,在具体实施中,可以通过UI界面显示、语音播报等方式实现第二提示信息的提醒。
下面对本申请实施例提供的一种电池电量显示装置进行介绍,下文描述的一种电池电量显示装置与上文描述的一种电池电量显示方法可以相互参照。
参见图3所示,本申请实施例提供的一种电池电量显示装置包括:
第一判断模块301,用于在待检测电池处于恒压充电状态下,判断所述待检测电池能否充满;
时间监测模块302,用于若判定所述待检测电池能够充满,则确定所述待检测电池的当前电量状态,并监测所述待检测电池在所述当前电量状态下的持续时间;
第二判断模块303,用于判断所述持续时间是否大于对应的预设超时时间;
满电显示模块304,用于若所述持续时间大于所述预设超时时间,则通过UI界面显示满电量。
关于上述模块301至304的具体实施过程可参考前述实施例公开的具体内容,在此不再进行赘述。
在上述实施例的基础上,作为一种优选实施方式,本申请实施例提供的第一判断模块301可以具体包括:
获取单元,用于获取所述待检测电池的当前电压值;
判断单元,用于判断所述当前电压值是否达到预设电压阈值;
判定单元,用于若所述当前电压值达到所述预设电压阈值,则判定所述待检测电池能够充满。
本申请还提供了一种电子设备,参见图4所示,本申请实施例提供的一种电子设备包括:
存储器100,用于存储计算机程序;
处理器200,用于执行所述计算机程序时可以实现上述实施例所提供的步骤。
具体的,存储器100包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机可读指令,该内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。处理器200在一些实施例中可以是一中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器或其他数据处理芯片,为电子设备提供计算和控制能力,执行所述存储器100中保存的计算机程序时,可以实现前述任一实施例公开的电池电量显示方法的步骤。
在上述实施例的基础上,作为优选实施方式,参见图5所示,所述电子设备还包括:
输入接口300,与处理器200相连,用于获取外部导入的计算机程序、参数和指令,经处理器200控制保存至存储器100中。该输入接口300可以与输入装置相连,接收用户手动输入的参数或指令。该输入装置可以是显示屏上覆盖的触摸层,也可以是终端外壳上设置的按键、轨迹球或触控板,也可以是键盘、触控板或鼠标等。
显示单元400,与处理器200相连,用于显示处理器200处理的数据以及用于显示可视化的用户界面。该显示单元400可以为LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。
网络端口500,与处理器200相连,用于与外部各终端设备进行通信连接。该通信连接所采用的通信技术可以为有线通信技术或无线通信技术,如移动高清链接技术(MHL)、通用串行总线(USB)、高清多媒体接口(HDMI)、无线保真技术(WiFi)、蓝牙通信技术、低功耗蓝牙通信技术、基于IEEE802.11s的通信技术等。
图5仅示出了具有组件100-500的电子设备,本领域技术人员可以理解的是,图5示出的结构并不构成对电子设备的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。
本申请还提供了一种计算机可读存储介质,该存储介质可以包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。该存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现前述任一实施例公开的电池电量显示方法的步骤。
本申请能够在电池恒压充电时,判断待检测电池是否能够充满,若不能充满,即电池存在损耗,则当电池在当前电量状态下持续时间达到预设超时时间后,通过UI界面显示满电量,从而实现在电池有损耗的情况下仍可以正确显示满电状态,显著提高了用户体验度。
说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的系统而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即 可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。
还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。

Claims (10)

  1. 一种电池电量显示方法,其特征在于,包括:
    在待检测电池处于恒压充电状态下,判断所述待检测电池能否充满;
    如果否,则确定所述待检测电池的当前电量状态,并监测所述待检测电池在所述当前电量状态下的持续时间;
    判断所述持续时间是否大于对应的预设超时时间;
    若所述持续时间大于所述预设超时时间,则通过UI界面显示满电量。
  2. 根据权利要求1所述的电池电量显示方法,其特征在于,所述判断所述待检测电池能否充满,包括:
    获取所述待检测电池的当前电压值;
    判断所述当前电压值是否达到预设电压阈值;
    如果是,则判定所述待检测电池能够充满。
  3. 根据权利要求1所述的电池电量显示方法,其特征在于,所述判断所述待检测电池能否充满,包括:
    若所述待检测电池安装有电量计,则直接获取电量计检测得到的所述待检测电池的当前电量值;
    判断所述当前电量值是否达到预设电量阈值;
    如果是,则判定所述待检测电池能够充满。
  4. 根据权利要求1所述的电池电量显示方法,其特征在于,所述确定所述待检测电池的当前电量状态之后,还包括:
    确定所述当前电量状态对应的电量值所处的电量范围;
    相应的,若所述持续时间大于所述预设超时时间,则通过UI界面显示满电量,包括:
    若所述持续时间大于所述预设超时时间,且所述当前电量状态对应的电量值处于第一电量范围,则直接通过UI界面显示满电量;
    若所述持续时间大于所述预设超时时间,且所述当前电量状态对应的电量值处于第二电量范围,则显示电池存在损耗的第一提示信息,并通过UI界面显示满电量;
    若所述持续时间大于所述预设超时时间,且所述当前电量状态对应的电量值处于第三电量范围,则返回电池损耗严重的第二提示信息,并通过UI界面显示满电量。
  5. 根据权利要求1所述的电池电量显示方法,其特征在于,所述判断所述待检测电池能否充满之后,还包括:
    若判定所述待检测电池能够充满,则直接通过UI界面显示满电量。
  6. 根据权利要求1至5任一项所述的电池电量显示方法,其特征在于,还包括:
    收集所述待检测电池的多条历史充电曲线,并确定每条历史充电曲线分别对应的初始超时时间;
    将多个所述初始超时时间的平均值确定为所述预设超时时间。
  7. 一种电池电量显示装置,其特征在于,包括:
    第一判断模块,用于在待检测电池处于恒压充电状态下,判断所述待检测电池能否充满;
    时间监测模块,用于若判定所述待检测电池能够充满,则确定所述待检测电池的当前电量状态,并监测所述待检测电池在所述当前电量状态下的持续时间;
    第二判断模块,用于判断所述持续时间是否大于对应的预设超时时间;
    满电显示模块,用于若所述持续时间大于所述预设超时时间,则通过UI界面显示满电量。
  8. 根据权利要求7所述的电池电量显示装置,其特征在于,所述第一判断模块,包括:
    获取单元,用于获取所述待检测电池的当前电压值;
    判断单元,用于判断所述当前电压值是否达到预设电压阈值;
    判定单元,用于若所述当前电压值达到所述预设电压阈值,则判定所述待检测电池能够充满。
  9. 一种电子设备,其特征在于,包括:
    存储器,用于存储计算机程序;
    处理器,用于执行所述计算机程序时实现如权利要求1至6任一项所述电池电量显示方法的步骤。
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6任一项所述电池电量显示方法的步骤。
PCT/CN2020/136333 2020-04-30 2020-12-15 一种电池电量显示方法、装置及电子设备和存储介质 WO2021218184A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/996,450 US20230228820A1 (en) 2020-04-30 2020-12-15 Battery capacity display method and device, electronic equipment and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010365386.1A CN111562507B (zh) 2020-04-30 2020-04-30 一种电池电量显示方法、装置及电子设备和存储介质
CN202010365386.1 2020-04-30

Publications (1)

Publication Number Publication Date
WO2021218184A1 true WO2021218184A1 (zh) 2021-11-04

Family

ID=72070775

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/136333 WO2021218184A1 (zh) 2020-04-30 2020-12-15 一种电池电量显示方法、装置及电子设备和存储介质

Country Status (3)

Country Link
US (1) US20230228820A1 (zh)
CN (1) CN111562507B (zh)
WO (1) WO2021218184A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114401342A (zh) * 2022-01-30 2022-04-26 深圳创维-Rgb电子有限公司 录屏模式确定方法、投屏器及存储介质
CN114465299A (zh) * 2021-12-28 2022-05-10 福建新大陆支付技术有限公司 一种pos机电池充电管理方法

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111562507B (zh) * 2020-04-30 2021-12-14 歌尔科技有限公司 一种电池电量显示方法、装置及电子设备和存储介质
CN113659661B (zh) * 2021-07-28 2024-01-16 深圳市智莱科技股份有限公司 充电方法、装置、设备和存储介质
CN114047449A (zh) * 2021-11-16 2022-02-15 深圳市广和通无线股份有限公司 电池电量显示方法、装置、电子设备和存储介质
CN114325415B (zh) * 2021-12-31 2023-11-21 杭叉集团股份有限公司 一种锂电池电量的验证方法、装置及介质
CN115566296B (zh) * 2022-01-05 2023-09-08 荣耀终端有限公司 电池电量显示方法、电子设备、程序产品及介质

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102944845A (zh) * 2012-11-05 2013-02-27 Tcl通讯(宁波)有限公司 在移动终端的恒压充电过程中检测电池电量的方法和系统
CN103018676A (zh) * 2012-11-30 2013-04-03 苏州佳世达电通有限公司 电子设备、电池电量的显示装置及显示方法
US20130106426A1 (en) * 2011-10-28 2013-05-02 Samsung Electronics Co., Ltd. Method and apparatus for measuring a remaining capacity of a battery when charging constant current/constant voltage mode in a portable terminal
US20160282418A1 (en) * 2010-08-31 2016-09-29 St-Ericsson Sa Process for Auto-Testing a Fully Discharged Battery, Such as Double-Layer Capacitor Battery, and Circuit for Doing the Same
CN106556801A (zh) * 2016-10-09 2017-04-05 歌尔科技有限公司 一种获取电池电量的方法、装置和电子设备
CN107534194A (zh) * 2015-08-10 2018-01-02 索尼公司 二次电池、其评估方法和制造方法、以及充电放电控制装置
CN207249075U (zh) * 2017-09-27 2018-04-17 上海科众恒盛云计算科技有限公司 一种idc备用电源的蓄电池电量监控系统
CN110739751A (zh) * 2019-10-23 2020-01-31 中国科学院青岛生物能源与过程研究所 一种锂电池及其充放电状态监测方法
CN111562507A (zh) * 2020-04-30 2020-08-21 歌尔科技有限公司 一种电池电量显示方法、装置及电子设备和存储介质

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4240722B2 (ja) * 2000-01-27 2009-03-18 三洋電機株式会社 電池の満充電表示方法
JP2011017619A (ja) * 2009-07-09 2011-01-27 Mitsumi Electric Co Ltd 電池パック、半導体装置、携帯機器、通知方法、通知プログラム
CN102768342B (zh) * 2012-07-25 2015-06-17 常州合天电力设备有限公司 一种离网光伏发电系统中蓄电池电量监测装置
CN103985916A (zh) * 2014-06-05 2014-08-13 北京纽曼腾飞科技有限公司 一种电池充电方法
TWI636271B (zh) * 2014-11-20 2018-09-21 力智電子股份有限公司 電池模組的電量量測裝置及方法
CN104617643B (zh) * 2015-03-09 2018-01-16 广东欧珀移动通信有限公司 充电方法、待充电设备、供电设备及充电系统
CN106483462B (zh) * 2015-08-28 2019-09-17 炬芯(珠海)科技有限公司 一种电池充电电量的测量方法和装置
CN107517494A (zh) * 2017-08-31 2017-12-26 努比亚技术有限公司 一种终端电池电量的显示方法、终端及计算机可读存储介质
CN109525703A (zh) * 2018-09-14 2019-03-26 南昌理工学院 电池电量显示方法、装置、可读存储介质及终端
CN110277817B (zh) * 2019-06-28 2023-04-21 歌尔科技有限公司 一种电子设备的电量获取方法、装置、设备及存储介质
CN110426642B (zh) * 2019-08-07 2022-09-23 歌尔科技有限公司 一种老化状态下的电子设备的电量获取方法、装置、设备及存储介质
CN110994709B (zh) * 2019-11-07 2023-03-14 广东尚研电子科技有限公司 一种电池充电电量控制方法及控制器

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160282418A1 (en) * 2010-08-31 2016-09-29 St-Ericsson Sa Process for Auto-Testing a Fully Discharged Battery, Such as Double-Layer Capacitor Battery, and Circuit for Doing the Same
US20130106426A1 (en) * 2011-10-28 2013-05-02 Samsung Electronics Co., Ltd. Method and apparatus for measuring a remaining capacity of a battery when charging constant current/constant voltage mode in a portable terminal
CN102944845A (zh) * 2012-11-05 2013-02-27 Tcl通讯(宁波)有限公司 在移动终端的恒压充电过程中检测电池电量的方法和系统
CN103018676A (zh) * 2012-11-30 2013-04-03 苏州佳世达电通有限公司 电子设备、电池电量的显示装置及显示方法
CN107534194A (zh) * 2015-08-10 2018-01-02 索尼公司 二次电池、其评估方法和制造方法、以及充电放电控制装置
CN106556801A (zh) * 2016-10-09 2017-04-05 歌尔科技有限公司 一种获取电池电量的方法、装置和电子设备
CN207249075U (zh) * 2017-09-27 2018-04-17 上海科众恒盛云计算科技有限公司 一种idc备用电源的蓄电池电量监控系统
CN110739751A (zh) * 2019-10-23 2020-01-31 中国科学院青岛生物能源与过程研究所 一种锂电池及其充放电状态监测方法
CN111562507A (zh) * 2020-04-30 2020-08-21 歌尔科技有限公司 一种电池电量显示方法、装置及电子设备和存储介质

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114465299A (zh) * 2021-12-28 2022-05-10 福建新大陆支付技术有限公司 一种pos机电池充电管理方法
CN114401342A (zh) * 2022-01-30 2022-04-26 深圳创维-Rgb电子有限公司 录屏模式确定方法、投屏器及存储介质
CN114401342B (zh) * 2022-01-30 2024-02-20 深圳创维-Rgb电子有限公司 录屏模式确定方法、投屏器及存储介质

Also Published As

Publication number Publication date
CN111562507B (zh) 2021-12-14
US20230228820A1 (en) 2023-07-20
CN111562507A (zh) 2020-08-21

Similar Documents

Publication Publication Date Title
WO2021218184A1 (zh) 一种电池电量显示方法、装置及电子设备和存储介质
US11050286B2 (en) Electronic device, method of controlling charging by electronic device, and method of supplying power by power supply device
US9158368B2 (en) Energy-saving device and method for portable terminal
TWI654812B (zh) 電源故障預測的方法、設備及系統
US20220321987A1 (en) Management method and device of bluetooth® earphone charging paths, and non-transitory readable storage medium
US20170358931A1 (en) Charging method and electronic device
WO2020103017A1 (zh) 一种开机流程控制方法、开机流程控制装置及终端设备
CN105068915B (zh) 电源管理装置及方法
CN103576092A (zh) 遥控器及其电池电量的检测装置和检测方法
US9122470B2 (en) Electronic device with power control function
CN104348140B (zh) 一种低电量提醒的方法及电子设备
CN107277906B (zh) 模式选择方法、装置、终端及计算机可读存储介质
TWI554887B (zh) 電子裝置充電系統及方法
US20120013474A1 (en) Method for informing a user of a possibility to complete the execution of a process in a computing device
CN110994052B (zh) 延长电池续航能力的方法及装置、存储介质、终端设备
WO2016198003A1 (zh) 一种移动终端电源管理方法、装置和移动终端
TW201110443A (en) Method of managing rechargeable battery for an electric device
TWI433374B (zh) 電子裝置及其電源管理方法
CN202661610U (zh) 遥控器及其电池电量的检测装置
CN106066438B (zh) 一种移动终端基于otg检测设备充电状态的方法及系统
JP2024524570A (ja) 電池の充電電力量の表示方法及びその装置、電気端末及び記憶媒体
CN109617175B (zh) 移动终端充电器检测控制方法、移动终端及存储介质
TWI569030B (zh) 電子裝置與電池電量偵測方法
WO2012058981A1 (zh) 具有电源状态评估功能的电子装置及其电源评估方法
CN105992059B (zh) 一种媒体设备的智能管理方法及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20934162

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20934162

Country of ref document: EP

Kind code of ref document: A1