CN104267795B - Electric quantity managing method, power management device and electronic equipment - Google Patents

Electric quantity managing method, power management device and electronic equipment Download PDF

Info

Publication number
CN104267795B
CN104267795B CN201410460975.2A CN201410460975A CN104267795B CN 104267795 B CN104267795 B CN 104267795B CN 201410460975 A CN201410460975 A CN 201410460975A CN 104267795 B CN104267795 B CN 104267795B
Authority
CN
China
Prior art keywords
electronic equipment
application
threshold value
pending operation
shutdown
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
CN201410460975.2A
Other languages
Chinese (zh)
Other versions
CN104267795A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410460975.2A priority Critical patent/CN104267795B/en
Publication of CN104267795A publication Critical patent/CN104267795A/en
Application granted granted Critical
Publication of CN104267795B publication Critical patent/CN104267795B/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/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

Provide a kind of electric quantity managing method, power management device and electronic equipment.The electric quantity managing method includes: to detect the status information of each application in electronic equipment when the remaining capacity of the battery of electronic equipment is less than or equal to prompting threshold value;Pending operation is determined based on status information detected;Application hint message relevant at least part of the pending operation is generated based on identified pending operation;The application hint message is presented in the electronic device;When the remaining capacity of the battery is less than or equal to a shutdown threshold value, the electronic equipment shutdown is controlled, which is less than the prompting threshold value.Using the technical solution according to the embodiment of the present application, can promote to execute the important operation in electronic equipment due to low battery and before shutting down in electronic equipment, to improve the usage experience of user.

Description

