CN107302789A - A kind of method and system for improving Android device battery durable ability - Google Patents

A kind of method and system for improving Android device battery durable ability Download PDF

Info

Publication number
CN107302789A
CN107302789A CN201710476964.7A CN201710476964A CN107302789A CN 107302789 A CN107302789 A CN 107302789A CN 201710476964 A CN201710476964 A CN 201710476964A CN 107302789 A CN107302789 A CN 107302789A
Authority
CN
China
Prior art keywords
application
android device
backstage
turned
lock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710476964.7A
Other languages
Chinese (zh)
Other versions
CN107302789B (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.)
Shanghai Ji He Agel Ecommerce Ltd
Original Assignee
Shanghai Ji He Agel Ecommerce 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 Shanghai Ji He Agel Ecommerce Ltd filed Critical Shanghai Ji He Agel Ecommerce Ltd
Priority to CN201710476964.7A priority Critical patent/CN107302789B/en
Publication of CN107302789A publication Critical patent/CN107302789A/en
Application granted granted Critical
Publication of CN107302789B publication Critical patent/CN107302789B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0264Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
    • 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/3215Monitoring of peripheral devices
    • G06F1/3218Monitoring of peripheral devices of display devices
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • H04W52/027Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)
  • Power Sources (AREA)

Abstract

The present invention provides a kind of method and system for improving Android device battery durable ability, and this method includes:The screen state of Android device is monitored, judges whether Android device switches to screen state of going out by bright screen state;When Android device, which switches to screen state of going out, reaches the first preset time, lock wakelock is waken up to the application application for being unsatisfactory for preset requirement and shielded;Whether the wake-up lock wakelock that traversal applications are held, judge the time for waking up lock wakelock using holding more than the second preset time, if so, the held wake-up lock wakelock of corresponding application is then discharged, to allow system to enter park mode.The present invention can enable the operating system of Android device timely enter park mode, to reduce the power consumption of Android device, improve the endurance of Android device.

Description

A kind of method and system for improving Android device battery durable ability
Technical field
The present invention relates to Android device technical field, more particularly to a kind of method for improving Android device battery durable ability And system.
Background technology
Present smart mobile phone is generally popular, and most smart mobile phone all uses the operating system of Android.In Android In system, the third-party application installed in Google's service and Android system may continually wake up system, and sometimes System is pinned for a long time, is prevented system from rapidly entering park mode, is caused system power consumption serious, be additionally, since smart mobile phone Package size very little, therefore battery capacity is also smaller, causes battery durable ability poor.
For the use time saved Android system power consumption, extend battery, it would be desirable to carry out power saving to Android system excellent Change, and the original power saving strategy of Android system (Doze and App standby patterns) needs to enter mobile phone after screen closing Row motion monitoring, if mobile phone is for a long time without Large Amplitude Motion, can just enter Doze patterns, carry out power-save operation, cause into The electrically optimized condition of province is harsher, therefore is accomplished by designing a kind of power saving optimisation strategy of new simple and flexible.
The content of the invention
In order to solve the above technical problems, the present invention provides a kind of method for improving Android device battery durable ability and is System, be capable of simple and flexible saves electrically optimized to Android system progress so that the Android device such as mobile phone does not have the feelings of Large Amplitude Motion It under shape, also can reasonably quickly enter park mode, reduce the power consumption of Android device, improve the endurance of Android device.
A kind of method for raising Android device battery durable ability that the present invention is provided, comprises the steps:
The screen state of Android device is monitored, judges whether Android device switches to screen state of going out by bright screen state;
When Android device, which switches to screen state of going out, reaches the first preset time, the application for being unsatisfactory for preset requirement is applied Lock wakelock is waken up to be shielded;
The wake-up lock wakelock that traversal applications are held, judges whether the time for waking up lock wakelock using holding surpasses The second preset time is crossed, if so, then discharge corresponding the held wake-up lock wakelock of application, to allow the operation of Android device System enters park mode.
Preferably, also comprise the steps:
The white list selection instruction inputted according to user, sets corresponding white list application;
The described pair of application application wake-up lock wakelock progress shielding for being unsatisfactory for preset requirement comprises the steps:
Judge that the application that backstage has been turned on is third-party application or system application;
When the application having been turned on when the backstage is third-party application, then continue to judge application that the backstage has been turned on whether be White list application, if the application that the backstage has been turned on is white list application, allows the application application that the backstage has been turned on to wake up Lock wakelock;
When the application that the backstage has been turned on is applied for system, then the application application wake-up lock that the backstage has been turned on is counted Wakelock frequency, exceedes default frequency, then when what the backstage had been turned on using the frequency for applying waking up lock wakelock Its continuation application is forbidden to wake up lock wakelock.
Preferably, also comprise the steps:
The application in Android device is monitored, when the application in Android device receives message, the behaviour of Android device is waken up Make system.
Preferably, also comprise the steps:
The 3rd preset time is reached when Android device switches to screen state of going out, then removes the application that backstage has been turned on, and prohibit The background application self-starting only removed.
Preferably, the application that the removing backstage has been turned on comprises the steps:
Obtain the application that backstage has been turned on;
Judge application that backstage has been turned on whether be:White list application, system application, the application for carrying out audio-visual broadcasting In one kind, if it is not, being then purged to the application that the backstage has been turned on.
The present invention also provides a kind of system for improving Android device battery durable ability, including:
Screen state monitors module, and whether the screen state for monitoring Android device judges Android device by bright screen shape State switches to screen state of going out;
Lock shroud module is waken up, for when Android device switches to screen state of going out and reaches the first preset time, to discontented The application application of sufficient preset requirement wakes up lock wakelock and shielded;
Lock release module is waken up, wakelock is locked for the wake-up that traversal applications are held, judges that wake-up lock is held in application Whether wakelock time is more than the second preset time, if so, then discharging the held wake-up lock of corresponding application Wakelock, to allow the operating system of Android device to enter park mode.
Preferably, in addition to:
White list setup module, for the white list selection instruction inputted according to user, sets corresponding white list application;
The lock shroud module that wakes up includes:
Applicating category judging unit, for judging that the application that backstage has been turned on is third-party application or system application;
Third-party application screen unit, when the application for having been turned on when the backstage is third-party application, then continues to judge Whether the application that the backstage has been turned on is white list application, if the application that the backstage has been turned on is white list application, allows this The application application that backstage has been turned on wakes up lock wakelock;
System application screen unit, when being applied for deserving the application that backstage has been turned on for system, has then counted the backstage The application application of startup wakes up lock wakelock frequency, when the application application that the backstage has been turned on wakes up lock wakelock frequency Rate exceedes default frequency, then forbids its continuation application to wake up lock wakelock.
Preferably, in addition to:
Control module is waken up, for monitoring the application in Android device, when the application in Android device receives message, Wake up the operating system of Android device.
Preferably, in addition to:
Background application removes module, for reaching the 3rd preset time when Android device switches to screen state of going out, then removes The application that backstage has been turned on, and forbid the background application self-starting removed.
Preferably, the background application is removed module and included:
Background application acquiring unit, for obtaining the application that backstage has been turned on;
Using clearing cell, for judge application that backstage has been turned on whether be:White list application, system are applied, One kind in the application of audio-visual broadcasting is carried out, if it is not, being then purged to the application that the backstage has been turned on.
Implement the present invention, have the advantages that:Reach that first presets by the default time in the screen that goes out by equipment During the time, the application application that shielding is unsatisfactory for preset requirement wakes up lock wakelock, can reduce the application Shen in Android device Lock wakelock number of times and frequency please be wake up, and discharges the wake-up lock wakelock held for a long time in time, Android is set Standby operating system can timely enter park mode, increase the dormancy time of operating system, to reduce the consumption of Android device Electricity, improves the endurance of Android device.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram for the raising Android device battery durable ability that the present invention is provided.
Fig. 2 is the flow chart of another embodiment of the method for the raising Android device battery durable ability that the present invention is provided.
Fig. 3 is the theory diagram of the system for the raising Android device battery durable ability that the present invention is provided.
Embodiment
The present invention provides a kind of method for improving Android device battery durable ability, as shown in figure 1, this method is including following Step:
S100, the screen state for monitoring Android device, judge whether Android device switches to screen state of going out by bright screen state.
S200, when Android device switches to screen state of going out and reaches the first preset time, answer being unsatisfactory for preset requirement Lock wakelock is waken up with application to be shielded.
The wake-up lock wakelock that S300, traversal applications are held, judges that the time for waking up lock wakelock is held in application Whether more than the second preset time, if so, then discharge corresponding the held wake-up lock wakelock of application, to allow Android device Operating system enter park mode.
For example, if application held the time for waking up lock wakelock more than 20 seconds, then discharging what the application was held Lock wakelock is waken up, to prevent the application from holding wake-up lock wakelock for a long time, causes system to enter park mode.
It should be noted that in other examples, step S200 and S300 can exchange execution sequence.
Preferably, before the wake-up lock wakelock held in traversal applications, it can be determined that apply corresponding bag name It whether there is, if it does not exist, then operation below is not performed, if it is present continuing executing with operation below.Then, look into Ask whether power saving strategy is opened, and inquire about the state of current screen, if in bright screen state, and saving electrical measurement and closing, then without The wake-up lock wakelock held in traversal applications below operation need to be performed.
Preferably, before step S100, judge whether power saving strategy is opened, can be after if power saving strategy is opened Continuous to perform step S100, if power saving strategy is not turned on, pause performs step S100.
Here, self-starting is applied in limitation, is also both by the activity components of limitation application and opening for service components Move to realize.
Above-mentioned Android device can be equipped with the mobile phone of Android system, or the tablet personal computer equipped with Android system, can With the system version of compatible Android 2.2 and the above.
Further, the method for improving Android device battery durable ability also comprises the steps:
The white list selection instruction inputted according to user, sets corresponding white list application.
The above-mentioned application application wake-up lock wakelock progress shieldings to being unsatisfactory for preset requirement comprise the steps:
Judge that the application that backstage has been turned on is third-party application or system application;
When the application having been turned on when the backstage is third-party application, then continue to judge application that the backstage has been turned on whether be White list application, if the application that the backstage has been turned on is white list application, allows the application application that the backstage has been turned on to wake up Lock wakelock;
When the application that the backstage has been turned on is applied for system, then the application application wake-up lock that the backstage has been turned on is counted Wakelock frequency, exceedes default frequency, then when what the backstage had been turned on using the frequency for applying waking up lock wakelock Its continuation application is forbidden to wake up lock wakelock.
Above-mentioned system applies the application that the operating system for Android device is carried, for example:Call, send short messages should With.
Wherein, white list application is not by the management and control of power saving strategy of the invention, for example, after Android device goes out screen, thinking Wechat is wanted to can continue to receive message, it is necessary to which wechat is set into white list application, now, wechat application wakes up lock Wakelock can be then allowed to.
When the application that backstage has been turned on is system application, then the application application wake-up lock that the backstage has been turned on is counted Wakelock frequency, exceedes default frequency, then when what the backstage had been turned on using the frequency for applying waking up lock wakelock Its continuation application is forbidden to wake up lock wakelock.
For example, the default frequency can be per hour 5 times by application wake up lock wakelock frequencies it is higher be System application is shielded, and to allow system to be rapidly introduced into park mode, is increased the dormancy time of system, is reduced the consumption of system Electricity.
Further, the method for improving Android device battery durable ability also comprises the steps:
The application in Android device is monitored, when the application in Android device receives message, the behaviour of Android device is waken up Make system.
The method for improving Android device battery durable ability also comprises the steps:
The 3rd preset time is reached when Android device switches to screen state of going out, then removes the application that backstage has been turned on, and prohibit The background application self-starting only removed;For example, can go out screen 10 seconds after remove running background application.
Further, the application that removing backstage has been turned on comprises the steps:
Obtain the application that backstage has been turned on;
Judge application that backstage has been turned on whether be:White list application, system application, the application for carrying out audio-visual broadcasting In one kind, if it is not, being then purged to the application that the backstage has been turned on.
Preferably, after the application that platform has been turned on after the acquisition, in addition to step:Judge whether power saving strategy is opened, such as Fruit power saving strategy is opened, then can continue executing with operation below, if power saving strategy is not turned on, and pause has removed backstage The application of startup.
Preferably, forbid comprising the steps using self-starting:
Obtain the corresponding intent of the application to be started;
Whether be empty (be null), if so, not doing the operation of No starting to corresponding application then if judging the intent;
Judge whether power saving strategy is opened, and inquire about the state of current screen, if in bright screen state, and power saving strategy Close, then the operation of No starting is not done to corresponding application;
Judge whether the bag name corresponding to the intent is the bag name of system application, if it is, not applied to corresponding Do the operation of No starting;
Judge whether the bag name corresponding to the intent is the bag name of white list application, if it is, not answering corresponding It is used as the operation of No starting, if so, the intent is then intercepted, to prevent using startup.
Present invention also offers another embodiment for the method for improving Android device battery durable ability, as shown in Fig. 2 bag Include following step:
S1:First, Android device is in the state of bright screen (Screen On), and Android device can be Android mobile phone.Its In, in the state of bright screen, background application can be cleared up in the setting of mobile phone, white list application can also be centered setting.
S2:User clicks the Power keys (i.e. power key) of Android mobile phone, listens to user and presses after Power keys, performs S3:Control Android mobile phone is gone out screen, in the state of mobile phone goes out screen, listens to that Power keys are pressed or mobile phone is plugged charging Device, then light the screen of mobile phone.
S4:Monitor whether Android mobile phone enters death of monks or nuns screen state (Screen Off) from bright screen state (Screen On), if It is to perform step S5, if it is not, performing step S6.
S5:Background application is removed, the application removed is not white list application, nor system application, nor Play the application of music.
S6:Prevent application application from waking up lock wakelock, forbid applying self-starting.
S7:The held wake-up lock wakelock of release application.
S8:System enters resting state, presses Power keys when listening to user or plugs charger, then lights mobile phone Screen.
S9:Android mobile phone is not in the state of screen is lighted, because the application on mobile phone receives message, for example:Wechat is received Short message or alarm clock work etc. are either received to message by system wake-up.
The present invention also provides a kind of system for improving Android device battery durable ability, as shown in figure 3, the system includes:
Screen state monitors module 10, and whether the screen state for monitoring Android device judges Android device by bright screen State switches to screen state of going out;
Lock shroud module 20 is waken up, for when Android device switches to screen state of going out and reaches the first preset time, to not The application application wake-up lock wakelock for meeting preset requirement is shielded;
Lock release module 30 is waken up, wakelock is locked for the wake-up that traversal applications are held, judges that wake-up is held in application Whether wakelock time is locked more than the second preset time, if so, then discharging the held wake-up lock of corresponding application Wakelock, to allow the operating system of Android device to enter park mode.
Further, improving the system of Android device battery durable ability also includes:White list setup module 40.White list Setup module 40 is used for the white list selection instruction inputted according to user, sets corresponding white list application.
Waking up lock shroud module 20 includes:Applicating category judging unit 21, third-party application screen unit 22, system application Screen unit 23.
Applicating category judging unit 21 is used to judge that the application that backstage has been turned on is third-party application or system application.
When third-party application screen unit 22 is third-party application for the application having been turned on when the backstage, then continue to judge Whether the application that the backstage has been turned on is white list application, if the application that the backstage has been turned on is white list application, allows this The application application that backstage has been turned on wakes up lock wakelock.
System application screen unit 23 is used for when the application that the backstage has been turned on is applied for system, then has counted the backstage The application application of startup wakes up lock wakelock frequency, when the application application that the backstage has been turned on wakes up lock wakelock frequency Rate exceedes default frequency, then forbids its continuation application to wake up lock wakelock.
Further, improving the system of Android device battery durable ability also includes:Wake up control module 50.Wake up control Module 50 is used to monitor the application in Android device, when the application in Android device receives message, wakes up Android device Operating system.
Further, improving the system of Android device battery durable ability also includes:
Background application removes module 60, for reaching the 3rd preset time when Android device switches to screen state of going out, then clearly Except the application that backstage has been turned on, and forbid the background application self-starting removed;
Further, background application is removed module 60 and included:
Background application acquiring unit 61, for obtaining the application that backstage has been turned on;
Using clearing cell 62, for judge application that backstage has been turned on whether be:White list application, system are applied, just One kind in the application for carrying out audio-visual broadcasting, if it is not, being then purged to the application that the backstage has been turned on;
Tactful judging unit, for judging whether power saving strategy is opened, if power saving strategy is opened, control application is removed Unit 62 works on.
In summary, the method and system of the present invention for improving Android device battery durable ability, are existed by equipment When the screen that goes out reaches the first preset time by the default time, the non-white list application application in shielding third-party application wakes up lock Wakelock, and application wake up lock wakelock system of the frequency more than default frequency, to being unsatisfactory for preset requirement Lock wakelock is waken up using application to be shielded, for example:Non- white list application application in third-party application wakes up lock Wakelock, and application wake up lock wakelock system of the frequency more than default frequency, can reduce in Android device Application application wake up lock wakelock number of times and frequency, and discharge in time for a long time hold wake-up lock wakelock, The operating system of Android device is timely entered park mode, increase the dormancy time of system, to reduce Android device Power consumption, improve Android device endurance.
Further, screen state of going out can also be switched in Android device and reaches the default time, then removed backstage and opened Dynamic application, and forbid the background application self-starting removed, the program of running background is reduced, to reach reduction Android device Power consumption, improves the endurance of Android device.
Above content is to combine specific preferred embodiment further description made for the present invention, it is impossible to assert The specific implementation of the present invention is confined to these explanations.For general technical staff of the technical field of the invention, On the premise of not departing from present inventive concept, some simple deduction or replace can also be made, should all be considered as belonging to the present invention's Protection domain.

