CN108279765A - The method for managing power supply and mobile device of mobile device - Google Patents

The method for managing power supply and mobile device of mobile device Download PDF

Info

Publication number
CN108279765A
CN108279765A CN201710012104.8A CN201710012104A CN108279765A CN 108279765 A CN108279765 A CN 108279765A CN 201710012104 A CN201710012104 A CN 201710012104A CN 108279765 A CN108279765 A CN 108279765A
Authority
CN
China
Prior art keywords
mobile device
destination application
electricity
application
saving mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710012104.8A
Other languages
Chinese (zh)
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.)
Beijing Didi Infinity Technology and Development Co Ltd
Original Assignee
Beijing Didi Infinity Technology and Development Co 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 Beijing Didi Infinity Technology and Development Co Ltd filed Critical Beijing Didi Infinity Technology and Development Co Ltd
Priority to CN201710012104.8A priority Critical patent/CN108279765A/en
Publication of CN108279765A publication Critical patent/CN108279765A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • 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

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

The application provides a kind of method for managing power supply and mobile device of mobile device, is related to technical field of electronic equipment, and a specific implementation mode of the method includes:Determine the electricity of mobile device;When the electricity is less than or equal to default electricity, unlatching mobile device is directed to the battery saving mode of destination application;The destination application is run with the battery saving mode on the mobile device.The embodiment can be directed to destination application different in mobile device and set different battery saving modes, some functions are forbidden in more targeted limitation, make destination application can be by normal use, and can achieve the effect that power saving, extends the cruise duration of mobile device.

Description

