Вы находитесь на странице: 1из 18

5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

xda-developers Android Development and Hacking Android General [GUIDE]Extreme Battery Life
Thread(Greenify+Amplify+Power Nap) by vaisakh7

Poll: Did this thread help in improving your FORUMS


battery life?
Android General
Not at all!
Android Q&A, Help & Troubleshooting
Little Bit
Android Software and Hacking General
Noticeable Improvement
[Developers Only]
Saved my day!

View Poll Results Android Software Development


VoteNow

Miscellaneous Android Development

Post Reply Subscribe to Thread [More]

1 2 3 Last
MOST THANKED
SearchThread
ALL-TIME

[GUIDE]Extreme Battery Life 14 Amplify Amplify is the best battery saver I've
come across.It is
Thread(Greenify+Amplify+Power Nap) vaisakh7 OP 2015-Apr-29 11:32

14
Rating: 3 Tweet Like +1 Xposed Framework If you're running android
4.0.3+ you'll be able
View First Unread
vaisakh7 OP 2015-Apr-29 7:30
vaisakh7
Thanks: 427
OP Senior Member 773 posts
11 Lets Start with a few basic settings. Display
Display
29th April 2015, 01:27 PM | #1
vaisakh7 OP 2015-Apr-29 7:30

Battery life has been a prime concern for all users around the
world.Each day people try different methods to improve upon
4 OP Updated Changelogs Added Power Nap
Removed Disable
their battery life.
vaisakh7 OP 2015-May-18 7:50
Here I come up with a blended guide that includes the latest
apps and Fixes' to help improve your android battery
experience.
2 Amplify guide edited: Removed

vaisakh7 OP 2015-May-19 8:36


This guide is suited for any android phone running Kitkat or
Lollipop.Precicely 4.3+

This is based on my experiments on attaining a better battery


life.For any queries,reply within the thread.
Use BetterBatteryStats and Wakelock Detector to measure

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 1/18
5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

stats.

Let's Begin
What you need

Root
Xposed Framework
Greenify
Amplify
MyAndroidTools
AppOpsXposed/Working Privacy Guard
AdAway
PowerNap

Xposed Framework(Download-4.4 here and 5.0+ here)


is essential as it is required fo proper
Xposed Framework
MENU
0
working of Greenify and Amplify.

Greenify(Download Here)
Thanks to @oasisfeng for such an awesome app.The latest
update brings back the wakeup cutoff function.I have always
been a fan of that

Amplify(Download Here)
Amplify is a genius in handling wakelocks and alarms.It is also
capable of blocking services.

MyAndroidTools (Download Here)


MyAndroidTools is a great tool for android.It is very effective in
disabling services,receivers and activities.

AppOpsXposed(Download Link)
AppOps is a permission manager in android.There are various
versions of AppOps available in the PlayStore.I recommend the
one linked with Xposed.(You can also use CM Privacy Guard)

AdAway(Download Link)
AdAway is a simple yet a powerful adbocker for android that
can disable internet based ads and save battery and data.

Power Nap
Power Nap for Xposed is the SONY's stamina mod for non-Sony
devices.. When your screen is off, Power Nap maximizes your
device's deep sleep time by stopping services, alarms and
wakelocks from waking the device when the screen is off.You
can get notification from the apps you've whitelisted.
NOTE:In order to download the app you need to join the
alpha testers community in Google+ here and opt to become
a tester.Then you'll be able to download and run the app

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 2/18
5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

NB:For any app related queries,post on the relevant thread and


not here.Also I won't be responsible for any app misbehaviour
or failure of the device.

If you use, or appreciate my work in any way, please make


sure to rank this thread 5 stars, vote on the poll, and click
"Thanks".
Last edited by vaisakh7; Yesterday at 10:45 AM.

The Following 20 Users Say Thank You to vaisakh7 For This Useful Post: [ View ]

vaisakh7
Thanks: 427
OP Senior Member 773 posts

29th April 2015, 01:30 PM | #2

Lets Start with a few basic settings.

Display
Display brightness is an important factor in battery life.The
more brighter the screen is,the more juice it drains.So keep the
brightness under control.Using automated brightness is not
adviceable.Try manually adjusting the screen brightness.

Cell Network
This is simple stuff,but results in noticeable improvement in
battery life.Toggle 4G/3G to 2G while not in use.(While In
calls).You can use Intelli3G to swith between networks.

For devices that support Fast Dormancy(Read Here) can disable


it to save some juice on 3G.(Link to disable Fast Dormancy for
Xperia Devices)

Wifi
Even if your wifi is off,the phone searches for signal.To switch
off this feature,go to
Settings > Wifi > Options(Top right corner) > Advanced
>Scanning always available(Off).

Location
Another juice sucker in Android-Location ServicesYou can turn
it off while not in use.That saves a lot off juice.You can also set
the location to 'Device Only" in settings.

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 3/18
5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

These are the basic stuffs one must look into before
complaining about their battery.

Last edited by vaisakh7; 30th April 2015 at 11:09 AM.

The Following 11 Users Say Thank You to vaisakh7 For This Useful Post: [ View ]

vaisakh7
Thanks: 427
OP Senior Member 773 posts

29th April 2015, 01:30 PM | #3


Xposed Framework
If you're running android 4.0.3+ you'll be able to run Xposed
Framework on your device.It has an initial Lollipop support.
For android versions upto 4.4,you can directly install the apk
from here
For 5.0+ visit this thread for downloads.
Installing procedure for Xposed is explained in the DISCUSSION
thread.
Setup the Xposed Framework.

Greenify
You can use Greenify to hibernate apps that are not in use.You
can use Donation Package of Greenify which includes lots of
features.Once you have a Donation Package with you,you need
to activate the Greenify Xposed Module in Xposed.Once
done,enable the Boost mode and Experimental Features.See
attached screenshots below.

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 4/18
5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

Greenify only the apps you need to get push


notifications
In my case I've greenified the following Apps.

1. Browser
2. Hike
3. Instagram
4. Google+
5. Messenger
6. Music
7. Walkman
8. UC Browser
9. Viper4Android FX
10. VIper4Android XHifi
11. XDA Free
12. Hangouts
13. Album
14. Calender
15. Calender Storage(Use alternate calender)
16. Camera
17. File Commander
18. MX Player
19. SHAREit

There's no need to hibernate all the apps.Only hibernate the


apps that would run on background even while notin use.Do
not Greenify Dialer or Messaging apps

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 5/18
5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

MyAndroidTools

You can disable unwanted receivers and services with the


app.A few screenshots of the app are attached below.

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 6/18
5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

Here's a list of services and receivers you can block with


MyAndroidTools.Block the following services under Google
Play Services.(NB;:I don't use Location Service.That's why I've
disabled the location Services.If your'e using Location
service,do not disable the services with location tag)

Services List:

AnalyticsService
FeedbackService
AdRequestBrokerService
NetworkLocationService(Location may not work
properly)
GoogleLocationManagerService(Location may not work
properly)
FusedProviderService
GeofenceProviderService
negotiationService
WatchdogService
WearableService

Disable the following services of Facebook and Facebook


Messenger

AnalyticsService

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 7/18
5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

Under Broadcast Recievers-Actions you can prevent apps from


starting automatically at boot.
I've disabled the following apps

Album
Facebook
Instagram
Messenger
Whatsapp
XDA App
Youtube
Hike
Imo

Last edited by vaisakh7; 18th May 2015 at 12:43 PM.

The Following 14 Users Say Thank You to vaisakh7 For This Useful Post: [ View ]

vaisakh7
Thanks: 427
OP Senior Member 773 posts

29th April 2015, 05:32 PM | #4


Amplify
Amplify is the best battery saver I've come across.It is a must
have app for all droids running Xposed.
You'll need a donation package to bloack wakelocks and alarm.

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 8/18
5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

Limit the following:

Alarms(Allow every 7200 seconds)

1. android.content.syncmanager.SYNC_ALARM
2. com.google.android.gms.gcm.ACTION_CHECK_QUEUE
3. com.google.android.apps.sidekick.SCHEDULED_REFRESH
4. android.net.ConnectivityService.action.PKT_CNT_SAM
PLE_INTERVAL_ELAPSED
5. com.oasisfeng.greenify.CLEAN_NOW

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 9/18
5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

6. com.facebook.push.mqtt.keepalive.KeepaliveManager.
ACTION_INEXACT_ALARM.com.facebook.katana
7. com.facebook.common.executors.WakingExecutorServic
e.ACTION.ALARM.com.facebook.katana

Alarms(Allow every 40000 seconds)

com.google.android.gms.nlp.ALARM_WAKEUP_LOCATOR
com.google.android.gms.nlp.ALARM_WAKEUP_ACTIVITY_D
ETECTION
ALARM_WAKEUP_BURST_COLLECTOR
com.google.android.gms.location.fused.GPS_ALARM_BA
LANCED_ACCURACY
com.google.android.gms.nlp.ALARM_WAKEUP_ACTIVE_COL
LECTOR
com.google.android.gms.nlp.ALARM_WAKEUP_PASSIVE_CO
LLECTOR
com.google.android.gms.nlp.ALARM_WAKEUP_BURST_COLL
ECTION_TRIGGER