Claims (10)

1. a kind of method for improving Android device battery durable ability, it is characterised in that comprise the steps:
The screen state of Android device is monitored, judges whether Android device switches to screen state of going out by bright screen state;
When Android device, which switches to screen state of going out, reaches the first preset time, the application application for being unsatisfactory for preset requirement is waken up Lock wakelock is shielded;
Wake-up that traversal applications are held lock wakelock, judges whether to wake up the time for locking wakelock more than the using holding Two preset times, if so, then discharge corresponding the held wake-up lock wakelock of application, to allow the operating system of Android device Into park mode.
2. the method according to claim 1 for improving Android device battery durable ability, it is characterised in that also including following Step:
The white list selection instruction inputted according to user, sets corresponding white list application;
The described pair of application application wake-up lock wakelock progress shielding for being unsatisfactory for preset requirement comprises the steps:
Judge that the application that backstage has been turned on is third-party application or system application;
When the application that the backstage has been turned on is third-party application, then continue to judge whether the application that the backstage has been turned on is white name Single application, if the application that the backstage has been turned on is white list application, allows the application application that the backstage has been turned on to wake up lock wakelock;
When the application that the backstage has been turned on is applied for system, then the application application wake-up lock that the backstage has been turned on is counted Wakelock frequency, exceedes default frequency, then when what the backstage had been turned on using the frequency for applying waking up lock wakelock Its continuation application is forbidden to wake up lock wakelock.
3. the method according to claim 1 for improving Android device battery durable ability, it is characterised in that also including following Step:
The application in Android device is monitored, when the application in Android device receives message, the operation system of Android device is waken up System.
4. the method according to claim 2 for improving Android device battery durable ability, it is characterised in that also including following Step:
The 3rd preset time is reached when Android device switches to screen state of going out, then removes the application that backstage has been turned on, and forbid The background application self-starting of removing.
5. the method according to claim 4 for improving Android device battery durable ability, it is characterised in that after the removing The application that platform has been turned on comprises the steps:
Obtain the application that backstage has been turned on;
Judge application that backstage has been turned on whether be:White list application, system application, carrying out in the application of audio-visual broadcasting One kind, if it is not, being then purged to the application that the backstage has been turned on.
6. a kind of system for improving Android device battery durable ability, it is characterised in that including:
Screen state monitors module (10), and whether the screen state for monitoring Android device judges Android device by bright screen shape State switches to screen state of going out;
Lock shroud module (20) is waken up, for when Android device switches to screen state of going out and reaches the first preset time, to discontented The application application of sufficient preset requirement wakes up lock wakelock and shielded;
Lock release module (30) is waken up, wakelock is locked for the wake-up that traversal applications are held, judges that wake-up lock is held in application Whether wakelock time is more than the second preset time, if so, then discharging the held wake-up lock of corresponding application Wakelock, to allow the operating system of Android device to enter park mode.
7. the system according to claim 6 for improving Android device battery durable ability, it is characterised in that also include:
White list setup module (40), for the white list selection instruction inputted according to user, sets corresponding white list application;
The lock shroud module (20) that wakes up includes:
Applicating category judging unit (21), for judging that the application that backstage has been turned on is third-party application or system application;
Third-party application screen unit (22), when the application for having been turned on when the backstage is third-party application, then continues to judge Whether the application that the backstage has been turned on is white list application, if the application that the backstage has been turned on is white list application, allows this The application application that backstage has been turned on wakes up lock wakelock;
System application screen unit (23), when being applied for deserving the application that backstage has been turned on for system, has then counted the backstage The application application of startup wakes up lock wakelock frequency, when the application application that the backstage has been turned on wakes up lock wakelock frequency Rate exceedes default frequency, then forbids its continuation application to wake up lock wakelock.
8. the system according to claim 6 for improving Android device battery durable ability, it is characterised in that also include:
Control module (50) is waken up, for monitoring the application in Android device, when the application in Android device receives message, Wake up the operating system of Android device.
9. the system according to claim 7 for improving Android device battery durable ability, it is characterised in that also include:
Background application removes module (60), for reaching the 3rd preset time when Android device switches to screen state of going out, then removes The application that backstage has been turned on, and forbid the background application self-starting removed.
10. the system according to claim 9 for improving Android device battery durable ability, it is characterised in that the backstage Include using module (60) is removed:
Background application acquiring unit (61), for obtaining the application that backstage has been turned on;
Using clearing cell (62), for judge application that backstage has been turned on whether be:White list application, system are applied, One kind in the application of audio-visual broadcasting is carried out, if it is not, being then purged to the application that the backstage has been turned on.
CN201710476964.7A 2017-06-21 2017-06-21 Method and system for improving battery endurance of android device Active CN107302789B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710476964.7A CN107302789B (en) 2017-06-21 2017-06-21 Method and system for improving battery endurance of android device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710476964.7A CN107302789B (en) 2017-06-21 2017-06-21 Method and system for improving battery endurance of android device

Publications (2)

Publication Number Publication Date
CN107302789A true CN107302789A (en) 2017-10-27
CN107302789B CN107302789B (en) 2021-04-16

Family

ID=60135914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710476964.7A Active CN107302789B (en) 2017-06-21 2017-06-21 Method and system for improving battery endurance of android device

Country Status (1)

Country Link
CN (1) CN107302789B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107894909A (en) * 2017-11-30 2018-04-10 北京小米移动软件有限公司 Limit method, apparatus and storage medium that Activity starts
CN108255543A (en) * 2018-01-17 2018-07-06 北京小米移动软件有限公司 Application operation method, apparatus and computer readable storage medium
CN108536269A (en) * 2018-03-26 2018-09-14 上海康斐信息技术有限公司 A kind of method and its system reducing terminal standby power consumption
CN109462699A (en) * 2018-12-26 2019-03-12 惠州Tcl移动通信有限公司 The control method of the Doze mode of mobile terminal
CN110543333A (en) * 2018-05-29 2019-12-06 视联动力信息技术股份有限公司 Dormancy processing method and device for processor, mobile terminal and storage medium
CN110989819A (en) * 2019-12-03 2020-04-10 Oppo广东移动通信有限公司 Doze mode control method, device, mobile terminal and storage medium
CN112035242A (en) * 2020-11-06 2020-12-04 南京研利科技有限公司 Method for playing push message, computing device and computer-readable storage medium
CN112486308A (en) * 2020-11-26 2021-03-12 广东小天才科技有限公司 Power consumption control method of wearable device, wearable device and storage medium
CN112860326A (en) * 2021-02-01 2021-05-28 读书郎教育科技有限公司 Power-saving processing method for screen-off standby of android device
CN113747552A (en) * 2021-06-18 2021-12-03 荣耀终端有限公司 Power consumption optimization method and electronic equipment
CN114585054A (en) * 2022-02-23 2022-06-03 北京小米移动软件有限公司 WIFI connection control method and device and storage medium
CN110543333B (en) * 2018-05-29 2024-05-17 视联动力信息技术股份有限公司 Sleep processing method and device for processor, mobile terminal and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711098A (en) * 2012-04-28 2012-10-03 广东欧珀移动通信有限公司 Method for preventing background flow of application program from being lost
CN104156053A (en) * 2014-07-29 2014-11-19 深圳市中兴移动通信有限公司 Abnormal power consumption control method, abnormal power consumption control device and mobile terminal
CN104221445A (en) * 2013-11-15 2014-12-17 华为终端有限公司 Method for waking up terminal system and terminal
CN105183137A (en) * 2015-09-09 2015-12-23 厦门美图移动科技有限公司 Mobile terminal and wake lock control method and system thereof
US20160054789A1 (en) * 2014-08-21 2016-02-25 Alibaba Group Holding Limited Managing applications for power conservation
CN105677386A (en) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 Application program management method and device and electronic equipment
CN105867581A (en) * 2015-12-16 2016-08-17 乐视移动智能信息技术(北京)有限公司 Power optimization method and device and mobile terminal
CN106022099A (en) * 2016-05-16 2016-10-12 上海传英信息技术有限公司 Application self-starting management apparatus and method
CN106095517A (en) * 2016-06-28 2016-11-09 宇龙计算机通信科技(深圳)有限公司 The method and device that a kind of end application runs
CN106125883A (en) * 2016-06-15 2016-11-16 乐视控股(北京)有限公司 Intelligent terminal and control method thereof
CN106774792A (en) * 2016-11-28 2017-05-31 宇龙计算机通信科技(深圳)有限公司 Method for managing power supply and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711098A (en) * 2012-04-28 2012-10-03 广东欧珀移动通信有限公司 Method for preventing background flow of application program from being lost
CN104221445A (en) * 2013-11-15 2014-12-17 华为终端有限公司 Method for waking up terminal system and terminal
CN104156053A (en) * 2014-07-29 2014-11-19 深圳市中兴移动通信有限公司 Abnormal power consumption control method, abnormal power consumption control device and mobile terminal
US20160054789A1 (en) * 2014-08-21 2016-02-25 Alibaba Group Holding Limited Managing applications for power conservation
CN105183137A (en) * 2015-09-09 2015-12-23 厦门美图移动科技有限公司 Mobile terminal and wake lock control method and system thereof
CN105867581A (en) * 2015-12-16 2016-08-17 乐视移动智能信息技术(北京)有限公司 Power optimization method and device and mobile terminal
CN105677386A (en) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 Application program management method and device and electronic equipment
CN106022099A (en) * 2016-05-16 2016-10-12 上海传英信息技术有限公司 Application self-starting management apparatus and method
CN106125883A (en) * 2016-06-15 2016-11-16 乐视控股(北京)有限公司 Intelligent terminal and control method thereof
CN106095517A (en) * 2016-06-28 2016-11-09 宇龙计算机通信科技(深圳)有限公司 The method and device that a kind of end application runs
CN106774792A (en) * 2016-11-28 2017-05-31 宇龙计算机通信科技(深圳)有限公司 Method for managing power supply and system

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107894909A (en) * 2017-11-30 2018-04-10 北京小米移动软件有限公司 Limit method, apparatus and storage medium that Activity starts
CN108255543A (en) * 2018-01-17 2018-07-06 北京小米移动软件有限公司 Application operation method, apparatus and computer readable storage medium
CN108536269A (en) * 2018-03-26 2018-09-14 上海康斐信息技术有限公司 A kind of method and its system reducing terminal standby power consumption
CN110543333B (en) * 2018-05-29 2024-05-17 视联动力信息技术股份有限公司 Sleep processing method and device for processor, mobile terminal and storage medium
CN110543333A (en) * 2018-05-29 2019-12-06 视联动力信息技术股份有限公司 Dormancy processing method and device for processor, mobile terminal and storage medium
CN109462699A (en) * 2018-12-26 2019-03-12 惠州Tcl移动通信有限公司 The control method of the Doze mode of mobile terminal
CN109462699B (en) * 2018-12-26 2020-10-23 惠州Tcl移动通信有限公司 Method for controlling Doze mode of mobile terminal
CN110989819A (en) * 2019-12-03 2020-04-10 Oppo广东移动通信有限公司 Doze mode control method, device, mobile terminal and storage medium
CN110989819B (en) * 2019-12-03 2021-04-13 Oppo广东移动通信有限公司 Doze mode control method, device, mobile terminal and storage medium
CN112035242A (en) * 2020-11-06 2020-12-04 南京研利科技有限公司 Method for playing push message, computing device and computer-readable storage medium
CN112486308A (en) * 2020-11-26 2021-03-12 广东小天才科技有限公司 Power consumption control method of wearable device, wearable device and storage medium
CN112860326A (en) * 2021-02-01 2021-05-28 读书郎教育科技有限公司 Power-saving processing method for screen-off standby of android device
CN113747552A (en) * 2021-06-18 2021-12-03 荣耀终端有限公司 Power consumption optimization method and electronic equipment
WO2022262434A1 (en) * 2021-06-18 2022-12-22 荣耀终端有限公司 Power optimization method and electronic device
CN113747552B (en) * 2021-06-18 2024-03-19 荣耀终端有限公司 Power consumption optimization method and electronic equipment
CN114585054A (en) * 2022-02-23 2022-06-03 北京小米移动软件有限公司 WIFI connection control method and device and storage medium
CN114585054B (en) * 2022-02-23 2023-11-14 北京小米移动软件有限公司 WIFI connection control method, device and storage medium