Electric quantity managing method, power management device and electronic equipment
Technical field electronic technology field is set more particularly to a kind of electric quantity managing method, power management device and electronics It is standby.
Background technique
Electronic equipment is increasingly becoming a part of people's life, especially portable electronic device.However, many electronics are set It is standby to usually require battery to power.The ability of the storage electric energy of battery is limited, and when battery capacity is when exhausting, electronic equipment meeting Automatic shutdown.If electronic equipment since electricity exhausts automatic shutdown, may cause many critical events in electronic equipment It can not handle.This causes very big inconvenience to the use of user.
In existing technology, various capacity prompt technologies are provided, user is allowed to grasp the residue of electronic equipment Electricity, consequently facilitating user handles the critical event in electronic equipment.But current various capacity prompt technologies are difficult Accurately to show the pot life of electronic equipment to user.Moreover, the change of the use state with electronic equipment, electronics are set Standby pot life can also change, for example, the remaining stand-by time of electronic equipment is different under identical remaining capacity Its remaining air time.Accordingly, it is difficult to guarantee to handle the critical event in electronic equipment based on capacity prompt technology.
When the battery of electronic equipment soon exhausts, low battery prompting can also be carried out in the electronic device.When user does not have When having using electronic equipment, it may be difficult to find that the low battery is reminded, to be difficult in time to the critical event in electronic equipment It is handled.The omission of this equally possible critical event for leading to electronic equipment.
Accordingly, it is desirable to be able to reasonably manage battery capacity, to avoid electricity exhausts and when automatic shutdown, omits to user For important event.
Summary of the invention
The embodiment of the present application provides a kind of electric quantity managing method, power management device and electronic equipment, can be in electricity Sub- equipment promotes to execute the important operation in electronic equipment before shutting down due to low battery, to improve the use body of user It tests.
In a first aspect, providing a kind of electric quantity managing method for electronic equipment, the electronic equipment may include being used for To the battery of the power electronic equipment, and at least one application is mounted in the electronic equipment, which can wrap It includes: when the remaining capacity of the battery is less than or equal to prompting threshold value, detecting the status information of each application in electronic equipment; Pending operation is determined based on status information detected;It is generated and the pending operation based on identified pending operation The relevant application hint message of at least part;The application hint message is presented in the electronic device;When the battery When remaining capacity is less than or equal to a shutdown threshold value, the electronic equipment shutdown is controlled, which is less than the prompting threshold value.
With reference to first aspect, in a kind of implementation of first aspect, the electric quantity managing method, which may also include that, to be based on At least one of execution time and quantity of identified pending operation reset the shutdown threshold value.
With reference to first aspect and its above-mentioned implementation, in another implementation of first aspect, it is described based on institute really The shutdown threshold value is arranged at least one of execution time and quantity of fixed pending operation can include: when it is identified to Executing operation includes executing the time to set described for the shutdown threshold value in the subsequent operation after electronic equipment shutdown Electricity needed for electronic equipment is switched on and executes the subsequent operation, the electric quantity managing method, which may also include that, restarts the electricity Sub- equipment, and the subsequent operation is executed on the execution time of the subsequent operation;After having run the subsequent operation, The electronic equipment is set to shut down.
With reference to first aspect and its above-mentioned implementation, in another implementation of first aspect, the managing electric quantity Method may also include that when the remaining capacity reaches the prompting threshold value, to each application hair run in the electronic device Low power notification is sent, so that the application for receiving the low power notification saves respective ephemeral data.
With reference to first aspect and its above-mentioned implementation, in another implementation of first aspect, the managing electric quantity Method may also include that while the application hint message is presented in the electronic device, provides for user and mentions about the application Show the action link of information;The instruction that user is directed to the action link is received, and described pending according to instruction execution Operation.
With reference to first aspect and its above-mentioned implementation, in another implementation of first aspect, the managing electric quantity Method may also include that while the application hint message is presented in the electronic device, obtain in advance for identified The forwarding configuration information of pending operation, and the pending operation is automatically carried out according to the forwarding configuration information.
With reference to first aspect and its above-mentioned implementation, in another implementation of first aspect, the managing electric quantity Method may also include that while the application hint message is presented in the electronic device, judge whether electronic equipment is made With;When judging that electronic equipment is currently being used, at least one in the pending operation is executed, to show in the electronic device Content in.
Second aspect, provides a kind of power management device for electronic equipment, and the electronic equipment may include being used for To the battery of the power electronic equipment, and at least one application is mounted in the electronic equipment, which can wrap Include: detection unit detects each application in electronic equipment when the remaining capacity of the battery is less than or equal to prompting threshold value Status information;Determination unit, for determining pending operation based on status information detected;Generation unit, for being based on institute Determining pending operation generates application hint message relevant at least part of the pending operation;Display unit, For the application hint message to be presented in the electronic device;Control unit, when the battery unit remaining capacity be less than etc. When a shutdown threshold value, the electronic equipment shutdown is controlled, which is less than the prompting threshold value.
In conjunction with second aspect, in a kind of implementation of second aspect, the power management device may also include that setting Unit resets the shutdown threshold at least one of the execution time and quantity based on identified pending operation Value.
In conjunction with second aspect and its above-mentioned implementation, in another implementation of second aspect, when described determining single Pending operation determined by member includes the execution time being in the subsequent operation after electronic equipment shutdown, the setting unit Electricity needed for can setting the shutdown threshold value to the electronic equipment booting and executing the subsequent operation, the control are single Member can restart the electronic equipment, and control the electronic equipment executed on the execution time of the subsequent operation it is described subsequent Operation, and the electronic equipment shutdown is controlled after having run the subsequent operation.
In conjunction with second aspect and its above-mentioned implementation, in another implementation of second aspect, the managing electric quantity Device may also include that transmission unit, for when the remaining capacity reaches the prompting threshold value, to running in the electronic device Each application send low power notification so that the application for receiving the low power notification saves respective ephemeral data.
In conjunction with second aspect and its above-mentioned implementation, in another implementation of second aspect, the display unit While the application hint message can be presented in the electronic device, the behaviour about the application hint message is provided for user It links, the power management device may also include receiving unit, which receives user for the action link Instruction, to execute the pending operation according to the instruction by the electronic equipment.
In conjunction with second aspect and its above-mentioned implementation, in another implementation of second aspect, when the presentation is single Member is when being presented the application hint message in the electronic device, described control unit can obtain in advance for it is identified to Execute operation forwarding configuration information, and controlling electronic devices automatically carried out according to the forwarding configuration information it is described pending Operation.
In conjunction with second aspect and its above-mentioned implementation, in another implementation of second aspect, when the presentation is single When the application hint message is presented in member in the electronic device, whether the detection unit can detecte the electronic equipment It is used;When detection unit judges that electronic equipment is currently being used, described control unit can control electronic equipment to execute At least one in the pending operation, to show the content in application in the electronic device.
The third aspect provides a kind of electronic equipment, including power management device described in any of the above item.
In the technical solution according to the electric quantity managing method of the embodiment of the present application, power management device and electronic equipment, By determining pending operation based on the status information of application detected and being presented and the pending operation in electronic equipment Relevant application hint message at least partially can promote execution electronics to set in electronic equipment due to low battery and before shutting down Important operation in standby, to improve the usage experience of user.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be in embodiment or description of the prior art Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the application Example is applied, it for those of ordinary skill in the art, without creative efforts, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is to schematically illustrate the block diagram for the electronic equipment that the energy management program of the embodiment of the present application is applied to;
Fig. 2 is to schematically illustrate the flow chart of the electric quantity managing method according to the application example embodiment;
Fig. 3 is to schematically illustrate in the electric quantity managing method according to the application example embodiment that Application Hints letter is being presented The flow chart of the method for pending operation is executed when breath;
Fig. 4 is to schematically illustrate execution pending operation in the electric quantity managing method according to the application example embodiment The flow chart of other examples;
Fig. 5 is to schematically illustrate the block diagram of the power management device according to the application example embodiment;
Fig. 6 is to schematically illustrate the block diagram of another power management device according to the application example embodiment.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.
It can be applied to various electronic equipments according to the technical solution of the progress message notifying of the embodiment of the present application, including but not It is limited to smart phone, tablet computer, personal digital assistant, reader, audio player etc., the type of electronic equipment is not constituted Limitation to the embodiment of the present application.
Fig. 1 is to schematically illustrate the block diagram for the electronic equipment that the energy management program of the embodiment of the present application is applied to. As shown in Figure 1, the electronic equipment includes being mounted with to answer for the battery to the power electronic equipment, and in the electronic equipment With 1, using 2.Battery is the indispensable module of portable electronic device, makes the work of electronic equipment be not only restricted to power supply and is Arrangement.Illustrate only two applications in Fig. 1, even the quantity of the application can also for 1, three, it is more.The application It can be typically wechat, document editor, music player, image viewer etc..
In existing technology, the remaining capacity of battery can be shown in the electronic device, but the display mode cannot be to User accurately shows the pot life of electronic equipment;The low battery prompting of electronic equipment may also be ignored.Correspondingly, cause Critical event in electronic equipment cannot be processed, to make troubles to user.
In the technical solution according to the embodiment of the present application, prompting threshold value and shutdown are provided with for the remaining capacity of battery Threshold value, to can determine in the application in electronic equipment when remaining capacity is between prompting threshold value and shutdown threshold value Application hint message is presented based on identified pending operation in pending operation, executes the pending operation with prompt, And the shutdown when remaining capacity reaches the shutdown threshold value.Using the technical solution of the embodiment of the present application, allow in electronics Equipment promotes to execute the important operation in electronic equipment before shutting down due to low battery, to improve the use body of user It tests.
Fig. 2 is to schematically illustrate the flow chart of the electric quantity managing method 200 according to the application example embodiment.The electricity Management method 200 can be applied to electronic equipment shown in FIG. 1, which includes for the electricity to the power electronic equipment Pond, and wherein it is mounted at least one application.
As shown in Fig. 2, the electric quantity managing method 200 can include: when the remaining capacity of the battery is less than or equal to prompt threshold When value, the status information (S210) of each application in electronic equipment is detected;It is determined based on status information detected pending It operates (S220);Application relevant at least part of the pending operation is generated based on identified pending operation to mention Show information (S230);The application hint message (S240) is presented in the electronic device;When the remaining capacity of the battery is less than When equal to a shutdown threshold value, the electronic equipment shutdown is controlled, which is less than the prompting threshold value (S250).
In S210, the information of the remaining capacity of the battery of available electronic equipment, and by the residue of the battery Electricity, when the remaining capacity of the battery is less than or equal to prompting threshold value, detects in electronic equipment compared with prompting threshold value The status information of each application.The prompting threshold value is the pre-set electricity for battery, can be the electricity of electronic equipment 8%, 7% etc. of the total electricity that pond is filled can also be specific charge value, such as 100 milliampere hour (mAh), 80mAh etc..
Typically, voltameter can be set in the inside of battery, is indicated using the voltameter surplus in rechargeable battery Remaining electricity and in certain operating conditions battery can also continued power time.Correspondingly, electricity can be obtained from the voltameter The remaining capacity in pond.Alternatively, the remaining capacity of battery can also be obtained using existing various applications.
Application in electronic equipment can be various applications that are existing or occurring in the future.The status information of the application can be with It is to apply being carrying out or have pending task operating information, such as can be to whether there is in short message application and not connect The information of short message, the editing mode information for the document edited, preset calendar prompting mission bit stream, video player Playback progress information, missed call information of communications applications etc..As an example, can use the operating system record of electronic equipment The work state information of each application, and that is detected by inquiring recorded work state information in electronic equipment each answers Status information.The detection mode of status information does not constitute the limitation to the embodiment of the present application.
The each application for detecting its status information may include answering of just running in the foreground of electronic equipment or backstage With, can also include currently without operation but the subsequent applications to be performed after the predetermined time, such as 1 hour after mentioned Awake alarm clock.For the application just run in the electronic device, when the remaining capacity reaches the prompting threshold value, Ke Yixiang The each application being currently running sends low power notification, so that the application for receiving the low power notification saves respective nonce According to.In the prior art, usually when remaining capacity reaches the prompting threshold value electronic equipment show low power notification so as to User's processing.At this point, user cannot be saved in time in the application being currently running if user does not operate electronic equipment Ephemeral data.In the embodiment of the present application, it substitutes to user's display low power notification, but being currently running into electronic equipment Applicative notifications low battery, this application for be currently running can automatically carry out processing, and example saves the document when pre-editing With User Status, the progress of currently watched video/audio etc..
In S220, pending operation is determined based on status information detected.It is each in electronic equipment having detected After the status information of application, the pending operation of each application can be known.Several certain examples are given below.Work as short message There is no when not connecing short message in, determining does not have pending operation in short message application.When in short message application exist not When connecing short message, the pending operation for determining short message application, which is that opening is described, does not connect short message.When institute's detecting state information refers to When showing that office application (for example, polaris office) is not used, determining the office application, there is no pending operations.When When the instruction office application of institute's detecting state information is being used and the file opened does not save, determine that on-unit is Save opened file.When there is no schedule in the calendar prompting application in electronic equipment, calendar prompting application is determined In be not present pending operation.When in the calendar prompting application in electronic equipment there are when one small after remind meeting when, really The pending operation for determining calendar prompting application is to issue meeting a hour to remind.Other applications can be similarly determined Its pending operation.
In S230, generated based on identified pending operation relevant at least part of the pending operation Application hint message.The application hint message is used to prompt the presence of pending operation described in user, so that user sets in electronics Each pending operation is initiatively executed before the standby shutdown due to low battery.
For example, the application hint message can be speech prompt information, display text information, bell prompting message etc..Institute Stating application hint message can be the application hint message of all pending operations detected, be also possible to a part of pending The application hint message of operation.As previously mentioned, low power notification can be sent to each application run in the electronic device, with The application for receiving the low power notification is set to save respective ephemeral data.That is, the application for receiving the low power notification can To automatically carry out pending operation therein, then do not need to generate relative application hint message.It can also only give birth to At a kind of total prompting messages.User is after noticing the total prompting messages, so that it may continuously handle all pending operations.
In S240, application hint message generated is presented in the electronic device.When application hint message voice prompting When information or bell prompting message, the loudspeaker in electronic equipment can use the application hint message is presented.When application mentions When showing that information is display text information, the display in electronic equipment can use the display text information is presented.In short, can By taken according to the classification of application hint message generated it is suitable in a manner of presented.
The purpose that the application hint message is presented is to execute each pending operation.Fig. 3 is to schematically illustrate According to the method for executing pending operation in the electric quantity managing method of the application example embodiment when application hint message is presented Flow chart.In Fig. 3, give three kinds of modes to execute pending operation, as in Fig. 3 1., 2., 3. shown in.In mode 1. in, pending operation is executed by step S241, S242, S243;Mode 2. in, held by step S244, S245 Row pending operation;Mode 3. in, pending operation is executed by step S246, S247.Three kinds of modes are only to show Meaning property, the limitation to the embodiment of the present application cannot be taken as.In the application, can use above-mentioned mode 1., 2., 3. in One or more execute pending operation, and it executes time and sequence and can according to need and be adjusted.It is practicing In, other modes can also be taken to execute pending operation.Three kinds of modes are described below with reference to Fig. 3.
Mode is 1.: while the application hint message is presented in the electronic device, providing for user about the application The action link (S241) of prompt information;Receive the instruction (S242) that user is directed to the action link;With according to the instruction Execute the pending operation (S243).For example, when showing that the text prompt information of document has been edited in preservation on an electronic device, It can be arranged on the side (such as lower right) of the text prompt information and be linked for the document storing for having edited document.When with When the document preservation link is clicked at family, the instruction that user is directed to document storing link can receive, so as to hold immediately Row document storing.The application that the action link makes user not need to operate for carrying out documents editing can be executed directly Document storing can advantageously execute the pending operation, it is easier to be received by user.Therefore, Land use systems 1., While executing S240, pending operation is performed.
Mode is 2.: while the application hint message (S240) is presented in the electronic device, obtaining for being directed in advance The forwarding configuration information (S244) of identified pending operation, and automatically carried out according to the forwarding configuration information it is described to Execute operation (S245).For example, when presented application hint message prompt there are missed call, do not connect short message when, if electric It is provided with missed call in sub- equipment or does not connect short message and be forwarded to particular telephone number, then it can be for not fetching before shutdown Electricity does not connect short message and executes similar forwarding operation.Therefore, available about not fetching in low battery state before being powered off Electricity does not connect the forwarding configuration information of short message, and automatically by electronic equipment missed call, do not connect short message and be forwarded to the spy Determine telephone number, does not connect short message so that user can check on communication equipment corresponding with the particular telephone number or do not connect Incoming call.Certainly, electronic equipment shutdown after, it is each do not connect short message, missed call can be forwarded to by base station with it is described specific The corresponding communication equipment of telephone number, the electronics that the electric quantity managing method without being sent to the embodiment of the present application is applied to are set It is standby.
Mode is 3.: while the application hint message is presented in the electronic device, judge electronic equipment whether by It uses (S246);When judging that electronic equipment is currently being used, at least one in the pending operation is executed, to set in electronics The standby middle content (S247) shown in application.For example, if finding that electronics is used in user when application hint message is presented Equipment then can be opened directly and not connect the prompting of short message, sending about schedule to be reminded etc. (directly executing pending operation). In this way, user without operation can direct viewing operating result, to simplify the operation of user.In S246, Ke Yigen Judge whether electronic equipment is used by a user according to system information, electronics can also be judged according to the touch information on touch screen Whether equipment is used by a user, and specific judgment mode does not constitute the limitation to the embodiment of the present application.
In S250, when the remaining capacity of the battery is less than or equal to a shutdown threshold value, controls the electronic equipment and close Machine, the shutdown threshold value are less than the prompting threshold value.By each step above and other possible operations of user, battery Remaining capacity will continue to reduce, to shut down.For example, the shutdown threshold value can be fixed, and it is, for example, zero power, i.e., it is electric Amount is shut down after using up.When identified pending operation includes executing the time as subsequent operation after electronic equipment shutdown When, if being not carried out the subsequent operation before electronic equipment shutdown, should cause for the shutdown threshold value of zero power in battery quilt The subsequent operation can not be all executed before charging, so as to cause user to omit important information.For this purpose, can be based on institute really At least one of execution time and quantity of fixed pending operation reset the shutdown threshold value, the pass reset Machine threshold value can be greater than zero.In this way, can electronic equipment shutdown after, the execution time that execute the subsequent operation it Preceding booting, and the subsequent operation is executed on the execution time.
Fig. 4 is to schematically illustrate execution pending operation in the electric quantity managing method according to the application example embodiment The flow chart of other examples.In the example of execution pending operation as shown in Figure 4, when identified pending operation includes Executing the time is to set the electronic equipment in the subsequent operation after electronic equipment shutdown for the shutdown threshold value and be switched on With electricity needed for the execution subsequent operation
(S250a);When the remaining capacity of the battery is less than or equal to the shutdown threshold value reset, described in control Electronic equipment shutdown, the shutdown threshold value are less than the prompting threshold value (S250);Restart the electronic equipment (S260);After described The subsequent operation (S270) is executed on the execution time of continuous operation;After having run the subsequent operation, make the electronics Equipment shuts down (S280).
S250a in Fig. 4 gives in a kind of execution time and quantity based on identified pending operation at least One resets the mode of the shutdown threshold value.The shutdown threshold value reset remains the remaining capacity of battery, so that Electronic equipment can turn back on, and execute subsequent operation, be missed so as to avoid the important operation of electronic equipment.It should As long as S250a is executed before S250, the sequencing of the operating time of any of opposite S210-S240 is not Constitute the limitation to the embodiment of the present application.
In the technical solution according to the electric quantity managing method of the embodiment of the present application, pass through the shape based on application detected State information determines pending operation and Application Hints relevant at least part of the pending operation is presented in electronic equipment Information can promote to handle the important operation in electronic equipment due to low battery and before shutting down in electronic equipment, to improve The usage experience of user.Also, weight is further avoided in conjunction with the mode of Fig. 3-4 each execution pending operation described The omission to be operated or the operation for simplifying user.
Fig. 5 is to schematically illustrate the block diagram of the power management device 500 according to the application example embodiment.The electricity pipe Reason device 500 can be applied to electronic equipment shown in FIG. 1, the electronic equipment include for the battery to the power electronic equipment, And wherein it is mounted at least one application.
As shown in figure 5, the power management device 500 includes: detection unit 510, when the remaining capacity of the battery is less than When equal to prompting threshold value, the status information of each application in electronic equipment is detected;Determination unit 520 is detected for being based on Status information determine pending operation;Generation unit 530, for being generated with described based on identified pending operation wait hold The relevant application hint message of at least part of row operation;Display unit 540, for the application to be presented in the electronic device Prompt information;Control unit 550 controls the electricity when the remaining capacity of the battery unit is less than or equal to a shutdown threshold value Sub- equipment shutdown, the shutdown threshold value are less than the prompting threshold value.
The information of the remaining capacity of the battery of available electronic equipment in the electronic device, and remaining the battery Remaining electricity is compared with prompting threshold value.When the remaining capacity of the battery is less than or equal to prompting threshold value, detection unit 510 is detected The status information of each application in electronic equipment.The prompting threshold value is the pre-set electricity for battery, be can be The predetermined percentage for the total electricity that the battery of electronic equipment is filled can also be specific charge value.
Typically, voltameter can be set in the inside of battery, is indicated using the voltameter surplus in rechargeable battery Remaining electricity and in certain operating conditions battery can also continued power time.Correspondingly, electricity can be obtained from the voltameter The remaining capacity in pond can also obtain the remaining capacity of battery, using existing various applications to start detection unit 510 Detection.
Application in electronic equipment can be various applications that are existing or occurring in the future.Detection unit 510 is detected Status information, which can be, to be applied being carrying out or has pending task operating information, such as can be in short message application With the presence or absence of do not connect the information of short message, the editing mode information for the document edited, preset calendar prompting mission bit stream, Playback progress information, missed call information of communications applications of video player etc..As an example, can use electronic equipment Operating system records the work state information of each application, detection unit 510 by inquire recorded work state information come Detect the status information.The detection mode of status information does not constitute the limitation to the embodiment of the present application.
The each application for detecting its status information may include answering of just running in the foreground of electronic equipment or backstage With, can also include currently without operation but the subsequent applications to be performed after the predetermined time, such as 1 hour after mentioned Awake alarm clock.In addition, power management device 500 can also include: transmission unit 570, for reaching institute when the remaining capacity When stating prompting threshold value, low power notification is sent to each application run in the electronic device, so as to receive the low power notification Application save respective ephemeral data.In the prior art, usually when remaining capacity reaches the prompting threshold value in electronics Equipment shows low power notification so as to user's processing.At this point, user cannot be in time if user does not operate electronic equipment Save the ephemeral data in the application being currently running.In the embodiment of the present application, it substitutes to user and shows low power notification, send The applicative notifications low battery that is currently running of the unit 570 into electronic equipment, this makes the application being currently running can be automatically Processing is executed, example is saved when the document of pre-editing and User Status, the progress of currently watched video/audio etc..
After the status information that detection unit 510 has detected each application in electronic equipment, determination unit 520 can base Pending operation is determined in status information detected.Several operation examples of several determination units 520 are given below.Work as detection Unit 510 detects that determination unit 520 can determine in short message application do not have there is no when not connecing short message in short message application Pending operation.When detection unit 510 detects in short message application in the presence of short message is not connect, determination unit 520 be can determine The pending operation of short message application, which is that opening is described, does not connect short message.When detection unit 510 detect office application not by In use, determination unit 520 can determine the office application, there is no pending operations.When detection unit 510 detects that office is answered With being being used and when the file opened does not save, determination unit 520 can determine that on-unit preservation is opened File.When detection unit 510, which detects, does not have schedule in calendar prompting application, determination unit 520 can determine that schedule mentions It wakes up and pending operation is not present in applying.It is reminded after detection unit 510 detects in calendar prompting application there are when one small Meeting when, determination unit 520 can determine that the pending operation of calendar prompting application is to issue hour meeting to remind.It determines Its pending operation can be similarly determined for others application in unit 520.
Generation unit 530 is generated related at least part of the pending operation based on identified pending operation Application hint message.The application hint message is used to prompt the presence of pending operation described in user, so that user is in electronics Equipment is due to initiatively executing each pending operation before low battery shutdown.For example, the application hint message can be voice Prompt information, display text information, bell prompting message etc..The application hint message can be detected all pending The application hint message of operation is also possible to the application hint message of a part of pending operation.
As previously mentioned, transmission unit 570 can send low power notification to each application run in the electronic device, with The application for receiving the low power notification is set to save respective ephemeral data.That is, the application for receiving the low power notification can To automatically carry out pending operation therein, generation unit 530 does not need to generate relative application hint message.It generates Unit 530 can also only generate a kind of total prompting messages.User is after noticing the total prompting messages, so that it may continuously be located in Manage all pending operations.
Application hint message generated is presented in display unit 540 in the electronic device.When generation unit 530 is generated When application hint message speech prompt information or bell prompting message, display unit 540 can use the loudspeaking in electronic equipment Device is presented the application hint message.When the application hint message generated of generation unit 530 is display text information, present Unit 540 can use the display in electronic equipment the display text information is presented.In short, display unit 540 can root Suitable mode is taken to be presented according to the classification of application hint message generated.The application is presented in display unit 540 The purpose of prompt information is to execute each pending operation.Below with reference to the example for executing each pending operation.
Example 1: while the application hint message is presented in the display unit 540 in the electronic device, user is provided About the action link of the application hint message, the power management device may also include receiving unit 580 (such as Fig. 5 institute Show), the receiving unit 580 receive user be directed to the action link instruction, with by the electronic equipment according to the instruction Execute the pending operation.For example, saving the text prompt for having edited document when display unit 540 is shown on an electronic device When information, it can be arranged on the side (such as lower right) of the text prompt information and edit the document storing chain of document for this It connects.When the document saves link when the user clicks, receiving unit 580 receives the instruction that user is directed to document storing link, So as to be immediately performed document storing.The action link makes user not need to operate the application for carrying out documents editing Document storing can be directly executed, can advantageously execute the pending operation, it is easier to be received by user.
Example 2: while the application hint message is presented in the electronic device in display unit 540, control unit 550 The forwarding configuration information for being directed to identified pending operation in advance can be obtained, and controlling electronic devices is matched according to the forwarding Confidence ceases to automatically carry out the pending operation.For example, when the application hint message prompt that display unit 540 is presented is deposited When missed call, not connecing short message, particular telephone is forwarded to if being provided with missed call in electronic equipment or not connecing short message Number, then can for before shutdown missed call, do not connect short message and execute similar forwarding operation.Therefore, before being powered off low In state of charge, control unit 550 it is available about missed call, do not connect the forwarding configuration information of short message, and automatically will Missed call on electronic equipment does not connect short message and is forwarded to the particular telephone number, thus user can with it is described specific It is checked on the corresponding communication equipment of telephone number and does not connect short message or missed call.Electronic equipment shutdown after, it is each do not connect it is short Letter, missed call can be forwarded to communication equipment corresponding with the particular telephone number by base station, without being sent to this Shen Please embodiment the electronic equipment that is applied to of electric quantity managing method.
Example 3: when the application hint message is presented in the electronic device in the display unit 540, the detection is single Member 510 can detecte whether the electronic equipment is currently being used;When detection unit judges that electronic equipment is currently being used, institute Stating control unit 550 can control electronic equipment to execute at least one in the pending operation, to show in the electronic device Content in.For example, in display unit 540 when application hint message is presented, if detection unit 510 is finding user just Electronic equipment is being used, then described control unit 550 can control directly to open and not connect short message, sending about schedule to be reminded Prompting etc. (directly executing pending operation).In this way, user without operation can direct viewing operating result, thus simple The operation of user is changed.Detection unit 510 can judge whether electronic equipment is used by a user according to system information, can also be with Judge whether electronic equipment is used by a user according to the touch information on touch screen, specific judgment mode is not constituted to this Shen Please embodiment limitation.
When the remaining capacity of the battery is less than or equal to a shutdown threshold value, control unit 550 controls the electronic equipment Shutdown, the shutdown threshold value are less than the prompting threshold value.The shutdown threshold value can be fixed, and be, for example, zero power, i.e. electricity It shuts down after using up.The pending operation determined by the determination unit 520 includes that execute the time be after electronic equipment shutdown When subsequent operation, if being not carried out the subsequent operation before electronic equipment shutdown, it should cause for the shutdown threshold value of zero power The subsequent operation can not be all executed, before battery is electrically charged so as to cause user to omit important information.For this purpose, electricity Managing device 500 may also include setting unit 570, in the execution time and quantity based on identified pending operation At least one resets the shutdown threshold value, which is greater than zero.In this way, can electronic equipment shutdown after, It is switched on before executing the execution time of the subsequent operation, and executes the subsequent operation on the execution time.
The example that shutdown threshold value is reset as setting unit 570, it is pending determined by the determination unit 520 Operation includes executing the time as in the subsequent operation after electronic equipment shutdown, the setting unit 570 can be by the pass Electricity needed for machine threshold value is set as the electronic equipment booting and executes the subsequent operation.At this point, described control unit 550 The electronic equipment can be restarted, and control the electronic equipment and execute the subsequent behaviour on the execution time of the subsequent operation Make, and controls the electronic equipment shutdown after having run the subsequent operation.
In the technical solution according to the power management device of the embodiment of the present application, pass through the shape based on application detected State information determines pending operation and Application Hints relevant at least part of the pending operation is presented in electronic equipment Information can promote to handle the important operation in electronic equipment due to low battery and before shutting down in electronic equipment, to improve The usage experience of user.
Fig. 6 is to schematically illustrate the block diagram of another power management device 600 according to the application example embodiment.The dress Setting 600 includes: memory 610, for storing program code;Processor 620, for executing said program code to realize combination The electric quantity managing method that Fig. 2-4 is described.
Memory 610 may include at least one of read-only memory and random access memory, and to processor 620 Instruction and data is provided.The a part of of memory 610 can also include non-volatile row random access memory (NVRAM).
Processor 620 can be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), ready-made Programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware group Part.General processor can be microprocessor or any conventional processor etc..
The step of method in conjunction with disclosed in the embodiment of the present application, which can be embodied directly in, executes completion by processor, or With in processor hardware and software module combination execute completion.Software module can be located at random access memory, flash memory, read-only deposit In the storage medium of this fields such as reservoir, programmable read only memory or electrically erasable programmable memory, register maturation. The storage medium is located in memory 610, and processor 620 reads the information in memory 610, completes above-mentioned side in conjunction with its hardware The step of method.
It is any to include after describing the power management device according to each embodiment of the application above in conjunction with Figures 5 and 6 The electronic equipment of the power management device is also in the scope of the disclosure of the present application.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the equipment of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed unit and method, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It may be combined or can be integrated into another equipment, or some features can be ignored or not executed.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) execute each embodiment the method for the application all or part of the steps. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory, random access memory, magnetic or disk etc. are each Kind can store the medium of program code.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain Lid is within the scope of protection of this application.Therefore, the protection scope of the application shall be subject to the protection scope of the claim.

