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

Electronic device and electric quantity management method thereof Download PDF

Info

Publication number
CN113961060A
CN113961060A CN202010706136.XA CN202010706136A CN113961060A CN 113961060 A CN113961060 A CN 113961060A CN 202010706136 A CN202010706136 A CN 202010706136A CN 113961060 A CN113961060 A CN 113961060A
Authority
CN
China
Prior art keywords
time
remaining
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.)
Granted
Application number
CN202010706136.XA
Other languages
Chinese (zh)
Other versions
CN113961060B (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

Images

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 the target time according to the input of the user. And determining the residual required time according to the target time and the elapsed time after starting timing. The remaining usable time of a battery of the battery device is obtained. And comparing the remaining required 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 disclosure relates to electronic devices, and particularly to an electronic device and an electric power management method thereof.
Background
In modern society, notebook computers have become popular electronic devices. The notebook computer can be operated at any place due to portability, so that a user can do activities such as office work, entertainment and the like. Unlike a general desktop computer, a notebook computer is provided with a battery as a power source in order to operate at 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 conventional notebook computer to manage the remaining usable time of the notebook computer to prolong the endurance of the battery. In current notebook computers, a user generally needs to click a battery icon displayed on a desktop to know the remaining power and estimate the remaining usable 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 manipulation, such as 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 amount of battery is sufficient to complete the current job. For example, the user must ensure that the current remaining battery capacity is sufficient to complete an important bulletin, play a movie, or complete a computer game, etc. In such application scenarios where the remaining available time of the battery must be ensured, the passive and non-real-time battery information providing manner will cause inconvenience to the user. The user must repeatedly click on the icon to confirm the remaining capacity and the remaining usable time, and the user has no way to know how to adjust the user behavior to ensure that the remaining capacity of the battery is sufficient to complete the current job.
Disclosure of Invention
In view of the above, the present invention provides an electronic device and a power management method thereof, which can actively provide visual remaining power information to a user in real time, so that the user can intuitively adjust the behavior of operating the electronic device, thereby ensuring that the remaining power of a 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 the target time according to the input of the user. And determining the residual required time according to the target time and the elapsed time after starting timing. The remaining usable time of a battery of the battery device is obtained. And comparing the remaining required 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. Herein, the user behavior suggestion information includes at least one energy saving operation.
An embodiment of the invention provides an electronic device, which includes 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 the target time according to the input of the user. And determining the residual required time according to the target time and the elapsed time after starting timing. The remaining usable time of a battery of the battery device is obtained. And comparing the remaining required 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. Herein, 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 emissary and the elapsed time after the start of the timing. By comparing the remaining required time with the remaining available time of the battery device, visual prompts and user behavior suggestion information can be provided according to the comparison result. By means of the visual prompt and the user behavior suggestion information provided according to the comparison result, the electronic device can actively inform whether the residual electric quantity of the battery is enough to enable the electronic device to continuously work for a target time or not in real time. Therefore, the user can adjust the user behavior in real time to prolong the remaining usable time of the battery device so as to ensure that the remaining usable time of the battery device can reach the target requirement.
In order to make the aforementioned and other features and advantages of the 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 according to 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 keyboard controller;
k1, keyboard;
msg1 user behavior suggestion information;
s201 to S204, S410 to S480.
Detailed Description
Reference will now be made in detail to exemplary embodiments of the 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 laptop computer, a smart phone, a tablet computer, a desktop computer, an industrial computer, a smart watch, or other electronic devices supplied with power 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, and the like, for receiving user input. The Display 150 provides a Display function to Display an image, such as a Liquid Crystal Display (LCD), a Light-Emitting Diode (LED) Display, a Field Emission Display (FED), an Organic Light-Emitting Diode (OLED) Display, or other types of displays, but the invention is not limited thereto.
The battery device 120 is a smart battery (smart battery) device having an internal control chip (not shown), and can communicate with an operating system of the electronic device 100 through a data bus (e.g., a system management bus (SMBus)). Specifically, the battery device 120 may provide the battery information to the processor 160 through the 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 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., remaining battery 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 (EC) in the electronic device 100.
The storage device 130 is used for storing files, images, instructions, program codes, software components and the like, and may be any type of fixed or removable 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 operations among components of the electronic Device 100, such as a Central Processing Unit (CPU), or other Programmable general purpose or special purpose Microprocessor (Microprocessor), a Digital Signal Processor (DSP), a Programmable controller, an Application Specific Integrated Circuit (ASIC), a 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 device 130 to implement the power management method of the embodiment of the present invention.
However, 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, the electronic device 100 may further include other components not shown in fig. 1, such as a speaker, a communication component, a graphic processor, an external storage device, and the like, which is not limited in the present invention.
Fig. 2 is a flowchart of a power management method according to an embodiment of the invention. The power management method of the embodiment is applicable to the electronic device 100 shown in fig. 1, and the steps of the power management method will be described below with reference to various components in the electronic device 100. However, the flow of the power management method may be adjusted according to the implementation situation, and is not limited thereto.
In step S201, a user input is received through the input device 110, and the processor 160 obtains a 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 through the input device 110. In one embodiment, the user can input the target time through the user interface, so that the processor 160 obtains the target time. The target time is a period length determined by the user according to actual needs, such as 30 minutes, 1 hour, 2 hours …, and so on. In other words, the user expects that the remaining capacity of the battery device 120 can 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 the start of the timer. Specifically, after the target time is set, the processor 160 starts timing. During the time period, the processor 160 may subtract the elapsed time after the start of the time period from the target time to obtain the remaining required time. For example, assuming that the target time is 1 hour and 20 minutes have elapsed since the start-up timer, the remaining demand time is 40 minutes (i.e., 1 hour minus 20 minutes).
In step S203, the processor 160 obtains a remaining available time (TTE) of the battery device 120. In one embodiment, the remaining battery life of the battery device 120 is determined according to an average current value of the battery device 120, which 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 available time of the battery according to the current remaining capacity and the average discharging current value of the battery device 120. In one embodiment, the processor 160 may issue a command to the battery device 120 through the controller 140 to drive the battery device 120 to report the remaining available time of the battery. In one embodiment, the processor 160 may issue 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 available time of the battery, and the processor 160 calculates the remaining available time of the battery 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 Smart Battery Data Specification version 1.1. However, table 1 is only 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 instruction code "0 x0 b" may be a positive value or a negative value. When the average current is positive, it represents the average charging current value. When the average current is negative, it represents the 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.
Parameters of battery Instruction code Unit of
Voltage (Voltage) 0x09 mV
Average current (AverageCurrent) 0x0b mA
Residual capacity (remaining capacity) 0x0f mAh
Remaining usable time of battery (TimeToempity) 0x12 minutes
TABLE 1
In step S204, the processor 160 compares the remaining required time with the remaining available time of the battery device 120, and provides a visual prompt and a user behavior suggestion message 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, it represents that the remaining capacity of the battery device 120 cannot allow the electronic device 100 to continue to operate to the time point desired by the user based on the current operating state. Accordingly, in response to the remaining available time of the battery being less than the remaining demand time, 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 adjust the user behavior by referring to the energy-saving operation in the user behavior suggestion information.
In one embodiment, the visual cue may include a text cue or a light cue, etc. For example, the processor 160 may control the display 150 to actively display prompt 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 an embodiment, the at least one power saving operation includes turning off an application program in idle mode, 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 may refer to the user behavior suggestion information to decide how to flexibly adjust the operation state of the electronic device 100, so as to minimize the influence on the user using the electronic device 100 while the battery usage time can be prolonged.
In an embodiment, after the step S204, the processor 160 may execute the steps S202, S203 and S204 again to continuously confirm the comparison result between the remaining required time and the remaining available time of the battery device 120 and provide a corresponding visual prompt. Therefore, in the process that the user adjusts 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 or not, and 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 the visual cue may include controlling a backlight of the keyboard to illuminate. For example, the processor 160 may provide different visual states by controlling the lighting color or lighting pattern of the keypad backlight. Therefore, the processor 160 can 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 modified as appropriate for actual needs. For example, in another embodiment of the present invention, in the case that the remaining demand time is continuously greater than the remaining available time of the battery, the power consumption of the hardware device inside the electronic device 100 may be further adjusted to allow the remaining available time of the battery to reach the target demand. In addition, the electronic device 100 can further provide a corresponding visual prompt according to the difference between the remaining required time and the remaining available time of the battery. Another embodiment is described in detail below.
Fig. 4 is a flowchart of a power management method according to an embodiment of the invention. The power management method of the embodiment is applicable to the electronic device 100 shown in fig. 1, and the steps of the power management method will be described below with reference to various components in the electronic device 100. However, the flow of the power management method may be adjusted according to the implementation situation, 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, and ensure that the remaining time mode is one of the power management modes. Processor 160 may control 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 capacity 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 the start of timing. For example, processor 160 initiates a timer in response to a user completing an input of a target time. In step S440, the processor 160 obtains the remaining available time of the battery from the battery device 120. Steps S420 to S440 are similar to steps S201 to S203 in the previous embodiment, and are not described herein again.
It should be noted that, in step S450, the processor 160 compares the remaining required time with the remaining available time of the battery device 120, and provides a visual prompt and a user behavior suggestion message according to the comparison result. In the present embodiment, step S450 can be divided into sub-steps S451 to S455. In sub-step S451, the processor 160 determines whether the remaining usable time of the battery is greater than or equal to the remaining required time.
If the remaining 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 presented in the first visual state and does not provide the user behavior suggestion information. Specifically, if the remaining available time of the battery device 120 is greater than or equal to the remaining demand time, it represents that the remaining capacity 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 state. Based on this, processor 160 does not provide the user behavior suggestion information and controls the presentation of the visual cue in 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 usable 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 of the battery is greater than an alarm threshold. The warning threshold may be, for example, 30 minutes, but the warning threshold may be set according to actual requirements, and the present invention is not limited thereto.
If the difference between the remaining usable time and the remaining required time of the battery device 120 is not greater than the warning threshold (no in step S453), in sub-step S454, the processor 160 controls the visual cue to be presented in the second visual state and provides the user behavior suggestion information. If the difference between the remaining usable time and the remaining required time of the battery device is greater than the alert threshold (yes at step S453), at step S455, the processor 160 controls the visual cue to be presented 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 signal lighting 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 keypad backlight to emit orange light and control the display 150 to provide the user behavior suggestion information. When the difference between the remaining usable time and the remaining required time of the battery device 120 is greater than the warning threshold, the processor 160 may control the keypad backlight to emit red light and control the display 150 to provide the user behavior suggestion information. Therefore, the user can determine how to implement the energy-saving operation by referring to the user behavior suggestion information according to the color of the keyboard backlight. Fig. 5 is a schematic diagram of providing user behavior suggestion information according to 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 power saving operations. The user can decide 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 know that the remaining power is very insufficient, and thus all the power saving operations in the behavior advice information Msg1 are performed. When the keyboard backlight emits orange light, the user can know that the remaining power is insufficient, and therefore selects to perform the energy saving operation in the behavior advice information Msg1 that does not affect the current job.
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 energy-saving operation, and return to step S430. Correspondingly, the remaining usable time of the battery increases in response to the implementation of at least one energy saving operation, and the remaining required time also decreases with the continuous timing. That is, in response to detecting the implementation of the power-saving operation, processor 160 may again compare the remaining available time of the battery with the remaining required time and provide a corresponding visual cue. Therefore, the user can gradually perform the energy-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 within a predetermined time period. The preset time period is, for example, 10 minutes, but the preset time period may be set according to actual requirements, and the present invention is not limited thereto. If the remaining available time of the battery is less than the remaining required time within the predetermined time period (yes in step S470), in step S480, the processor 160 reduces the power consumption of the hardware device in response to the remaining available time of the battery being less than the remaining required time within the predetermined time 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 forces down the power consumption of the hardware device, the user may refer to the user behavior suggestion information to decide how to flexibly adjust the operation state of the electronic device 100, so as to minimize the influence on the user using the electronic device 100 while the battery service 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 unnecessary applications and unnecessary communication functions first, so as to avoid the influence on the game fluency caused by the forced down-conversion of the processor or the graphics processor. As can be seen from the embodiment of fig. 4, after the processor 160 controls the visual cue to be presented 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-timely feed back whether the remaining available time of the current battery is sufficient, and the user does not need to manually click any battery icon. In addition, the electronic device can continuously feed back whether the remaining available time of the battery is more than or equal to the required time of the user in real time based on the operating state of the electronic device, so that the user can adjust the user behavior under the condition of reducing the power consumption as much as possible. Therefore, the user can continuously carry out energy-saving operation to ensure that the residual available time of the battery can meet the target requirement, thereby greatly improving the operation convenience and the user experience.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (20)

1. A power management method applied to an electronic device comprising a battery device, the method comprising:
acquiring target time according to user input;
determining the residual required time according to the target time and the elapsed time after starting timing;
acquiring the remaining available time of the battery device; and
and comparing the residual required time with the residual available time of the battery device, and providing a visual prompt and user behavior suggestion information according to the comparison result, wherein the user behavior suggestion information comprises at least one energy-saving operation.
2. The power management method according to claim 1, wherein after the steps of comparing the remaining demand time with the battery remaining available time of the battery device and providing the visual cue and the user behavior advice information depending on the comparison result, the method further comprises:
detecting the performance of the at least one energy-saving operation, wherein the remaining usable time of the battery increases in response to the performance of the at least one energy-saving operation.
3. The power management method according to claim 1, wherein after the steps of comparing the remaining demand time with the battery remaining available time of the battery device and providing the visual cue and the user behavior advice information depending on the comparison result, the method further comprises:
and in response to the fact that the remaining available time of the battery is less than the remaining required time within a preset time period, reducing the power consumption of a hardware device of the electronic device.
4. The power management method of claim 3, wherein throttling down the power consumption of the hardware device of the electronic device comprises: adjusting down the operating frequency of the processor or graphics processor or reducing the charging current provided to the external device.
5. The power management method according to claim 1, wherein the step of comparing the remaining demand time with the remaining available time of the battery device and providing the visual prompt and the user behavior suggestion information 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 or not;
if the remaining available time of the battery device is greater than or equal to the remaining required time, controlling the visual prompt to be presented in a first visual state, and not providing the user behavior suggestion information; and
and if the remaining available time of the battery device is less than the remaining demand time, controlling the visual prompt to be presented as a second visual state or a third visual state, and providing the user behavior suggestion information.
6. The power management method according to claim 5, wherein if the remaining available time of the battery device is less than the remaining demand time, the step of controlling the visual prompt to be presented in the second visual state or the third visual state and providing the user behavior suggestion information comprises:
judging whether the difference value between the remaining available time of the battery and the remaining required time is greater than a warning critical value or not; and
and if the difference value between the remaining available time and the remaining required time of the battery device is greater than the warning critical value, controlling the visual prompt to be presented as the third visual state and providing the user behavior suggestion information.
7. The method for managing electric power according to claim 6, wherein if the remaining 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 information further comprises:
and if the difference value between the remaining available time and the remaining required time of the battery device is not greater than the warning critical value, controlling the visual prompt to be presented as the second visual state and providing the user behavior suggestion information.
8. The power management method according to claim 1, wherein the remaining available time of the battery device is determined according to an average discharge current value of the battery device.
9. The power management method of claim 1, wherein providing the visual cue comprises controlling a keypad backlight to illuminate.
10. The method for managing electrical quantity according to claim 1, wherein the at least one power saving operation includes 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.
11. An electronic device, comprising:
an input device to receive a 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:
acquiring target time according to the user input;
determining the residual required time according to the target time and the elapsed time after starting timing;
acquiring the remaining available time of the battery device; and
and comparing the residual required time with the residual available time of the battery device, and providing a visual prompt and user behavior suggestion information according to the comparison result, wherein the user behavior suggestion information comprises at least one energy-saving operation.
12. The electronic device of claim 11, wherein after the processor provides the visual cue and the user behavior suggestion information as a function of the comparison, the processor is configured to: detecting the performance of the at least one energy-saving operation, wherein the remaining usable time of the battery increases in response to the performance of the at least one energy-saving operation.
13. The electronic device of claim 11, wherein after the processor provides the visual cue and the user behavior suggestion information as a function of the comparison, the processor is configured to: and in response to the fact that the remaining available time of the battery is less than the remaining required time within a preset time period, reducing the power consumption of a hardware device of the electronic device.
14. The electronic device of claim 13, wherein the operation of throttling down the power consumption of the hardware device of the electronic device comprises: adjusting down the operating frequency of the processor or graphics processor or reducing the charging current provided to the external device.
15. The electronic device of claim 11, 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 or not;
if the remaining available time of the battery device is greater than or equal to the remaining required time, controlling the visual prompt to be presented in a first visual state, and not providing the user behavior suggestion information; and
and if the remaining available time of the battery device is less than the remaining demand time, controlling the visual prompt to be presented as a second visual state or a third visual state, and providing the user behavior suggestion information.
16. The electronic device of claim 15, wherein the processor is configured to:
judging whether the difference value between the remaining available time of the battery and the remaining required time is greater than a warning critical value or not; and
and if the difference value between the remaining available time and the remaining required time of the battery device is greater than the warning critical value, controlling the visual prompt to be presented as the third visual state and providing the user behavior suggestion information.
17. The electronic device of claim 16, wherein the processor is configured to:
and if the difference value between the remaining available time and the remaining required time of the battery device is not greater than the warning critical value, controlling the visual prompt to be presented as the second visual state and providing the user behavior suggestion information.
18. The electronic device of claim 11, wherein the remaining battery usable time of the battery device is determined according to an average discharge current value of the battery device.
19. The electronic device of claim 11, wherein the operation of providing the visual cue comprises controlling a keyboard backlight to illuminate.
20. The electronic device of claim 11, wherein the at least one power saving operation comprises turning off an idle application, turning down display brightness of a display, turning down 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 true CN113961060A (en) 2022-01-21
CN113961060B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115185687A (en) * 2022-07-08 2022-10-14 慧之安信息技术股份有限公司 Memory allocation method based on deep learning
EP4303696A1 (en) * 2022-07-04 2024-01-10 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for predicting remaining use duration, electronic device and storage medium

Citations (5)

* 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
US20160315998A1 (en) * 2015-04-22 2016-10-27 Aeris Communications, Inc. Method and system for optimizing execution of user commands in relation to power management
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

Patent Citations (5)

* 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
US20160315998A1 (en) * 2015-04-22 2016-10-27 Aeris Communications, Inc. Method and system for optimizing execution of user commands in relation to power management
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4303696A1 (en) * 2022-07-04 2024-01-10 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for predicting remaining use duration, electronic device and storage medium
CN115185687A (en) * 2022-07-08 2022-10-14 慧之安信息技术股份有限公司 Memory allocation method based on deep learning
CN115185687B (en) * 2022-07-08 2023-11-14 慧之安信息技术股份有限公司 Memory allocation method based on deep learning

Also Published As

Publication number Publication date
CN113961060B (en) 2023-07-25

Similar Documents

Publication Publication Date Title
JP5021954B2 (en) Low voltage malfunction prevention circuit and method, and power supply circuit and electronic device using the same
US8407495B2 (en) Information processor and power supply method for an information processor
JP5039322B2 (en) Start-up circuit, method, and low-voltage malfunction prevention circuit, power supply circuit, and electronic device using the same
EP1734436A1 (en) Automatically controlling processor mode of multi-core processor
CN113961060B (en) Electronic device and electric quantity management method thereof
JP2008113512A (en) Electronic apparatus, charging method therefor and battery
US20170228013A1 (en) Power Managing Method For Avoiding Sudden Drop In Voltage And Electronic System Applying The Power Managing Method
US9880610B2 (en) Power supplying method, power supplying system, and electronic device
US6647501B1 (en) Power save control device and control method
CN110716631A (en) Power supply management method, device, equipment and readable storage medium
EP2843502A1 (en) Information processing device, information processing method, and program
US7065664B2 (en) Power management for a PDA system
EP2804285B1 (en) Power arbitration method and apparatus having a control logic circuit for assessing and selecting power supplies
US8996897B2 (en) Automatic backlight intensity adjustment in an embedded operating system environment
US20110320835A1 (en) System and method for dynamically managing power in an electronic device
US20140089696A1 (en) Method for controlling power mode switching
US11531388B2 (en) Electronic apparatus and power management method thereof
US20080129248A1 (en) System and method of power management
JP2011211791A (en) Backup power supply device, and power output method
JP4030408B2 (en) Operating frequency control system and method
CN114895768A (en) Information processing method and device and electronic equipment
CN107231038B (en) Electronic device and power supply control method for electronic device
EP1672466A1 (en) Power controller and power control method for an electronic equipment
CN112285597A (en) Short circuit detection method and device for display panel
JP2009159749A (en) Device and method for controlling charging

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