CN113961060B - Electronic device and electric quantity management method thereof - Google Patents

Electronic device and electric quantity management method thereof Download PDF

Info

Publication number
CN113961060B
CN113961060B CN202010706136.XA CN202010706136A CN113961060B CN 113961060 B CN113961060 B CN 113961060B CN 202010706136 A CN202010706136 A CN 202010706136A CN 113961060 B CN113961060 B CN 113961060B
Authority
CN
China
Prior art keywords
remaining
time
battery
user behavior
visual
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.)
Active
Application number
CN202010706136.XA
Other languages
Chinese (zh)
Other versions
CN113961060A (en
Inventor
叶书玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Acer Inc
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to CN202010706136.XA priority Critical patent/CN113961060B/en
Publication of CN113961060A publication Critical patent/CN113961060A/en
Application granted granted Critical
Publication of CN113961060B publication Critical patent/CN113961060B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Secondary Cells (AREA)

Abstract

The invention provides an electronic device and an electric quantity management method thereof. The power management method is suitable for the electronic device and comprises the following steps. And acquiring target time according to user input. And determining the remaining demand time according to the target time and the elapsed time after starting the timing. A remaining battery usable time of the battery device is obtained. And comparing the remaining demand time with the remaining available time of the battery device, and providing a visual prompt and user behavior suggestion information according to the comparison result. The user behavior suggestion information includes at least one energy saving operation.

Description

Electronic device and electric quantity management method thereof
Technical Field
The present invention relates to electronic devices, and particularly to an electronic device and a power management method thereof.
Background
Notebook computers have become a popular electronic device in today's society. Because of portability, the notebook computer can be operated at any place, so that a user can perform activities such as office work, entertainment and the like. Notebook computers are different from general desktop computers in that they are equipped with a battery as a power source in order to operate in any place. That is, when the notebook computer is not connected to the external power source, the user must rely on the power of the battery to maintain the operation of the notebook computer. In response to the limited power of the battery, a power management mechanism is provided in a typical notebook computer to manage the remaining usable time of the notebook computer to extend the endurance of the battery. In current notebook computers, users typically need to select a battery icon displayed on a desktop to obtain the remaining power and estimate the remaining available time. In addition, the user may also click on a battery icon presented on the desktop to set the power management plan. The manner in which battery information is provided to the user in response to user operation (e.g., clicking on a battery icon on a desktop as described above) is passive and non-real-time.
However, in some application scenarios, the user must ensure that the remaining charge of the battery is sufficient to complete the current job. For example, the user must ensure that the current remaining battery level is sufficient to complete an important presentation, complete a movie, complete a computer game, etc. In such application scenarios where it is necessary to ensure battery remaining usable time, passive and non-real-time battery information provision would cause a great deal of inconvenience to the user. The user must repeatedly go to the click graphic to confirm the remaining power and the remaining available time, and the user does not know how to adjust the user behavior to ensure that the remaining power of the battery is sufficient to complete the current operation.
Disclosure of Invention
In view of the above, the present invention provides an electronic device and a power management method thereof, which can provide visual remaining power information to a user in real time and actively, so that the user can intuitively adjust the behavior of operating the electronic device, thereby ensuring that the remaining power of the battery is sufficient for the user to complete the current operation.
The embodiment of the invention provides an electric quantity management method which is suitable for an electronic device comprising a battery device. The method comprises the following steps. And acquiring target time according to user input. And determining the remaining demand time according to the target time and the elapsed time after starting the timing. A remaining battery usable time of the battery device is obtained. And comparing the remaining demand time with the remaining available time of the battery device, and providing a visual prompt and user behavior suggestion information according to the comparison result. Here, the user behavior suggestion information includes at least one energy saving operation.
The embodiment of the invention provides an electronic device, which comprises an input device, a battery device, a storage device and a processor. The input device is used for receiving a user input. The processor is coupled to the input device, the battery device, and the storage device, and is configured to perform the following steps. And acquiring target time according to user input. And determining the remaining demand time according to the target time and the elapsed time after starting the timing. A remaining battery usable time of the battery device is obtained. And comparing the remaining demand time with the remaining available time of the battery device, and providing a visual prompt and user behavior suggestion information according to the comparison result. Here, the user behavior suggestion information includes at least one energy saving operation.
Based on the above, in the embodiment of the invention, the remaining required time can be obtained according to the target time set by the user and the elapsed time after starting the timer. By comparing the remaining demand time with the remaining battery availability time of the battery device, visual prompts and user behavior suggestion information can be provided according to the comparison result. By the visual prompt and the user behavior suggestion information provided according to the comparison result, the electronic device can inform whether the residual electric quantity of the battery is enough or not to enable the electronic device to continuously work for a target time in real time and actively. Therefore, the user can adjust the user behavior in real time to prolong the remaining available time of the battery device, so as to ensure that the remaining available time of the battery device can reach the target requirement.
In order to make the above features and advantages of the present invention more comprehensible, embodiments accompanied with figures are described in detail below.
Drawings
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
FIG. 1 is a block diagram of an electronic device according to an embodiment of the invention;
FIG. 2 is a flow chart of a power management method according to an embodiment of the invention;
FIG. 3 is a block diagram of an electronic device according to an embodiment of the invention;
FIG. 4 is a flow chart of a power management method according to an embodiment of the invention;
FIG. 5 is a schematic diagram of providing user behavior suggestion information in accordance with an embodiment of the invention.
Description of the reference numerals
100, an electronic device;
110, an input device;
120 a battery device;
130, a storage device;
140, a controller;
150, a display;
160, a processor;
170, a keyboard controller;
k1, a keyboard;
msg1, user behavior suggestion information;
S201-S204, S410-S480.
Detailed Description
Reference will now be made in detail to the exemplary embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings and the description to refer to the same or like parts.
It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. In contrast, when an element is referred to as being "directly connected" or "directly coupled" to another element, there are no intervening elements present.
FIG. 1 is a block diagram of an electronic device according to an embodiment of the invention. Referring to fig. 1, the electronic device 100 may be a notebook computer, a smart phone, a tablet computer, a desktop computer, an industrial computer, a smart watch, or the like, which is powered by a battery, and the type of the electronic device 100 is not limited thereto. The electronic device 100 includes an input device 110, a battery device 120, a storage device 130, a controller 140, a display 150, and a processor 160.
To enable a user to interact with the electronic device 100, the electronic device 100 includes an input device 110 and a display 150. The input device 110 may include a microphone, a keyboard, a mouse, a touch device, etc., for receiving user input. The display 150 provides a display function to display images, such as a liquid crystal display (Liquid Crystal Display, LCD), a Light-Emitting Diode (LED) display, a field emission display (Field Emission Display, FED), an Organic Light-Emitting Diode (OLED) display, or other types of displays, to which the present invention is not limited.
The battery device 120 is a smart battery (smart battery) device having an internal control chip (not shown) that can communicate with the operating system of the electronic device 100 via a data bus, such as a system management bus (system management bus, SMBus). Specifically, the battery device 120 may provide battery information to the processor 160 through a data bus, so that the processor 160 may perform power management (power management) according to the battery information. The battery information is, for example, data supporting the intelligent battery data standard (Smart Battery Data Specification, SBD Specification). In one embodiment, the operation of reading the battery information of the battery device 120 is performed by the controller 140, and the controller 140 is coupled between the processor 160 and the battery device 120. After the controller 140 receives the instruction from the processor 160, the controller 140 reads the battery information (e.g. the remaining power data) of the battery device 120 at that time and provides the battery information to the processor 160. The controller 140 may be, for example, an embedded controller (embedded controller, EC) in the electronic device 100.
The storage device 130 is used to store files, images, instructions, program codes, software components, and so on, and may be, for example, any type of fixed or removable random access memory (random access memory, RAM), read-only memory (ROM), flash memory (flash memory), hard disk or other similar devices, integrated circuits, and combinations thereof.
The processor 160 is coupled to the input device 110, the battery device 120, the storage device 130, the controller 140, and the display 150, and is used for controlling the operation among the components of the electronic device 100, such as a central processing unit (Central Processing Unit, CPU), or other general purpose or special purpose Microprocessor (Microprocessor), digital signal processor (Digital Signal Processor, DSP), programmable controller, application specific integrated circuit (Application Specific Integrated Circuits, ASIC), programmable logic device (Programmable Logic Device, PLD), or other similar devices or combinations thereof. The processor 160 may execute program codes, software modules, instructions, etc. recorded in the storage 130 to implement the power management method according to the embodiment of the present invention.
However, the electronic device 100 may further include other components not shown in fig. 1, such as speakers, communication components, a graphic processor, an external storage device, etc., in addition to the input device 110, the battery device 120, the storage device 130, the controller 140, the display 150, and the processor 160, which the present invention is not limited to.
Fig. 2 is a flow chart of a power management method according to an embodiment of the invention. The power management method of the present embodiment is suitable for the electronic device 100 of fig. 1, and the following description describes the steps of the power management method with respect to each component in the electronic device 100. However, the flow of the power management method may be adjusted according to the implementation, and is not limited thereto.
In step S201, the input device 110 receives the user input, and the processor 160 obtains the target time according to the user input. Specifically, in one embodiment, the display 150 may be used to display a user interface for a user to interact with the user interface via the input device 110. In one embodiment, the user may input the target time in the user interface, so that the processor 160 may obtain the target time. The target time is a period of time determined by the user according to the actual requirement, for example, 30 minutes, 1 hour, 2 hours …, etc. In other words, the user expects the remaining power of the battery device 120 to support the electronic device 100 to operate for a target time.
In step S202, the processor 160 determines a remaining required time according to the target time and the elapsed time after starting the timer. Specifically, after the target time is set, the processor 160 starts the timer. During the timer, the processor 160 may subtract the elapsed time after starting the timer from the target time to obtain the remaining demand time. For example, assuming that the target time is 1 hour and 20 minutes have elapsed since the start of the timer, the remaining demand time is 40 minutes (i.e., 1 hour minus 20 minutes).
In step S203, the processor 160 obtains the remaining battery available time of the battery device 120 (TimeToEmipity, TTE). In one embodiment, the remaining battery available time of the battery device 120 is determined according to an average current value of the battery device 120, wherein the average current value is an average discharge current value (also referred to as an average consumption current value) measured on a specific resistor inside the battery device 120. The magnitude of the average discharge current value can reflect the total power consumption of the system. For example, the battery device 120 may calculate the remaining battery available time according to the current remaining power and the average discharging current value of the battery device 120. In one embodiment, the processor 160 may send instructions to the battery device 120 through the controller 140 to drive the battery device 120 to report the remaining battery available time. In one embodiment, the processor 160 may send an instruction to the battery device 120 through the controller 140 to drive the battery device 120 to report the relevant battery parameters required for calculating the remaining battery available time, and the processor 160 calculates the remaining battery available time by itself. For example, as shown in table 1, the controller 140 may control the battery device 120 to report the relevant battery parameters according to the instructions specified by the intelligent battery data standard (e.g., smart Battery Data Specification version 1.1). However, table 1 is merely an exemplary illustration and is not intended to limit the present invention. It should be noted that, in this example, the average current corresponding to the command code "0x0b" may be a positive value or a negative value. When the average current is positive, it is represented as an average charging current value. When the average current is negative, it is represented as an average discharge current value. The remaining usable time of the battery in the embodiment of the invention is calculated according to the average discharge current value.
Battery parameters Instruction code Unit (B)
Voltage (Voltage) 0x09 mV
Average current (AverageCurrent) 0x0b mA
Residual capacity (remaining capacity) 0x0f mAh
Battery remaining available time (TimeToEmpty) 0x12 minutes
TABLE 1
In step S204, the processor 160 compares the remaining demand time with the remaining battery available time of the battery device 120, and provides a visual prompt and user behavior suggestion information according to the comparison result. The user behavior suggestion information includes at least one energy saving operation. Specifically, when the remaining available time of the battery is less than the remaining demand time, the remaining power of the battery device 120 cannot keep the electronic device 100 operating to the user's desired time point based on the current operating state. Thus, in response to the remaining battery time being less than the remaining demand time, the processor 160 may provide user behavior suggestion information and corresponding visual cues. Therefore, the user can know the current electric quantity state by seeing the visual prompt, and the user can adjust the user behavior by referring to the energy-saving operation in the user behavior suggestion information.
In one embodiment, the visual cues may include text cues or light cues, or the like. For example, the processor 160 may control the display 150 to actively display the reminder text. Alternatively, the processor 160 may control the light signal device of the electronic device 100 to emit the corresponding light effect. In addition, in one embodiment, the at least one power saving operation includes turning off an application program in idle, turning down the display brightness of the display 150, turning down the volume of the speaker, turning off the communication function, or removing the external storage device, which can save power consumption. That is, the user can refer to the user behavior suggestion information to determine how to flexibly adjust the operation state of the electronic device 100, so as to minimize the influence on the user's use of the electronic device 100 under the condition that the battery usage time can be prolonged.
In an embodiment, after step S204, the processor 160 may execute step S202, step S203 and step S204 again to continuously confirm the comparison result of the remaining required time and the remaining available time of the battery device 120 and provide a corresponding visual cue. Therefore, in the process of adjusting the user behavior by referring to the user behavior suggestion information, the visual prompt can actively inform whether the remaining available time of the battery is longer than the remaining required time, so that the user can quickly and intuitively adjust the user behavior.
FIG. 3 is a block diagram of an electronic device according to an embodiment of the invention. Referring to fig. 3, the processor 160 may control the keyboard backlight of the keyboard K1 through the keyboard controller 170. In the embodiment of fig. 3, the operation of providing a visual cue may include controlling the keyboard backlight to illuminate. For example, the processor 160 may provide different visual states by controlling the lighting color or lighting pattern of the keyboard backlight. Thus, the processor 160 may control the keyboard backlight to present different visual states according to the comparison result of the remaining available time and the remaining required time of the battery.
However, the implementation of the present invention is not limited to the above description, and the contents of the above embodiments may be changed as appropriate for actual demands. For example, in another embodiment of the present invention, in the case that the remaining required time is longer than the remaining available time of the battery, the power consumption of the internal hardware device of the electronic device 100 may be further adjusted so as to make the remaining available time of the battery reach the target requirement. In addition, the electronic device 100 can provide a corresponding visual cue according to the difference between the remaining required time and the remaining available time of the battery. The following is a detailed description of another embodiment.
Fig. 4 is a flowchart of a power management method according to an embodiment of the present invention. The power management method of the present embodiment is suitable for the electronic device 100 of fig. 1, and the following description describes the steps of the power management method with respect to each component in the electronic device 100. However, the flow of the power management method may be adjusted according to the implementation, and is not limited thereto.
In step S410, the processor 160 controls the electronic device 100 to enter the guaranteed remaining time mode. In one embodiment, the processor 160 may provide a plurality of power management modes, while ensuring that the remaining time mode is one of the power management modes. The processor 160 may control the electronic device 100 to enter the guaranteed remaining time mode in response to a user operation. When the user wants to ensure that the remaining power of the battery device 120 is sufficient to complete the task at hand, the user can control the electronic device 100 to enter the guaranteed remaining time mode.
Next, in step S420, the processor 160 obtains the target time according to the user input. In step S430, the processor 160 starts timing and determines a remaining required time according to the target time and the elapsed time after starting the timing. For example, in response to the user completing the input of the target time, the processor 160 initiates a timer. In step S440, the processor 160 obtains the remaining battery available time from the battery device 120. Step S420 to step S440 are similar to step S201 to step S203 in the previous embodiment, and are not repeated here.
It should be noted that, in step S450, the processor 160 compares the remaining demand time with the remaining available time of the battery device 120, and provides a visual prompt and user behavior suggestion information according to the comparison result. In this embodiment, step S450 may be implemented in sub-steps S451-S455. In sub-step S451, the processor 160 determines whether the remaining available time of the battery is equal to or greater than the remaining required time.
If the remaining battery available time of the battery device 120 is greater than or equal to the remaining required time (yes in step S451), in sub-step S452, the processor 160 controls the visual cue to be in the first visual state and does not provide the user behavior suggestion information. Specifically, if the remaining battery available time of the battery device 120 is greater than or equal to the remaining demand time, it is indicated that the remaining power of the battery device 120 is sufficient for the electronic device 100 to operate until the target time expires based on the current operating device status. Accordingly, the processor 160 does not provide user behavior suggestion information and controls the visual cues to appear as the first visual state. For example, the processor 160 may control the keyboard backlight to emit green light to inform the user that the current remaining power is sufficient.
If the remaining battery available time of the battery device is less than the remaining required time (no in step S451), the processor 160 controls the visual cue to be in the second visual state or the third visual state, and provides the user behavior suggestion information. Further, in sub-step S453, the processor 160 determines whether the difference between the remaining available time and the remaining required time is greater than a warning threshold. The warning threshold may be, for example, 30 minutes, but the warning threshold may be set according to the actual requirement, which is not limited by the present invention.
If the difference between the remaining battery available time and the remaining required time of the battery device 120 is not greater than the warning threshold (no in step S453), in the substep S454, the processor 160 controls the visual cue to be in the second visual state and provides the user behavior suggestion information. If the difference between the remaining battery available time and the remaining battery demand time of the battery device is greater than the warning threshold (yes in step S453), in sub-step S455, the processor 160 controls the visual cue to be in the third visual state and provides the user behavior suggestion information. The first visual state, the second visual state and the third visual state can be different in text prompt content or different in light-emitting state.
For example, when the difference between the remaining available time and the remaining required time of the battery device 120 is not greater than the warning threshold, the processor 160 may control the keyboard backlight to emit orange light and control the display 150 to provide the user behavior suggestion information. When the difference between the remaining available time and the remaining required time of the battery device 120 is greater than the warning threshold, the processor 160 may control the keyboard backlight to emit red light and control the display 150 to provide the user behavior suggestion information. Therefore, the user can decide how to implement the energy-saving operation according to the color of the keyboard backlight and the user behavior suggestion information. FIG. 5 is a schematic diagram of providing user behavior suggestion information in accordance with an embodiment of the invention. Referring to fig. 5, the display 150 may display the user behavior suggestion information Msg1, and the user behavior suggestion information Msg1 may include a plurality of energy saving operations. The user can determine the execution sequence of the energy-saving operations according to the color of the keyboard backlight. For example, when the keyboard backlight emits red light, the user can learn that the remaining power is very insufficient, so that all the energy saving operations in the behavior suggestion information Msg1 are performed. When the keyboard backlight emits orange light, the user can know that the residual electric quantity is not enough, so that the energy-saving operation of the current operation is not affected in the execution behavior suggestion information Msg 1.
After the processor 160 provides the visual cue and the user behavior suggestion information according to the comparison result, in step S460, the processor 160 may detect implementation of at least one power saving operation, and return to step S430. Correspondingly, the remaining battery available time increases in response to implementation of at least one energy saving operation, and the remaining demand time decreases with continued timing. That is, in response to detecting the performance of the power saving operation, the processor 160 may again compare the remaining battery available time with the remaining demand time and provide a corresponding visual cue. Thereby, the user can gradually perform the power saving operation to reduce the interference degree to the user operating the electronic device 100.
In addition, in step S470, the processor 160 determines whether the remaining available time of the battery is less than the remaining required time for a predetermined period. The preset time period is, for example, 10 minutes, but the preset time period may be set according to actual requirements, which is not limited in the present invention. If the remaining battery available time is less than the remaining required time in the predetermined period (yes in step S470), in step S480, the processor 160 reduces the power consumption of the hardware device in response to the remaining battery available time being less than the remaining required time in the predetermined period. In one embodiment, the operation of reducing the power consumption of the hardware device of the electronic device includes reducing the operating frequency of the processor 160 or the graphics processor, or reducing the charging current provided to the external device (USB external storage device). Therefore, before the processor 160 forcibly reduces the power consumption of the hardware device, the user can refer to the user behavior suggestion information to determine how to flexibly adjust the operation state of the electronic device 100, so as to minimize the influence on the user's use of the electronic device 100 under the condition that the battery use time can be prolonged. For example, in a scenario where the user wants to use the remaining power of the battery device 120 to complete a computer game, the user may choose to turn off both the unnecessary application and the unnecessary communication function, so as to avoid affecting the game smoothness because the processor or the graphics processor is forced to be down-converted. Based on the embodiment of fig. 4, after the processor 160 controls the visual cue to be in the third visual state and provides the user behavior suggestion information, the processor 160 may also automatically reduce the power consumption of the hardware device that the user cannot control by himself.
In summary, in the embodiment of the invention, the electronic device can actively and real-time feedback whether the remaining available time of the current battery is enough, and the user does not need to manually click any battery icon. In addition, the electronic device can continuously and real-timely feed back whether the remaining available time of the battery is more than or equal to the user demand time based on the operation state of the electronic device, so that the user can adjust the user behavior under the condition of reducing the electric quantity loss as much as possible. Therefore, a user can ensure that the remaining available time of the battery can reach the target requirement by continuously executing energy-saving operation, so that the operation convenience and the user experience are greatly improved.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (14)

1. A power management method for an electronic device including a battery device, the method comprising:
receiving user input through an input device and acquiring target time corresponding to a user interface;
starting a timing to acquire the elapsed time;
determining the remaining demand time according to the target time and the elapsed time;
acquiring the remaining usable time of a battery of the battery device; and
comparing the remaining demand time with the remaining available time of the battery device, and providing a visual cue and user behavior suggestion information according to the comparison result, wherein the user behavior suggestion information comprises at least one energy saving operation,
wherein after the step of comparing the remaining demand time with the remaining available time of the battery device and providing the visual cue and the user behavior advice message according to the comparison result, the method further comprises:
in response to the remaining usable time of the battery being less than the remaining demand time for a predetermined period of time, reducing power consumption of hardware devices of the electronic device,
wherein the step of comparing the remaining demand time with the remaining available time of the battery device and providing the visual cue and the user behavior suggestion message according to the comparison result comprises:
judging whether the remaining available time of the battery device is greater than or equal to the remaining demand time;
if the remaining available time of the battery device is greater than or equal to the remaining demand time, controlling the visual prompt to be in a first visual state, and not providing the user behavior suggestion message; and
if the remaining battery available time of the battery device is less than the remaining demand time, controlling the visual cue to be in a second visual state or a third visual state, and providing the user behavior suggestion message,
wherein if the remaining battery available time of the battery device is less than the remaining demand time, the step of controlling the visual cue to be presented in the second visual state or the third visual state and providing the user behavior suggestion message comprises:
judging whether the difference between the remaining available time of the battery and the remaining demand time is larger than a warning critical value or not; and
and if the difference between the remaining available time of the battery and the remaining required time of the battery device is greater than the warning critical value, controlling the visual prompt to be in the third visual state and providing the user behavior suggestion message.
2. The power management method of claim 1, wherein after the step of comparing the remaining demand time with the remaining available time of the battery device and providing the visual cue and the user behavior advice information according to the comparison result, the method further comprises:
detecting an implementation of the at least one power saving operation, wherein the remaining battery available time increases in response to the implementation of the at least one power saving operation.
3. The power management method of claim 1, wherein the operation of reducing the power consumption of the hardware device of the electronic device comprises: the operating frequency of the processor or graphics processor is tuned down or the charging current provided to the external device is reduced.
4. The power management method of claim 1, wherein if the remaining battery available time of the battery device is less than the remaining demand time, the step of controlling the visual cue to be presented in the second visual state or the third visual state and providing the user behavior advice information further comprises:
and if the difference between the remaining available time of the battery and the remaining required time of the battery device is not greater than the warning critical value, controlling the visual prompt to be in the second visual state and providing the user behavior suggestion information.
5. The power management method according to claim 1, wherein the remaining battery availability time of the battery device is determined according to an average discharge current value of the battery device.
6. The power management method of claim 1, wherein providing the visual cue comprises controlling a keyboard backlight to illuminate.
7. The power management method of claim 1, wherein the at least one power saving operation comprises turning off an idle application, turning down a display brightness of a display, turning down a volume of a speaker, turning off a communication function, or removing an external storage device.
8. An electronic device, comprising:
an input device that receives user input;
a battery device;
a storage device; and
a processor coupled to the input device, the battery device, and the storage device, configured to:
receiving the user input through the input device and acquiring a target time corresponding to a user interface;
starting a timing to acquire the elapsed time; determining the remaining demand time according to the target time and the elapsed time;
acquiring the remaining usable time of a battery of the battery device; and
comparing the remaining demand time with the remaining available time of the battery device, and providing a visual cue and user behavior suggestion information according to the comparison result, wherein the user behavior suggestion information comprises at least one energy saving operation,
wherein after the processor provides the visual cue and the user behavior suggestion message in accordance with the comparison result, the processor is configured to: in response to the remaining usable time of the battery being less than the remaining demand time for a predetermined period of time, reducing power consumption of hardware devices of the electronic device,
wherein the processor is configured to:
judging whether the remaining available time of the battery device is greater than or equal to the remaining demand time;
if the remaining available time of the battery device is greater than or equal to the remaining demand time, controlling the visual prompt to be in a first visual state, and not providing the user behavior suggestion message; and
if the remaining battery available time of the battery device is less than the remaining demand time, controlling the visual cue to be in a second visual state or a third visual state, and providing the user behavior suggestion message,
wherein the processor is configured to:
judging whether the difference between the remaining available time of the battery and the remaining demand time is larger than a warning critical value or not; and
and if the difference between the remaining available time of the battery and the remaining required time of the battery device is greater than the warning critical value, controlling the visual prompt to be in the third visual state and providing the user behavior suggestion message.
9. The electronic device of claim 8, wherein after the processor provides the visual cue and the user behavior suggestion information as a function of the comparison result, the processor is configured to: detecting an implementation of the at least one power saving operation, wherein the remaining battery available time increases in response to the implementation of the at least one power saving operation.
10. The electronic device of claim 8, wherein the operation of reducing the power consumption of the hardware device of the electronic device comprises: the operating frequency of the processor or graphics processor is tuned down or the charging current provided to the external device is reduced.
11. The electronic device of claim 8, wherein the processor is configured to:
and if the difference between the remaining available time of the battery and the remaining required time of the battery device is not greater than the warning critical value, controlling the visual prompt to be in the second visual state and providing the user behavior suggestion information.
12. The electronic device of claim 8, wherein the remaining battery available time of the battery device is determined according to an average discharge current value of the battery device.
13. The electronic device of claim 8, wherein the operation of providing the visual cue comprises controlling a keyboard backlight to illuminate.
14. The electronic device of claim 8, wherein the at least one power saving operation comprises turning off an application in idle, turning down a display brightness of a display, turning down a volume of a speaker, turning off a communication function, or removing an external storage device.
CN202010706136.XA 2020-07-21 2020-07-21 Electronic device and electric quantity management method thereof Active CN113961060B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010706136.XA CN113961060B (en) 2020-07-21 2020-07-21 Electronic device and electric quantity management method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010706136.XA CN113961060B (en) 2020-07-21 2020-07-21 Electronic device and electric quantity management method thereof

Publications (2)

Publication Number Publication Date
CN113961060A CN113961060A (en) 2022-01-21
CN113961060B true CN113961060B (en) 2023-07-25

Family

ID=79459852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010706136.XA Active CN113961060B (en) 2020-07-21 2020-07-21 Electronic device and electric quantity management method thereof

Country Status (1)

Country Link
CN (1) CN113961060B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117393882A (en) * 2022-07-04 2024-01-12 北京小米移动软件有限公司 Method and device for predicting remaining use duration, electronic equipment and storage medium
CN115185687B (en) * 2022-07-08 2023-11-14 慧之安信息技术股份有限公司 Memory allocation method based on deep learning

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364383A (en) * 2007-08-08 2009-02-11 深圳Tcl新技术有限公司 Portable display device and dynamic energy saving method
CN103902010A (en) * 2012-12-26 2014-07-02 联想(北京)有限公司 Method for reducing power consumption and electronic equipment
CN107102716A (en) * 2017-03-29 2017-08-29 深圳天珑无线科技有限公司 Mobile terminal power-economizing method and mobile terminal
CN111391610A (en) * 2020-03-25 2020-07-10 广州华凌制冷设备有限公司 Battery prompting method and device for vehicle-mounted air conditioner, air conditioner and readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9978018B2 (en) * 2015-04-22 2018-05-22 Aeris Communications, Inc. Method and system for optimizing execution of user commands in relation to power management

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364383A (en) * 2007-08-08 2009-02-11 深圳Tcl新技术有限公司 Portable display device and dynamic energy saving method
CN103902010A (en) * 2012-12-26 2014-07-02 联想(北京)有限公司 Method for reducing power consumption and electronic equipment
CN107102716A (en) * 2017-03-29 2017-08-29 深圳天珑无线科技有限公司 Mobile terminal power-economizing method and mobile terminal
CN111391610A (en) * 2020-03-25 2020-07-10 广州华凌制冷设备有限公司 Battery prompting method and device for vehicle-mounted air conditioner, air conditioner and readable storage medium

Also Published As

Publication number Publication date
CN113961060A (en) 2022-01-21

Similar Documents

Publication Publication Date Title
EP1743231B1 (en) Selecting input/output devices to control power consumption of a computer system
US7596705B2 (en) Automatically controlling processor mode of multi-core processor
US8407495B2 (en) Information processor and power supply method for an information processor
CN106772091B (en) Method and device for updating battery capacity value and terminal
CN113961060B (en) Electronic device and electric quantity management method thereof
CN101222713A (en) Electricity output control method, device and terminal
US10635147B2 (en) Detecting system and detection circuit for detecting health status of backup power supply module
US9880610B2 (en) Power supplying method, power supplying system, and electronic device
US20170228013A1 (en) Power Managing Method For Avoiding Sudden Drop In Voltage And Electronic System Applying The Power Managing Method
CN110716631A (en) Power supply management method, device, equipment and readable storage medium
US7065664B2 (en) Power management for a PDA system
US8996897B2 (en) Automatic backlight intensity adjustment in an embedded operating system environment
TWI775109B (en) Electronic apparatus and power management method thereof
US20080129248A1 (en) System and method of power management
JP2004159382A (en) Electronic apparatus
JP4030408B2 (en) Operating frequency control system and method
CN114895768A (en) Information processing method and device and electronic equipment
US8954717B2 (en) System capable of booting through a universal serial bus device and method thereof
CN111600355B (en) Charging control method, device and equipment
EP1672466A1 (en) Power controller and power control method for an electronic equipment
US9515490B2 (en) Power management method and power management system utilizing a measure of a driving current to control an electronic module
CN112285597A (en) Short circuit detection method and device for display panel
KR100677121B1 (en) Apparatus and method for controlling status battery in low voltage
US20230316992A1 (en) Display and dehumidification method thereof
CN115185361A (en) Power saving method and device for notebook computer, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant