FORUMS

Android M Code Name: Macadamia Nut Cookie

While the official name for the latest iteration of Android has yet to be revealed, the code … more

XDA Recap: This Week In Android (May 17 – 23)

Another week, another recap. The Sunday tradition marches on this week with a fresh … more

Huawei To Sell Honor Smartphones Via Indian Retail Outlets

World’s fourth largest smartphone maker Huawei plans to now sell its … more

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices … more

 View Poll Results: Did this thread help in improving your battery life?

Not at all!
 
4 Vote(s)
7.69%
Little Bit
 
19 Vote(s)
36.54%
Noticeable Improvement
 
17 Vote(s)
32.69%
Saved my day!
 
12 Vote(s)
23.08%
Post Reply Subscribe to Thread Email Thread

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

29th April 2015, 12:27 PM |#1  
vaisakh7's Avatar
OP Senior Member
Thanks Meter: 454
 
More
Battery life has been a prime concern for all users around the world.Each day people try different methods to improve upon their battery life.
Here I come up with a blended guide that includes the latest apps and Fixes' to help improve your android battery experience.

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 stats.

Let's Begin
What you need
Xposed Framework(Download-4.4 here and 5.0+ here)
Xposed Framework is essential as it is required fo proper 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

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; 19th May 2015 at 09:45 AM.
The Following 25 Users Say Thank You to vaisakh7 For This Useful Post: [ View ]
 
 
29th April 2015, 12:30 PM |#2  
vaisakh7's Avatar
OP Senior Member
Thanks Meter: 454
 
More
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.

These are the basic stuffs one must look into before complaining about their battery.
Last edited by vaisakh7; 30th April 2015 at 10:09 AM.
The Following 12 Users Say Thank You to vaisakh7 For This Useful Post: [ View ]
29th April 2015, 12:30 PM |#3  
vaisakh7's Avatar
OP Senior Member
Thanks Meter: 454
 
More
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.
Greenify
Greenify

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 not in use.Do not Greenify Dialer or Messaging apps


MyAndroidTools

You can disable unwanted receivers and services with the app.A few screenshots of the app are attached below.





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


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; Today at 03:47 AM.
The Following 15 Users Say Thank You to vaisakh7 For This Useful Post: [ View ]
29th April 2015, 04:32 PM |#4  
vaisakh7's Avatar
OP Senior Member
Thanks Meter: 454
 
More
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.
Amplify



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
  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)
  • 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.





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

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
@adaway_Team

So,here's my tutorial for achieving insane battery life out of your device with simple methods.
Last edited by vaisakh7; 19th May 2015 at 12:40 PM.
The Following 18 Users Say Thank You to vaisakh7 For This Useful Post: [ View ]
30th April 2015, 05:10 AM |#5  
tangcla's Avatar
Senior Member
Flag Melbourne, Australia
Thanks Meter: 262
 
More
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?
30th April 2015, 06:04 AM |#6  
vaisakh7's Avatar
OP Senior Member
Thanks Meter: 454
 
More
Quote:
Originally Posted by tangcla

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

Google Play Services

Tapped from my furious Dogo
Last edited by vaisakh7; 30th April 2015 at 06:12 AM.
30th April 2015, 06:21 AM |#7  
milojoseph's Avatar
Senior Member
Flag Brooklyn
Thanks Meter: 324
 
More
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
The Following User Says Thank You to milojoseph For This Useful Post: [ View ]
30th April 2015, 06:55 AM |#8  
tangcla's Avatar
Senior Member
Flag Melbourne, Australia
Thanks Meter: 262
 
More
Quote:
Originally Posted by vaisakh7

Google Play Services

Tapped from my furious Dogo

I think stopping Google Play Services causes issues with Android Wear.
30th April 2015, 07:03 AM |#9  
vaisakh7's Avatar
OP Senior Member
Thanks Meter: 454
 
More
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
30th April 2015, 07:09 AM |#10  
tangcla's Avatar
Senior Member
Flag Melbourne, Australia
Thanks Meter: 262
 
More
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
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes