Thursday, 23 June 2016

HOW TO IMPROVE ANDROID BATTERY LIFE WITH GREENIFY, AMPLIFY AND POWERNAP










Smartphone battery is one of the most important feature most people consider before purchasing one as it is a vital key towards the operation of the device. Long lasting battery life keeps one on the go with different activities being performed on the phone. But unfortunately many oem's limit battery capacity of these devices thereby limiting the usage to which the device is used, and this leaves a lot of people with trying to minimize operations on their mobile phones.
Many have tried to sought for solutions to the improvement of battery and that is why i've decided to make available a great and effective way to improve battery life.
Please note that everything here has been tested, and working fine and also do this at your on risk.

Requirements
1.Root
2.Xposed Framework
3.Greenify
4.Amplify
6.PowerNap

More on rooting CLICK HERE

Xposed Framework is essential as it is required fo proper working of Greenify,Amplify and PowerNap.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.Xposed Installer is required for functioning of the apps mentioned in the guide.

Downloads:
Find out more on how to install xposed for lollipop HERE and xposed for marshmellow HERE

Thanks to @oasisfeng for such an awesome app.The latest 2.9.2beta update brings the feature to disable the motion scanning in doze.
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.

Downloads:

Greenify
Donation Package 


Greenify the apps that eatup battery by running in background(Refer BBS)

Below are some of the major drainers:


  1. Browser
  2. Facebook
  3. Facebook Messenger
  4. Google+
  5. Hangouts
  6. Hike
  7. Instagram
  8. Maps
  9. UC Browser

Amplify is a genius in handling wakelocks and alarms.It is also capable of blocking services.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 block wakelocks and alarms.

Downloads:
Amplify

Limit the following:

Alarms

Alarms(Allow every 600 seconds)
  • com.android.internal.telephony.data-stall


Alarms(Allow every 1800 seconds)
  • com.oasisfeng.greenify.CLEAN_NOW



Alarms(Allow every 3600 seconds)
  • android.appwidget.action.APPWIDGET_UPDATE



Alarms(Allow every 7200 seconds)
  • android.content.syncmanager.SYNC_ALARM(delays sync)


Alarms(Allow every 10800 seconds)
  • android.net.ConnectivityService.action.PKT_CNT_SAM PLE_INTERVAL_ELAPSED
  • com.facebook.common.executors.WakingExecutorServic e.ACTION.ALARM.com.facebook.katana
  • com.google.android.apps.hangouts.CLEANUP_DB
  • com.pushbullet.android/.gcm.GcmFixReceiver
  • com.android.server.action.NETWORK_STATS_POLL
  • com.diune.pictures.intent.action.MEDIA_CHECK
  • LocationManagerService


Alarms[LOCATION](Allow every 41400 seconds)
  • ALARM_WAKEUP_LOCATOR(com.google.android.gms.nlp.AL ARM_WAKEUP_LOCATOR)
  • ALARM_WAKEUP_CACHE_UPDATER
  • ALARM_WAKEUP_BURST_COLLECTOR(com.google.android.gm s.nlp.ALARM_WAKEUP_BURST_COLLECTOR)
  • com.google.android.gms.location.fused.GPS_ALARM_BA LANCED_ACCURACY
  • ALARM_WAKEUP_ACTIVE_COLLECTOR
  • ALARM_WAKEUP_PASSIVE_COLLECTOR
  • ALARM_WAKEUP_BURST_COLLECTION_TRIGGER
  • com.google.android.intent.action.SEND_IDLE
  • ALARM_WAKEUP_ACTIVITY_DETECTION
  • com.google.android.location.reporting.ACTION_UPDAT E_WORLD


Alarms(Allow every 93600 seconds)
  • android.app.backup.intent.RUN
  • com.google.android.gms/.checkin.EventLogService$Receiver
  • com.google.android.gms/.checkinCheckinService%Receiver


Wakelocks

Wakelocks(Allow every 800 seconds)
  • WakefulIntentService[GCoreUlr-LocationReportingService]
  • RILJ
  • NetworkStats


Wakelocks(Allow every 3600 seconds)
  • WeatherUpdateService


Wakelocks(Allow every 10800 seconds)
  • SyncLoopWakeLock(delays sync)
  • *net_scheduler*
  • GCoreFlp
  • Icing
  • Wakeful StateMachine: GeofencerStateMachine
  • NfcService:mRoutingWakeLock
  • wake:com.pushbullet.android/.gcm.GcmService
  • SyncService(Package: Push Bullet)
  • ai(Package: Push Bullet)
  • ae(Package: Push Bullet)
  • AsyncService


Wakelocks(Allow every 41400 seconds)
  • NlpWakeLock
  • NlpCollectorWakeLock
  • LocationManagerService
  • Config Service Fetch


Wakelocks(Allow every 9999999 seconds)
  • *job*/com.facebook.katana/com.facebook.analytics2.logger.LollipopUploadServi ce
  • JobSchedulerHack-com.facebook.analytics2.logger.LollipopUploadServi ce
  • UploadServiceLogic-com.facebook.analytics2.logger.LollipopUploadServi ce
  • *job*/com.facebook.orca/com.facebook.bugreporter.scheduler.LollipopService (com.facebook.orca.Messenger)
  • *job*/com.facebook.katana/com.facebook.bugreporter.scheduler.LollipopService (com.facebook.katana.Facebook)



Services

Services(Block/Deny)
  • com.google.android.gms.analytics.AnalyticsService
  • com.google.android.gms/com.google.android.location.internal.GoogleLocatio nManagerService(Location Service)
  • com.android.gms.Feedback.FeedbackService(Breaks Play Games)
  • com.android.gms.ads.AdRequestBrokerService
  • com.google.android.gms/com.google.android.location.network.NetworkLocatio nService(Location Service)
  • com.google.android.location.geofencer.service.Geof encerProviderService(GPS Service)
  • com.google.android.gms/com.google.android.location.copresence.service.Pro ximitySettingInjectorService
  • com.facebook.katana/com.facebook.analytics.service.AnalyticsService
  • com.facebook.orca/com.facebook.analytics.service.AnalyticsService
  • com.android.cellbroadcastreceiver/.CellBroadcastAlertService
  • com.android.cellbroadcastreceiver/.CellBroadcastConfigService



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 and GPS tag)

Alarms(REGEX Blocking)
  • ALARM_WAKEUPxxxxx


Procedure(Screens attached)


  • Open Amplify.
  • Select Alarms from the menu.
  • Tap the list icon on the top right corner
  • Tap + button on top.
  • Add the following code to 'Enter Regex to match'
    Code:
    ALARM_WAKEUP[0-9]+
  • Set the interval to 9999999 seconds.

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 module


NB:XDA Thread for PowerNap is closed down due to lack of activity from the developer.



Set the Endurance Mode to Always ON.

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

If you need certain apps to run in background while screen off(eg:Instant Messengers),you have to whitelist them in Power Nap.

List of apps to be whitelisted:


  • Amplify
  • AndroidSystem
  • BetterBatteryStats
  • Cyanogenmod System
  • GooglePlayServices
  • Google Services Framework
  • Google Account Manager
  • Greenify
  • Greenify Donation Package
  • Trebuchet
  • Xposed Framework                                                                                                                                                                                                                                                                                    SOURCE :XDA                                                                                                                                                       





No comments:

Post a Comment

Designed by Mezy Kings