Sunday, 24 July 2016

Extreme battery life: Amplify [XPOSED Framework]

              

Xposed


      Amplify is a Xposed module which helps you to extend your device's battery life by limiting unnecessary Alarms and Wake-locks as these are the primary source of battery drain. While wake-locks and alarms are critical for your device, some of them can be limited to increase the battery life. Amplify gives this control in your hands. 
In this post I will list out the Wake-locks and Alarms that can be safely limited without affecting the normal functioning of your device. To download Amplify you need to have the following prerequisites:


  • Rooted device
  • Bootloader unlocked
  • Custom Recovery installed (TWRP Recommended)
  • XPOSED Framework (Learn more about XPOSED Framework)
  • Download Amplify from Here.


Amplify

The In-App purchases allow you to unlock the Pro package that lets you customize the alarms, services, and wakelocks on your device. Without the pro package, you can control the worst battery hogs: NlpWakelock, NlpCollectorWakeLock, ALARM_WAKEUP_LOCATOR, and ALARM_WAKE_ACTIVITY_DETECTION.

After installing Amplify, open Xposed from app menu and activate the amplify-module. Now reboot your device. 


Here is the list of wake-locks and alarms that can  be safely limited:

AmplifyAlarms

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

Alarms(Allow every 1800 seconds)

  • com.oasisfeng.greenify.CLEAN_NOW
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 (Don't disable if you use GPS/Location services)

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)
  • ALARM_WAKEUP_ACTIVITY_DETECTION
  • com.google.android.location.reporting.ACTION_UPDATE_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)

    Amplify
  • WakefulIntentService[GCoreUlr-LocationReportingService]
  • 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)
  • AsyncServic
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)

*Note: This is to be done fully on your own risk.

If you have any query, feel free to comment here. 

No comments:

Post a Comment