Claims (13)

1. a kind of electric quantity managing method for electronic equipment, the electronic equipment includes for the electricity to the power electronic equipment Pond, and at least one application is mounted in the electronic equipment, which includes:
When the remaining capacity of the battery is less than or equal to prompting threshold value, the state letter of each application in electronic equipment is detected Breath;
Pending operation is determined based on status information detected;
Application hint message relevant at least part of the pending operation is generated based on identified pending operation;
The application hint message is presented in the electronic device;
When the remaining capacity of the battery is less than or equal to a shutdown threshold value, the electronic equipment shutdown, the shutdown threshold value are controlled Less than the prompting threshold value;Wherein, described in the setting of at least one of execution time and quantity based on the pending operation Shutdown threshold value.
2. electric quantity managing method according to claim 1, wherein
It is described that based at least one of execution time and quantity of identified pending operation, the shutdown threshold value packet is set It includes: when identified pending operation includes the execution time being in the subsequent operation after electronic equipment shutdown, by the pass Electricity needed for machine threshold value is set as the electronic equipment booting and executes the subsequent operation,
The electric quantity managing method further include:
Restart the electronic equipment, and executes the subsequent operation on the execution time of the subsequent operation;
After having run the subsequent operation, the electronic equipment is made to shut down.
3. electric quantity managing method according to claim 1, further includes:
When the remaining capacity reaches the prompting threshold value, it is logical that low battery is sent to each application run in the electronic device Know, so that the application for receiving the low power notification saves respective ephemeral data.
4. electric quantity managing method according to claim 3, further includes:
While the application hint message is presented in the electronic device, the behaviour about the application hint message is provided for user It links;
Receive the instruction that user is directed to the action link;With
The pending operation is executed according to the instruction.
5. electric quantity managing method according to claim 1, further includes:
While the application hint message is presented in the electronic device, obtain for being directed to identified pending operation in advance Forwarding configuration information, and the pending operation is automatically carried out according to the forwarding configuration information.
6. electric quantity managing method according to claim 1, further includes:
While the application hint message is presented in the electronic device, judge whether electronic equipment is currently being used;
When judging that electronic equipment is currently being used, at least one in the pending operation is executed, to open up in the electronic device Show the content in application.
7. a kind of power management device for electronic equipment, the electronic equipment includes for the electricity to the power electronic equipment Pond, and at least one application is mounted in the electronic equipment, which includes:
Detection unit detects each application in electronic equipment when the remaining capacity of the battery is less than or equal to prompting threshold value Status information;
Determination unit, for determining pending operation based on status information detected;
Generation unit, it is relevant at least part of the pending operation for being generated based on identified pending operation Application hint message;
Display unit, for the application hint message to be presented in the electronic device;
Control unit controls the electronic equipment and closes when the remaining capacity of the battery unit is less than or equal to a shutdown threshold value Machine, the shutdown threshold value are less than the prompting threshold value, wherein in the execution time and quantity based on the pending operation at least One setting shutdown threshold value.
8. power management device according to claim 7, wherein
The pending operation determined by the determination unit includes that execute the time be subsequent behaviour after electronic equipment shutdown When making, the setting unit sets the electronic equipment booting for the shutdown threshold value and executes needed for the subsequent operation Electricity,
Described control unit restarts the electronic equipment, and controls the electronic equipment and hold on the execution time of the subsequent operation The row subsequent operation, and the electronic equipment shutdown is controlled after having run the subsequent operation.
9. power management device according to claim 7, further includes: transmission unit, for reaching described when the remaining capacity When prompting threshold value, low power notification is sent to each application run in the electronic device, so as to receive the low power notification Using the respective ephemeral data of preservation.
10. power management device according to claim 9, wherein the application is presented in the display unit in the electronic device While prompt information, the action link about the application hint message is provided for user,
The power management device further includes receiving unit, which receives the instruction that user is directed to the action link, To execute the pending operation according to the instruction by the electronic equipment.
11. power management device according to claim 7, wherein answered described in being presented in the electronic device when the display unit When with prompt information, described control unit obtains the forwarding configuration information for being directed to identified pending operation in advance, and Controlling electronic devices automatically carries out the pending operation according to the forwarding configuration information.
12. power management device according to claim 7, wherein answered described in being presented in the electronic device when the display unit When with prompt information, the detection unit detects whether the electronic equipment is currently being used;
When detection unit judges that electronic equipment is currently being used, described control unit controlling electronic devices is described wait hold to execute At least one in row operation, to show the content in application in the electronic device.
13. a kind of electronic equipment, including the power management device as described in any one of claim 7 to 12.
CN201410460975.2A 2014-09-11 2014-09-11 Electric quantity managing method, power management device and electronic equipment Active CN104267795B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410460975.2A CN104267795B (en) 2014-09-11 2014-09-11 Electric quantity managing method, power management device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410460975.2A CN104267795B (en) 2014-09-11 2014-09-11 Electric quantity managing method, power management device and electronic equipment

Publications (2)

Publication Number Publication Date
CN104267795A CN104267795A (en) 2015-01-07
CN104267795B true CN104267795B (en) 2019-02-05

Family

ID=52159323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410460975.2A Active CN104267795B (en) 2014-09-11 2014-09-11 Electric quantity managing method, power management device and electronic equipment

Country Status (1)

Country Link
CN (1) CN104267795B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104793930A (en) * 2015-03-16 2015-07-22 深圳市金立通信设备有限公司 Electric quantity managing method
WO2017049479A1 (en) * 2015-09-23 2017-03-30 深圳还是威健康科技有限公司 Power distribution method for smart wristband and smart wristband
KR20170039471A (en) * 2015-10-01 2017-04-11 엘지전자 주식회사 Mobile termianl and method for controlling the same
CN105867591A (en) * 2016-03-31 2016-08-17 乐视控股(北京)有限公司 Terminal control method and device
CN106997326B (en) * 2017-04-01 2021-05-04 北京小米移动软件有限公司 Control method and device of intelligent socket and computer readable storage medium
CN107133525A (en) * 2017-06-12 2017-09-05 河南职业技术学院 The data guard method and data protecting device of computer
CN109598988A (en) * 2018-12-05 2019-04-09 深圳创维数字技术有限公司 Intelligent early learning machine closedown method, device, intelligent early learning machine and readable storage medium storing program for executing
CN109788058A (en) * 2019-01-18 2019-05-21 江西科技学院 Electric quantity managing method, system, readable storage medium storing program for executing and server
CN109950948A (en) * 2019-02-25 2019-06-28 珠海格力电器股份有限公司 The method for managing power supply and device of solar energy charging type electronic equipment
CN114236461B (en) * 2021-12-17 2023-11-21 深圳市百富智能新技术有限公司 Electric quantity calibration method, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103988146A (en) * 2011-12-28 2014-08-13 松下电器产业株式会社 Drive control device, drive control method and drive control program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4808036B2 (en) * 2006-02-15 2011-11-02 富士通株式会社 Electronics
CN101695083A (en) * 2009-09-27 2010-04-14 惠州Tcl移动通信有限公司 Method for notifying user of missed call or unread short message and cellphone using same
CN101944069B (en) * 2010-07-27 2012-08-22 宇龙计算机通信科技(深圳)有限公司 Method and system for processing unread message
JP5866864B2 (en) * 2011-08-23 2016-02-24 株式会社ニコン Electronic equipment, power supply device, system and equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103988146A (en) * 2011-12-28 2014-08-13 松下电器产业株式会社 Drive control device, drive control method and drive control program