Also Published As

Publication number Publication date
CN107302789B (en) 2021-04-16

Similar Documents

Publication Publication Date Title
CN107302789A (en) A kind of method and system for improving Android device battery durable ability
CN105183137B (en) A kind of mobile terminal and its wake-up lock control method and control system
CN106604369B (en) Terminal equipment with dual-mode switching function
CN105554316B (en) A kind of realization method and system of reserved intelligent terminal battery capacity
CN104243702B (en) Low battery prompt method, device and terminal device
CN105302279B (en) A kind of management application accesses the method and system of network
CN103885565B (en) The dormancy method and system of smart machine
CN103064669B (en) The timing wake-up method and system of smart machine
CN104714620A (en) Method and device for adjusting wakeup frequency of intelligent terminal
CN106897125A (en) Smart machine and its management method of service or application
CN104065835A (en) Mobile terminal and power saving method and device thereof
CN102421134A (en) Wireless access point equipment and method for controlling same
CN106648023A (en) Mobile terminal and power-saving method of mobile terminal based on neural network
CN106793044A (en) A kind of method and bluetooth security equipment for realizing bluetooth security equipment low-power consumption standby
CN106547335A (en) Energy consumption reduces method and mobile terminal
CN103034547B (en) Based on electronic equipment operation method and the electronic equipment of battery
CN103472904A (en) Method and device for intelligently adjusting multiple timers
CN102572119A (en) Mobile terminal and power-saving method thereof
CN108628560A (en) A kind of display methods and terminal
CN104981005A (en) Processing method and apparatus for reducing power consumption
CN101303831A (en) Method for controlling backlight of electric display apparatus
CN103260224A (en) Mobile terminal and method for achieving refreshing of charging animation during charging
CN107436672A (en) The processing method and terminal of a kind of application
CN106686633A (en) Method for preventing WIFI malicious frequent awakening
CN107992393A (en) A kind of statistical method and system of electronic curtain usage time

Legal Events

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