Alarm(Allow every 84000 seconds)

android.app.backup.intent.RUN
com.google.android.gms/.checkin.EventLogService$Receiver

Wakelocks(Allow every 7200 seconds)

*net_scheduler*
GCoreFlp
Icing

Wakelocks(Allow every 40000 seconds)

NlpWakeLock
NlpCollectorWakeLock
LocationManagerService
Config Service Fetch

Services(Block/Deny)

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 10/18
5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

com.google.android.gms/.ads.social.GcmSchedulerWakeupService
com.google.android.gms/com.google.android.location.internal.AnalyticsSamp
lerService
com.google.android.gms/com.google.android.location.internal.AnalyticsSamp
lerService
com.google.android.gms/common.analytics.CoreAnalyticsIntentService
ads.jam.NegotiationService

Power Nap

Power Nap is the Sony Stamina MOD for all non- SONY devices
running 4.1+ and Xposed. When your screen is off, Power Nap
maximizes your device's deep sleep time by stopping services,
and wakelocks from waking the device when the screen is
off.You'll still get Push Notifications from the whitelisted apps.

Set the Endurance Mode to Always ON.

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 11/18
5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

You can use Power Nap along with Greenify and Amplify for a
better sleep time.You have whilelist both Greenify and Amplify
for proper working of both the modules.

If you use IMs and need Push Notifications,you have to


whitelist those apps along with Greenify and Amplify.

See My list Of whitelisted apps.(Varies according to users):

CM Browser(Background Downloads)
Greenify
Amplify
Hike
Whatsapp
Hangouts
UC Browser

NOTE:I've not included GooglePlayServices and


GoogleServicesFramework in the whitelist.I still get
notifications from Hike..I have not tested any other apps having
Push Notifications.So test and report(See Known Issues in the
thread)

AppOpsXposed/Privacy Guard

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 12/18
5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

You can use Privacy Guard to disable some permissions of


Google Play Services and Google Services Framework

Disable the following Permissions of Google Play Services


using AppOps

OP_ALARM_WAKEUP
Keep Awake
Auto Startup

Disable the following permissons of Google Services


Framework

Keep Awake

Under Startups disable apps you don't need to start


automatically on boot.

AdAway
Simple app for use.Install AdAway and apply AdBlocking!DONE!

Known Issues

Delayed PUSH Notifications:If you encounter any delayed Push


Notification from any app after using this thread,try
PushNotificationFixer(PNF).If the problem persists,do report in
the thread

SystemUpdateService Wakelock:If you are affected by


SystemUpdateService wakelock issue.Use my fix here
For more easy fix for the same issue.See here

--
Thanks to
@chamonix for BetterBatteryStats
@rovo89 for Xposed
@oasisfeng for Greenify
@cryptyk for Amplify
@caspase for AppOpsXposed
@waylaidwanderer for Power Nap
@andQlimax for PNF
@wangqi060934 for MyAndroidTools

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 13/18
5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

@adaway_Team

So,here's my tutorial for achieving insane battery life out of


your device with simple methods.

Fix GooglePlayServices Wakelock and battery drain

[GUIDE]Extreme Battery Life Thread(Greenify+Amplify+Power Nap)


My current Devices:
Sony Xperia ZR-C5502|RR 5.4.4 by airlessproject|EvoKMA
Samsung Galaxy Tab 2.7.0-P3100|SlimLP 5.1.1 by Android-Andi|Build
Kernel|

Last edited by vaisakh7; Yesterday at 01:40 PM.

The Following 14 Users Say Thank You to vaisakh7 For This Useful Post: [ View ]

tangcla
Thanks: 260
Senior Member 1,830 posts

30th April 2015, 06:10 AM | #5


Quote:
Originally Posted by vaisakh7

Wakelocks(Allow every 84000 seconds)

com.google.android.gms/.ads.social.GcmSchedulerWakeupService
com.google.android.gms/com.google.android.location.internal.AnalyticsSamp
lerService
com.google.android.gms/com.google.android.location.internal.AnalyticsSamp
lerService
com.google.android.gms/common.analytics.CoreAnalyticsIntentService

You can either use Amplify or Servicely to block these Services

I'm using Servicely - what app do these services belong to?

vaisakh7
Thanks: 427
OP Senior Member 773 posts