Also Published As

Publication number Publication date
CN104267795A (en) 2015-01-07

Similar Documents

Publication Publication Date Title
CN104267795B (en) Electric quantity managing method, power management device and electronic equipment
CN105653323B (en) Application management method and device
CN100389541C (en) Special battery reserve of portable electronic devices for emergency use
CN104578372B (en) The method and device of control terminal equipment charge
CN103501390B (en) Mobile terminal with reminding function and reminding realization method thereof
CN104461725A (en) Application process starting control method and device
CN110783652B (en) Battery charging method, battery charging device and storage medium
CN104951335A (en) Processing method and device for application program installation packages
CN105137831B (en) Energy-saving mode open method and device
CN105893129A (en) Processing method and device for application programs in terminal
CN106712219A (en) Charging protection method and device
CN104750597A (en) User guide method and device during low power
CN105224421B (en) Data backup method and device and electronic equipment
CN104320542A (en) Method and device for sending reminding message
CN105528055A (en) Running object processing method and device
CN108572908A (en) information feedback method and device
CN104486490A (en) Method and device for notifying battery capacity
CN105162193A (en) Charging method and charging apparatus for terminal, and terminal
CN108539804B (en) Battery charging control method, battery charging control device and electronic equipment
CN112217242A (en) Charging control method and device
CN105896677B (en) The management method and device of battery charging
JP2008072464A (en) Communication terminal device and control method thereof
CN113451669A (en) Charging method and device, electronic device and storage medium
CN104202470B (en) Terminal supplying power control method and device
CN108874107B (en) Control method and device for state of charge

Legal Events

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