The method for managing power supply and mobile device of mobile device
Technical field
This application involves technical field of electronic equipment, more particularly to the method for managing power supply of a kind of mobile device and movement are set It is standby.
Background technology
With the continuous development of electronic technology, mobile device is more and more applied to daily life and work In work, many facilities are brought for the live and work of people.But mobile device often will appear the case where not enough power supply, When mobile device not enough power supply, user may no condition charge in time.In order to avoid mobile device electricity exhausts institute The inconvenience brought is extended currently, user can open the system battery saving mode of mobile device by reducing the modes such as screen intensity The usage time of remaining capacity.But user has to use some application programs in the case of not enough power supply sometimes, application The use of program can accelerate the consumption of electricity.At this point, the battery saving mode of system to the power consumption of application program limitation may be it is micro- not Sufficient road, the electricity that the operation of application program still results in mobile device is depleted quickly.
Invention content
In order to solve the above-mentioned technical problem, this application provides a kind of method for managing power supply of mobile device and movement to set It is standby.
According to the embodiment of the present application in a first aspect, provide a kind of method for managing power supply of mobile device, including:
Determine the electricity of mobile device;
When the electricity is less than or equal to default electricity, unlatching mobile device is directed to the battery saving mode of destination application;
The destination application is run with the battery saving mode on the mobile device.
Optionally, the default electricity is set for the destination application.
Optionally, before the step of unlatching mobile device is directed to the battery saving mode of destination application, further include:
Electricity is preset when the electricity is less than or equal to, asks the user whether to open the battery saving mode;
If receiving the confirmation response message for the inquiry, triggering executes the unlatching mobile device and is answered for target The step of with the battery saving mode of program.
Optionally, described that the destination application is run with the battery saving mode on the mobile device, including:
Limit the network connection behavior of the destination application.
Optionally, the network connection behavior of the limitation destination application, including:
Detect the time arriving signal of the first predetermined period;
When detecting the time arriving signal of first predetermined period, the network for opening the destination application connects It connects;
Update the operation data of the destination application;
After updating the operation data, the network connection of the destination application is closed.
Optionally, described that the destination application is run with the battery saving mode on the mobile device, including:
Limit the positioning service that the destination application uses the mobile device.
Optionally, the limitation destination application uses the positioning service of the mobile device, including:
Detect the time arriving signal of the second predetermined period;
When detecting the time arriving signal of second predetermined period, activation pin determines the destination application Position service;
Update the location data of the destination application;
After updating the location data, the positioning service is closed.
Optionally, described that the destination application is run with the battery saving mode on the mobile device, including:
The application interface output in the destination application is forbidden to specify element.
Optionally, the specified element includes following one or more:Designated pictures specify animation, specific audio frequency to refer to Determine video, specifies control.
Optionally, described that the destination application is run with the battery saving mode on the mobile device, including:
Show that the application interface of the destination application, the predeterminable area are less than the screen in the predeterminable area of screen The full frame region of curtain.
According to the second aspect of the embodiment of the present application, a kind of mobile device is provided, including:
Determination unit is configured to determine that the electricity of mobile device;
Opening unit is configured as being less than or equal to default electricity when the electricity, opens mobile device and answered for target With the battery saving mode of program;
Control unit is configured as running the destination application on the mobile device with the battery saving mode.
Optionally, the default electricity is set for destination application in advance.
Optionally, described device further includes:
Inquiry unit is configured as being less than or equal to default electricity when the electricity, asks the user whether to open the province Power mode;
Trigger element is configured as when receiving the confirmation response message for the inquiry, is opened described in triggering execution Open the step of mobile device is directed to the battery saving mode of destination application.
Optionally, described control unit includes:
Networking limitation subelement, is configured as limiting the network connection behavior of the destination application.
Optionally, the networking limitation subelement is configured for:
Detect the time arriving signal of the first predetermined period;
When detecting the time arriving signal of first predetermined period, the network for opening the destination application connects It connects;
Update the operation data of the destination application;
After updating the operation data, the network connection of the destination application is closed.
Optionally, described control unit includes:
Positioning limitation subelement is configured as the positioning clothes for limiting the destination application using the mobile device Business.
Optionally, the positioning limitation subelement is configured for:
Detect the time arriving signal of the second predetermined period;
When detecting the time arriving signal of second predetermined period, activation pin determines the destination application Position service;
Update the location data of the destination application;
After updating the location data, the positioning service is closed.
Optionally, described control unit includes:
Element output control subelement is configured as forbidding the specified member of application interface output in the destination application Element.
Optionally, the specified element includes following one or more:Designated pictures specify animation, specific audio frequency to refer to Determine video, specifies control.
Optionally, described control unit includes:
Display area controls subelement, is configured as showing the application of the destination application in the predeterminable area of screen Interface, the predeterminable area are less than the full frame region of the screen.
According to the third aspect of the embodiment of the present application, a kind of computer storage media is provided, is stored in the storage medium There are the program instruction, described instruction to include:
Determine the electricity of mobile device;
When the electricity is less than or equal to default electricity, unlatching mobile device is directed to the battery saving mode of destination application;
The destination application is run with the battery saving mode on the mobile device.
The technical solution that embodiments herein provides can include the following benefits:
The method for managing power supply and mobile device for the mobile device that above-described embodiment of the application provides are moved by determining The electricity of equipment, when the electricity is less than or equal to default electricity, unlatching mobile device is directed to the battery saving mode of destination application, On the mobile apparatus with the battery saving mode operational objective application program.So as to for intended application different in mobile device The different battery saving mode of program setting, it is more targeted to limit or forbid some functions, make destination application can It by normal use, and can achieve the effect that power saving, extend the cruise duration of mobile device.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The application can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application Example, and the principle together with specification for explaining the application.
Fig. 1 is a kind of flow of the method for managing power supply of mobile device of the application shown according to an exemplary embodiment Figure;
Fig. 2 is the flow of the method for managing power supply of another mobile device of the application shown according to an exemplary embodiment Figure;
Fig. 3 is the flow of the method for managing power supply of another mobile device of the application shown according to an exemplary embodiment Figure;
Fig. 4 is a kind of device block diagram of mobile device of the application shown according to an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of consistent device and method of some aspects be described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, is not intended to be limiting the application. It is also intended to including majority in the application and "an" of singulative used in the attached claims, " described " and "the" Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from In the case of the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
As shown in Figure 1, Fig. 1 is a kind of stream of the method for managing power supply of mobile device shown according to an exemplary embodiment Cheng Tu, this method can be applied in mobile device.In the present embodiment, in order to make it easy to understand, in conjunction with third party can be installed The mobile device of application program illustrates.It will be understood by those skilled in the art that the mobile device may include but unlimited In the mobile terminal device of such as smart mobile phone, intelligent wearable equipment, tablet computer, personal digital assistant etc..This method Include the following steps:
In a step 101, the electricity of mobile device is determined.
Specifically, in a kind of realization method of the present embodiment, the output voltage values of battery can be detected, according to battery Output voltage values and battery capacity correspondence, determine the electricity of mobile device battery.It is real in the another kind of the present embodiment In existing mode, electricity can also be sent to the battery management module in the system of mobile device and obtain request, set with obtaining movement Standby information about power, so that it is determined that the electricity of mobile device battery.It is appreciated that movement can also be determined by another way The electricity of equipment, certainly, the electricity for any other determination mobile device being likely to occur as known in the art and future Method can be applied to the application, and the application is to determining that the concrete mode aspect of the electricity of mobile device does not limit.
In a step 102, when the electricity of the mobile device is less than or equal to default electricity, unlatching mobile device is directed to target The battery saving mode of application program.
In the present embodiment, destination application is any application being installed in above-mentioned mobile device, for example, can To be news client, it can also be the application program for calling vehicle service, can also be for calling carryout service Application program can also be instant communication client etc..It is appreciated that destination application can also be other application journey Sequence, the application do not limit the specific category aspect of destination application.
In the present embodiment, default electricity can be pre-set arbitrary power threshold, when the electricity of the mobile device When presetting electricity less than or equal to this, it can trigger and open the battery saving mode that mobile device is directed to destination application.This is default Electricity can be system default, can also be that user is pre-set.And it is possible to identical to different application program settings Above-mentioned default electricity, different application programs can also be arranged different above-mentioned default electricity.The value of above-mentioned default electricity Can the threshold value reminded of electricity lower than system it is slightly higher, can also be identical, for example, it is assumed that the threshold value that the low electricity of system is reminded is Full Charge Capacity 20% electricity, then the value of above-mentioned default electricity can be set as 20% electricity of Full Charge Capacity, Full Charge Capacity can also be set as 30% electricity, 35% electricity of Full Charge Capacity etc. can also be set as.It is appreciated that above-mentioned default electricity can also be set Other values are set to, the application does not limit the specific set-up mode of above-mentioned default electricity and specific value aspect.
Optionally, above-mentioned default electricity can be set for the destination application.Specifically, first, on State mobile device can export for the destination application power threshold be arranged interface, for example, when user answers for target , can be by the interface of the destination application when with program, default electricity is set, or pass through the interface that system is arranged and trigger Interface is arranged for the power threshold of the destination application in mobile device output.Then, user can pass through the power threshold Interface is set and inputs suitable electricity (electricity can be indicated with the percentage of Full Charge Capacity).In general, disappear for electricity Larger application program is consumed, larger default electricity can be set, to save more electricity for mobile device.Then, it obtains Electricity input by user is taken, which is set as the default electricity for above-mentioned destination application.
In the present embodiment, when the electricity of the mobile device is less than or equal to default electricity, activation pin answers the target With the battery saving mode of program.In general, on the one hand, different function of application is different, and when operation consumes the factor of electricity Also it differs.For example, some application programs may be bigger due to data processing amount, so causing electric quantity consumption too fast.Also A little application programs may due to need to call power consumption is larger in mobile device function module (e.g., call network communication module, Or call localization function module etc.), so causing electric quantity consumption too fast.Also some application programs may be multiple due to needing to export Miscellaneous element (such as picture element, video elementary etc.), so causing electric quantity consumption too fast.
On the other hand, demand of the different application programs to different function is also different.For example, some application programs It is necessarily required to network, also some application programs are necessarily required to positioning service etc..If blindness by network or positioning service It completely closes, then may result in some application programs cannot just be often used.Therefore, it can be set for different application programs Fixed different battery saving mode, it is more targeted to limit or forbid some functions so that application program can normally be made With, and can achieve the effect that power saving.
In step 103, the destination application is run with above-mentioned battery saving mode on the mobile apparatus.
In the present embodiment, the destination application can be run under above-mentioned battery saving mode.For example, to call vehicle clothes For the application program of business, since the application program of calling vehicle service needs to update the data by network, and need by fixed Position service acquisition location information, accordingly, it is possible to which more electricity can be consumed.But if closing network and positioning function, and meeting Cause the application program for calling vehicle service can not be by normal use.So under the battery saving mode for the application program, it can To limit the network connection behavior (section carries out primary network connection at regular intervals, to update the data) of the application program, with And limit positioning service (at regular intervals section progress one-time positioning, to obtain positioning of the application program using mobile device Information).The application interface output in the application program can also be forbidden to specify element, for example, for some less necessary controls Part button either picture (such as ad banner or head portrait etc.) etc., can forbid exporting, to reduce the consumption speed of electricity Degree.The interface display region that the application program can also be reduced shows the application circle of the application program using a part for screen Face, to reduce the depletion rate of electricity.Furthermore it is also possible in output interface, it is unnecessary but consumption electricity to remove some Function.It is appreciated that can also operational objective application program in a power-save mode by another way, the application is in power saving It is not limited in terms of the concrete mode of operational objective application program under pattern.
In another example by taking news client as an example, since news client is also required to update the data by network, and may Show some advertisements, animation, video etc., it is also possible to positioning service can be used therefore to cause to consume more electricity.But If closing network, and it can cause news client can not be by normal use.And positioning service is not necessary to news client, The normal use of news client is not interfered with.So under the battery saving mode for news client, news visitor can be limited The network connection behavior (section is once networked at regular intervals, to update the data) at family end, and news client is forbidden to make With the positioning service of mobile device.The application interface output in news client can also be forbidden to specify element, for example, advertisement is horizontal Width, picture, video, animation etc., to reduce the depletion rate of electricity.
It is appreciated that different destination applications corresponds to different battery saving modes, transported under corresponding battery saving mode Capable mode also differs, unlimited in terms of the concrete mode that the application runs destination application under corresponding battery saving mode It is fixed.
The method for managing power supply for the mobile device that above-described embodiment of the application provides, by the electricity for determining mobile device Amount, when the electricity is less than or equal to default electricity, unlatching mobile device is directed to the battery saving mode of destination application, is set in movement With the battery saving mode operational objective application program on standby.So as to be set for destination application different in mobile device Different battery saving modes, it is more targeted to limit or forbid some functions, make destination application that can normally be made With, and can achieve the effect that power saving, extend the cruise duration of mobile device.
Fig. 2 is the flow chart of the method for managing power supply of another mobile device shown according to an exemplary embodiment, should The process for asking the user whether to open battery saving mode is described in detail in embodiment, and this method can be applied in mobile device.It should Method may comprise steps of:
In step 201, the electricity of mobile device is determined.
In step 202, electricity is preset when the electricity of the mobile device is less than or equal to, asks the user whether activation pin pair The battery saving mode of the destination application.
In step 203, it if receiving the confirmation response message for the inquiry, opens mobile device and is directed to intended application The battery saving mode of program.
It in the present embodiment, can also be first defeated to user when the electricity of the mobile device is less than or equal to default electricity Go out an inquiry message, the inquiry message is for asking the user whether battery saving mode of the activation pin to the destination application.Needle Response message to the inquiry may include reject response information and confirmation response message, if receiving the refusal for the inquiry Response message then still runs the destination application in a normal way.If receiving the confirmation response letter for the inquiry Breath can then open the battery saving mode that mobile device is directed to destination application.
In step 204, the destination application is run with above-mentioned battery saving mode on the mobile apparatus.
It should be noted that for the step identical with Fig. 1 embodiments, no longer go to live in the household of one's in-laws on getting married in above-mentioned Fig. 2 embodiments It states, related content can be found in Fig. 1 embodiments.
The method for managing power supply for the mobile device that above-described embodiment of the application provides, by the electricity for determining mobile device Amount presets electricity when the electricity is less than or equal to, asks the user whether battery saving mode of the activation pin to the destination application.If The confirmation response message for the inquiry is received, the battery saving mode that mobile device is directed to destination application is opened, in movement With the battery saving mode operational objective application program in equipment.So as to be set for destination application different in mobile device Fixed different battery saving mode, it is more targeted to limit or forbid some functions, keep destination application normal It uses, and can achieve the effect that power saving, extend the cruise duration of mobile device.
Fig. 3 is the flow chart of the method for managing power supply of another mobile device shown according to an exemplary embodiment, should Embodiment is described in detail on the mobile apparatus with the process of battery saving mode operational objective application program, and this method can be applied to In mobile device.This method may comprise steps of:
In step 301, the electricity of mobile device is determined.
In step 302, when the electricity of the mobile device is less than or equal to default electricity, unlatching mobile device is directed to target The battery saving mode of application program.
In step 303, the network connection behavior of the destination application is limited.
In general, network connection behavior can lead to the quickening of electric quantity consumption, but many application programs must pass through net Network obtains data, is otherwise unable to operate normally.In the present embodiment, it (is such as exhaled if network connection behavior is destination application It is the application program etc. of vehicle service) necessary to, then it can suitably limit the network connection behavior of the destination application.Example Such as, the destination application can be allowed once to be connect with network with every predetermined period of time, to update the data.Data After update, the network connection of the destination application is closed.
Specifically, the time arriving signal that can detect the first predetermined period first is detecting the first predetermined period Time arriving signal when, open the network connection of destination application.The operation data of more new target application is updating After operation data, the network connection of the destination application is closed.Wherein, the first predetermined period is in advance for networking row It can be system default for a time cycle being arranged, can also be user setting, also, the first predetermined period Can be arbitrary rational time span, the specific set-up mode of the first predetermined period of the application couple and specific value aspect are not It limits.
In step 304, the positioning service that the destination application uses the mobile device is limited.
In the present embodiment, in general, the quickening of electric quantity consumption can be caused using the positioning service of the mobile device, But many application programs must obtain location information by the positioning service of the mobile device, otherwise be unable to operate normally.At this In embodiment, if the use of the positioning service of the mobile device being the destination application (application program as called vehicle service Deng) necessary to, then it can suitably limit the positioning service that the destination application uses the mobile device.For example, can be with every Every predetermined time period, allow the destination application using the positioning service of the primary mobile device, to update location information. After positioning information update, the positioning service of the mobile device is closed.
Specifically, the time arriving signal that can detect the second predetermined period first is detecting the second predetermined period Time arriving signal when, positioning service of the activation pin to the destination application.Update the positioning number of the destination application According to, after updating location data, positioning service of the closing for the destination application.Wherein, the second predetermined period is Can be system default in advance for a time cycle being arranged using the positioning service of the mobile device, it can also It is user setting, also, the second predetermined period can be arbitrary rational time span, the second predetermined period of the application couple It is not limited in terms of specific set-up mode and specific value.
In step 305, the application interface output in the destination application is forbidden to specify element.
In the present embodiment, which may include following one or more:Designated pictures are specified animation, are referred to Determine video, specifies control.In general, some application programs are in order to keep content more rich vivider more lively and more have attraction Power, it will usually export some complicated and abundant elements in application interface.For example, picture, animation, video, audio, control button Etc..These elements may be necessary, it is also possible to and it is non-essential, therefore, for specific destination application (as called The application program etc. of vehicle service), the application interface in the destination application can be forbidden to export some non-essential elements (specified element), to reduce the consumption of electricity to the greatest extent.
Within step 306, the application interface of the destination application is shown in the predeterminable area of screen, the predeterminable area is small In the full frame region of screen.
In the present embodiment, the usable floor area of screen is bigger, and the treating capacity of display data is bigger, may result in electricity Depletion rate increases.It therefore, can be by reducing the boundary of the destination application (application program for such as calling vehicle service) Face display area, to reduce the depletion rate of electricity.Answering for the destination application can be shown in the predeterminable area of screen With interface, which is less than the full frame region of screen.For example, the predeterminable area can be the top half region of screen, It can also be the lower half portion region of screen, can also be the middle section region of screen, it will be understood that the application is to preset areas It is not limited in terms of the specific division in domain.
It should be noted that for the step identical with Fig. 1 embodiments, no longer go to live in the household of one's in-laws on getting married in above-mentioned Fig. 3 embodiments It states, related content can be found in Fig. 1 embodiments.
For the present embodiment, a kind of specific application scenarios can be that user is directed to the calling vehicle in mobile device in advance Service application program be provided with a power threshold, the power threshold be the mobile device Full Charge Capacity 30% electricity. User uses the application program of calling vehicle service in the mobile device to call vehicle service, when the remaining capacity of the mobile device For Full Charge Capacity 30% when, can to user export an inquiry message, ask the user whether activation pin to the application program Battery saving mode.It, can be with activation pin to the battery saving mode of the application program if receiving the confirmation response of user.For example, can With section at regular intervals, the application program is set to carry out primary network connection, to update the data.After data update, close The network connection of the application program.Can also section at regular intervals, so that the application program is serviced using one-time positioning, with update Location information.After positioning information update, positioning service is closed.It can also remove using output interface in the application program Some are unnecessary but consume the function etc. of electricity.
The present embodiment is not limited to above-mentioned application scenarios, is also applied in other scenes.The above-mentioned reality of the application The method for managing power supply for applying the mobile device of example offer, determines the electricity of mobile device end, when the electricity is less than or equal to default Electricity opens the battery saving mode that mobile device is directed to destination application, by the network connection for limiting the destination application Behavior limits the positioning service that the destination application uses the mobile device, forbids applying boundary in the destination application Element is specified in face output, or shows the application interface of the destination application in the predeterminable area of screen, to more targetedly Limitation or forbid some functions, make destination application can be by normal use, and can achieve the effect that power saving, have Help extend the cruise duration of mobile device.
It should be noted that although describing the operation of the application method with particular order in the accompanying drawings, this is not required that Or imply and must execute these operations according to the particular order, it could the realization phase or have to carry out operation shown in whole The result of prestige.On the contrary, the step of describing in flow chart, which can change, executes sequence.Additionally or alternatively, it is convenient to omit certain Multiple steps are merged into a step and executed, and/or a step is decomposed into execution of multiple steps by step.
Corresponding with the method for managing power supply embodiment of aforementioned mobile device, present invention also provides the implementations of mobile device Example.
As shown in figure 4, Fig. 4 is a kind of block diagram of mobile device of the application shown according to an exemplary embodiment, the dress Set including:Determination unit 401, opening unit 402 and control unit 403.
Wherein it is determined that unit 401, is configured to determine that the electricity of mobile device.
Opening unit 402 is configured as being less than or equal to default electricity when the electricity of the mobile device, opens mobile device For the battery saving mode of destination application.
Control unit 403 is configured as on the mobile device to run the destination application under above-mentioned battery saving mode.
In some optional embodiments, above-mentioned default electricity is set for the destination application.
In other optional embodiments, which can also include:(Fig. 4 does not show for inquiry unit and trigger element Go out).
Wherein, inquiry unit is configured as being less than or equal to default electricity when the electricity of the mobile device, and inquiry user is It is no to open above-mentioned battery saving mode.
Trigger element is configured as when receiving the confirmation response message for above-mentioned inquiry, and triggering is executed to open and be moved The step of dynamic equipment is directed to the battery saving mode of destination application.
In other optional embodiments, control unit 403 may include:Networking limitation subelement (Fig. 4 is not shown).
Wherein, networking limitation subelement, is configured as limiting the network connection behavior of the destination application.
In other optional embodiments, networking limitation subelement is configured for:Detect the first predetermined period when Between arriving signal open the network connection of destination application, more in the time arriving signal for detecting the first predetermined period The operation data of new target application closes the network connection of destination application after updating the operation data.
In other optional embodiments, control unit 403 may include:Positioning limitation subelement (Fig. 4 is not shown).
Wherein, positioning limitation subelement is configured as the positioning service that limited target application program uses mobile device.
In other optional embodiments, positioning limitation subelement is configured for:Detect the second predetermined period when Between arriving signal, in the time arriving signal for detecting the second predetermined period, activation pin takes the positioning of destination application Business, the location data of more new target application close the positioning service after updating location data.
In other optional embodiments, control unit 403 may include:(Fig. 4 does not show element output control subelement Go out).
Wherein, element output control subelement is configured as forbidding the application interface output in destination application specified Element.
In other optional embodiments, specified element may include following one or more:Designated pictures are specified Animation, specific audio frequency, designated specify control.
In other optional embodiments, control unit 403 may include:Display area controls subelement, and (Fig. 4 does not show Go out).
Wherein, display area controls subelement, is configured as answering in the predeterminable area display target application program of screen With interface, which is less than the full frame region of screen.
For device embodiments, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component The unit of explanation may or may not be physically separated, and the component shown as unit can be or can also It is not physical unit, you can be located at a place, or may be distributed over multiple network units.It can be according to actual It needs that some or all of module therein is selected to realize the purpose of application scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
It should be appreciated that above-mentioned apparatus can be pre-set in a mobile device, can also be loaded by modes such as downloads Into mobile device.Corresponding units in above-mentioned apparatus can cooperate with the unit in mobile device to realize mobile device Power management scheme.
The embodiment of the present application can be used in one or more wherein include program code storage medium it is (including but unlimited In magnetic disk storage, CD-ROM, optical memory etc.) on the form of computer program product implemented.
Correspondingly, the embodiment of the present application also provides a kind of computer storage media, have program stored therein finger in the storage medium It enables, which includes:
Determine the electricity of mobile device;
When the electricity is less than or equal to default electricity, unlatching mobile device is directed to the battery saving mode of destination application;
The destination application is run with the battery saving mode on the mobile device.
Being described in unit module involved in the embodiment of the present application can be realized by way of software, can also be led to The mode of hardware is crossed to realize.Described unit module can also be arranged in the processor, for example, can be described as:It is a kind of Processor includes detection unit, opening unit and control unit.Wherein, the title of these unit modules is under certain conditions simultaneously The restriction to the unit module itself is not constituted, for example, control unit is also described as " for running in a power-save mode The unit of destination application ".
As on the other hand, present invention also provides a kind of computer readable storage medium, the computer-readable storage mediums Matter can be computer readable storage medium included in device described in above-described embodiment;Can also be individualism, not The computer readable storage medium being fitted into terminal or server.The computer-readable recording medium storage there are one or one A procedure above, the program are used for executing the side for being described in the saving electricity of the application by one or more than one processor Method.
Computer-usable storage medium includes permanent and non-permanent, removable and non-removable media, can be by appointing What method or technique realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other Data.The example of the storage medium of computer includes but not limited to:Phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), fast flash memory bank or other memory techniques, CD-ROM are read-only Memory (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or Other magnetic storage apparatus or any other non-transmission medium can be used for storage and can be accessed by a computing device information.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the application Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or Person's adaptive change follows the general principle of the application and includes the undocumented common knowledge in the art of the application Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following Claim is pointed out.
It should be understood that the application is not limited to the precision architecture for being described above and being shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims.

Claims (21)

1. a kind of method for managing power supply of mobile device, which is characterized in that the method includes:
Determine the electricity of mobile device;
When the electricity is less than or equal to default electricity, unlatching mobile device is directed to the battery saving mode of destination application;
The destination application is run with the battery saving mode on the mobile device.
2. according to the method described in claim 1, it is characterized in that, the default electricity be for the destination application and Setting.
3. according to the method described in claim 1, it is characterized in that, in the unlatching mobile device for destination application Before the step of battery saving mode, further include:
Electricity is preset when the electricity is less than or equal to, asks the user whether to open the battery saving mode;
If receiving the confirmation response message for the inquiry, triggering executes the unlatching mobile device and is directed to intended application journey The step of battery saving mode of sequence.
4. according to the method described in claim 1, it is characterized in that, described transported with the battery saving mode on the mobile device The row destination application, including:
Limit the network connection behavior of the destination application.
5. according to the method described in claim 4, it is characterized in that, the network connection row of the limitation destination application For, including:
Detect the time arriving signal of the first predetermined period;
When detecting the time arriving signal of first predetermined period, the network connection of the destination application is opened;
Update the operation data of the destination application;
After updating the operation data, the network connection of the destination application is closed.
6. according to the method described in claim 1, it is characterized in that, described transported with the battery saving mode on the mobile device The row destination application, including:
Limit the positioning service that the destination application uses the mobile device.
7. according to the method described in claim 6, it is characterized in that, the limitation destination application uses the movement The positioning service of equipment, including:
Detect the time arriving signal of the second predetermined period;
When detecting the time arriving signal of second predetermined period, activation pin takes the positioning of the destination application Business;
Update the location data of the destination application;
After updating the location data, the positioning service is closed.
8. according to the method described in claim 1, it is characterized in that, described transported with the battery saving mode on the mobile device The row destination application, including:
The application interface output in the destination application is forbidden to specify element.
9. according to the method described in claim 8, it is characterized in that, the specified element includes following one or more:Refer to Determine picture, animation, specific audio frequency, designated is specified to specify control.
10. according to the method described in claim 1, it is characterized in that, described on the mobile device with the battery saving mode The destination application is run, including:
Show that the application interface of the destination application, the predeterminable area are less than the screen in the predeterminable area of screen Full frame region.
11. a kind of mobile device, which is characterized in that the mobile device includes:
Determination unit is configured to determine that the electricity of mobile device;
Opening unit is configured as being less than or equal to default electricity when the electricity, opens mobile device and be directed to intended application journey The battery saving mode of sequence;
Control unit is configured as running the destination application on the mobile device with the battery saving mode.
12. according to the devices described in claim 11, which is characterized in that the default electricity is for the destination application And set.
13. according to the devices described in claim 11, which is characterized in that described device further includes:
Inquiry unit is configured as being less than or equal to default electricity when the electricity, asks the user whether to open the power saving mould Formula;
Trigger element is configured as when receiving the confirmation response message for the inquiry, and triggering executes the unlatching and moves The step of dynamic equipment is directed to the battery saving mode of destination application.
14. according to the devices described in claim 11, which is characterized in that described control unit includes:
Networking limitation subelement, is configured as limiting the network connection behavior of the destination application.
15. device according to claim 14, which is characterized in that the networking limitation subelement is configured for:
Detect the time arriving signal of the first predetermined period;
When detecting the time arriving signal of first predetermined period, the network connection of the destination application is opened;
Update the operation data of the destination application;
After updating the operation data, the network connection of the destination application is closed.
16. according to the devices described in claim 11, which is characterized in that described control unit includes:
Positioning limitation subelement is configured as limiting the positioning service that the destination application uses the mobile device.
17. device according to claim 16, which is characterized in that the positioning limitation subelement is configured for:
Detect the time arriving signal of the second predetermined period;
When detecting the time arriving signal of second predetermined period, activation pin takes the positioning of the destination application Business;
Update the location data of the destination application;
After updating the location data, the positioning service is closed.
18. according to the devices described in claim 11, which is characterized in that described control unit includes:
Element output control subelement is configured as that the application interface output in the destination application is forbidden to specify element.
19. device according to claim 18, which is characterized in that the specified element includes following one or more: Designated pictures specify animation, specific audio frequency, designated to specify control.
20. according to the devices described in claim 11, which is characterized in that described control unit includes:
Display area controls subelement, is configured as showing the application circle of the destination application in the predeterminable area of screen Face, the predeterminable area are less than the full frame region of the screen.
21. a kind of computer storage media, have program stored therein instruction in the storage medium, which is characterized in that described instruction packet It includes:
Determine the electricity of mobile device;
When the electricity is less than or equal to default electricity, unlatching mobile device is directed to the battery saving mode of destination application;
The destination application is run with the battery saving mode on the mobile device.
CN201710012104.8A 2017-01-06 2017-01-06 The method for managing power supply and mobile device of mobile device Pending CN108279765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710012104.8A CN108279765A (en) 2017-01-06 2017-01-06 The method for managing power supply and mobile device of mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710012104.8A CN108279765A (en) 2017-01-06 2017-01-06 The method for managing power supply and mobile device of mobile device

Publications (1)

Publication Number Publication Date
CN108279765A true CN108279765A (en) 2018-07-13

Family

ID=62801033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710012104.8A Pending CN108279765A (en) 2017-01-06 2017-01-06 The method for managing power supply and mobile device of mobile device

Country Status (1)

Country Link
CN (1) CN108279765A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109803358A (en) * 2018-12-13 2019-05-24 平安普惠企业管理有限公司 Mobile terminal electric quantity controlling method, device, computer equipment and storage medium
CN110083220A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 A kind of power-saving processing method and wearable device
CN110083217A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 A kind of control method for screen display, wearable device and storage medium
WO2020014984A1 (en) * 2018-07-20 2020-01-23 华为技术有限公司 Application program control method and electronic device
CN111240455A (en) * 2020-01-03 2020-06-05 北京小米移动软件有限公司 Terminal power saving method, terminal power saving device and storage medium
CN111459258A (en) * 2020-03-30 2020-07-28 北京奇艺世纪科技有限公司 Power consumption management method and device, electronic equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103068016A (en) * 2012-12-18 2013-04-24 华为终端有限公司 Mobile terminal and method thereof to reduce power dissipation
CN104166453A (en) * 2014-08-15 2014-11-26 百度在线网络技术(北京)有限公司 Method and device for reducing power consumption of mobile terminal
CN104298547A (en) * 2014-09-26 2015-01-21 小米科技有限责任公司 Terminal setting method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103068016A (en) * 2012-12-18 2013-04-24 华为终端有限公司 Mobile terminal and method thereof to reduce power dissipation
CN104166453A (en) * 2014-08-15 2014-11-26 百度在线网络技术(北京)有限公司 Method and device for reducing power consumption of mobile terminal
CN104298547A (en) * 2014-09-26 2015-01-21 小米科技有限责任公司 Terminal setting method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020014984A1 (en) * 2018-07-20 2020-01-23 华为技术有限公司 Application program control method and electronic device
CN112424725A (en) * 2018-07-20 2021-02-26 华为技术有限公司 Application program control method and electronic equipment
CN109803358A (en) * 2018-12-13 2019-05-24 平安普惠企业管理有限公司 Mobile terminal electric quantity controlling method, device, computer equipment and storage medium
CN110083220A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 A kind of power-saving processing method and wearable device
CN110083217A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 A kind of control method for screen display, wearable device and storage medium
CN111240455A (en) * 2020-01-03 2020-06-05 北京小米移动软件有限公司 Terminal power saving method, terminal power saving device and storage medium
CN111459258A (en) * 2020-03-30 2020-07-28 北京奇艺世纪科技有限公司 Power consumption management method and device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN108279765A (en) The method for managing power supply and mobile device of mobile device
CN110633151B (en) Method, device and storage medium for balancing distributed message issuing cluster partitions
CN104144110B (en) The method and system of PUSH message
CN105955766A (en) Method and device for application preloading
CN104811930B (en) A kind of method for controlling network flow and system of mobile terminal
CN103389900B (en) A kind of control method and device that Android device camera uses
CN107748685A (en) Application program launching control method, device, terminal device and storage medium
KR20160125393A (en) Incentive-based app execution
CN105591440B (en) Mobile terminal charging control device and method
CN107844342A (en) Management-control method, device and the storage medium and mobile terminal of application program keep-alive
CN104375851B (en) A kind of power-economizing method and intelligent terminal of intelligent terminal
CN105955441A (en) Method and device for application management
CN108287647B (en) Application running method and device
CN110868693A (en) Application program flow control method, terminal device and storage medium
CN106648730A (en) Processing method and device of abnormal application
CN105281965B (en) Traffic acquisition method and device based on IOS (input/output system)
CN109410849A (en) Refresh control method, device and storage medium
CN105867577A (en) Terminal awakening method and terminal
CN107247539A (en) A kind of information displaying method and device, computer installation and readable storage medium storing program for executing
CN107908953A (en) Notifications service control method, device, terminal device and storage medium
CN108762465A (en) Frame per second self-adapting regulation method, device, storage medium and intelligent terminal
CN109240556A (en) The method, apparatus and electronic equipment on customized SOT state of termination column
CN110928600A (en) Cleaning method and device for terminal background application, mobile terminal and electronic equipment
CN108694035A (en) The report management method and device of voice messaging
CN111384753B (en) State machine-based charge control strategy design method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180713

RJ01 Rejection of invention patent application after publication