30th April 2015, 07:04 AM | #6


Quote:
Originally Posted by tangcla

I'm using Servicely - what app do these services belong

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 14/18
5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

to?

Google Play Services

Tapped from my furious Dogo

Fix GooglePlayServices Wakelock and battery drain

[GUIDE]Extreme Battery Life Thread(Greenify+Amplify+Power Nap)


My current Devices:
Sony Xperia ZR-C5502|RR 5.4.4 by airlessproject|EvoKMA

Samsung Galaxy Tab 2.7.0-P3100|SlimLP 5.1.1 by Android-Andi|Build


Kernel|

Last edited by vaisakh7; 30th April 2015 at 07:12 AM.

milojoseph
Thanks: 316
Senior Member 852 posts

30th April 2015, 07:21 AM | #7


Quote:
Originally Posted by vaisakh7

Google Play Services

Tapped from my furious Dogo

Testing soon will give results in the afternoon

Sent from my SM-G900T powered by Alliance Rom and


ktoonsez kernel

If I helped you in anyway please click that thanks button!!!!!!!!!

GOTMILO

The Following User Says Thank You to milojoseph For This Useful Post: [ View ]

tangcla
Thanks: 260
Senior Member 1,830 posts

30th April 2015, 07:55 AM | #8


Quote:

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 15/18
5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

Originally Posted by vaisakh7

Google Play Services

Tapped from my furious Dogo

I think stopping Google Play Services causes issues with


Android Wear.

vaisakh7
Thanks: 427
OP Senior Member 773 posts

30th April 2015, 08:03 AM | #9


Quote:
Originally Posted by tangcla

I think stopping Google Play Services causes issues with


Android Wear.

Only a few services of Google Play Services is blocked.Not the


app itself.

Tapped from my furious Dogo

Fix GooglePlayServices Wakelock and battery drain


[GUIDE]Extreme Battery Life Thread(Greenify+Amplify+Power Nap)

My current Devices:
Sony Xperia ZR-C5502|RR 5.4.4 by airlessproject|EvoKMA
Samsung Galaxy Tab 2.7.0-P3100|SlimLP 5.1.1 by Android-Andi|Build
Kernel|

tangcla
Thanks: 260
Senior Member 1,830 posts

30th April 2015, 08:09 AM | #10

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 16/18
5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

Quote:
Originally Posted by vaisakh7

Only a few services of Google Play Services is


blocked.Not the app itself.

Tapped from my furious Dogo

So you're recommending selecting individual services in


Servicely - do you know which ones are safe to stop?
Or, in other words, which ones are the biggest causes of
wakelocks - I've got a Samsung Lollipop device so I have no
Xposed, and therefore no Amplify. I would love to be able to
stop the NetworkLocationProvider services.

Post Reply Subscribe to Thread

Page 1 of 10 1 2 3 Last

Previous Thread Next Thread

Top Threads in Android General by ThreadRank

How To Make Card Stack Recent Apps like Android Lollipop in


Android General 7th March 2015

Mlais M52 Red Note Review + Root + ROMs + Info 1st April 2015

Android General

[ROM][Umi Zero](Update 10/04/15)Arcatarc's MIUmIZERO (Mi


Android General 9th March 2015

[ROM] [PORT] 4.4.2 Lenovo S860 AOSP and MIUI v6


Android General 6th March 2015

[GUIDE]Extreme Battery Life Thread(Greenify+Amplify+Power


Android General 29th April 2015

How to get Tinted Status Bar Without Using Any App


Android General 8th March 2015

Huawei G750-U10 (honor 3x) Kitkat 4.4.2 23rd February 2015

Android General

[MOD] Spotify - Tablet Mode [05/11/15] 12th May 2015

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 17/18
5/20/2015 [GUIDE]ExtremeBatteryLifeThread(Greenify+|AndroidDevelopmentandHacking|XDAForums

Android General

xda-developers Android Development and Hacking Android General [GUIDE]Extreme Battery Life
Thread(Greenify+Amplify+Power Nap) by vaisakh7

We're Social

XDA Developers was founded by developers, for developers. It is now a



valuable resource for people who want to make the most of their mobile
devices, from customizing the look and feel to adding new functionality.
Are you a developer?

More info

Contact Rules Change Log Suggest Content Privacy Policy XDA App Root Any Device

Copyright xda-developers. Hosted by Leaseweb

-- XDA 2015

Sitemap

http://forum.xdadevelopers.com/android/general/guideextremebatterylifet3095884 18/18

Вам также может понравиться