[Android General] Celestial Fury:
* how to do it *

What you need

Root - find out for your own device

Xposed (download link)

Amplify (download link)

You can debloat, freeze, greenify but what can really bring your idle battery drain to 0.0%/h is Amplify (forum link). This guide (based on Xperia Z1 KitKat (now Lolipop) / my apps / my usage patterns) will list the alarms & wakelocks and time that they've been limited that I've used to gain the result I've shown you. NOTE: This is a guide and your phone/apps/usage patterns WILL be different. See Post #3 (

especially Step 7

) on how to test. Do NOT limit anything that doesn't drain for you (unless it's ads or privacy related).

Strikeouts mean that the alarms/wakelocks used to drain but no longer seem to but should still be safe for you to limit if they drain for you.

FIX for

suspend_backoff (kernel wakelock)

Alarms

(Allow every 7200 seconds or 2 hours)

* affects push notifications (alerts from mail, social apps, etc.) Things may get delayed if the phone has been idle for a while. Turning on the screen, connecting to a new WiFi or any event that wakes up the phone can trigger push notifications.

- ALARM_WAKEUP_CACHE_UPDATER

- android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED

- com.android.vending/com.google.android.finsky.services.ContentSyncService

- com.google.android.apps.sidekick.SCHEDULED_REFRESH

- com.google.android.sidekick.shared.a.a.UPDATE_CALENDAR_ACTION

- com.google.android.apps.gsa.kato.ACTION_ALARM

- com.google.android.googlequicksearchbox/com.google.android.sidekick.main.TrafficIntentService

- com.whatsapp.alarm.AVAILABLE_TIMEOUT

- com.whatsapp.MessagingService.RECONNECT

Alarms

(Allow every 43200 seconds or 12 hours)

- android.content.syncmanager.SYNC_ALARM

- com.android.providers.calendar.intent.CalendarProvider2

(use alternative calendar here)

- com.facebook.push.mqtt.keepalive.KeepaliveManager.ACTION_INEXACT_ALARM.com.facebook.katana

- com.facebook.common.executors.WakingExecutorService.ACTION.ALARM.com.facebook.katana.Mqtt_Wakeup

- com.facebook.common.executors.WakingExecutorService.ACTION.ALARM.com.facebook.katana

- com.google.android.gms.gcm.ACTION_CHECK_QUEUE

- com.google.android.intent.action.GCM_RECONNECT

(may break push notifications for custom ROMs)

- com.google.android.gms.gcm.HEARTBEAT_ALARM

- com.google.android.intent.action.MCS_HEARTBEAT

- com.google.android.intent.action.SEND_IDLE

- com.whatsapp.alarm.CLIENT_PING_TIMEOUT

- com.whatsapp.messaging.MessageService.LOGOUT.ACTION

- com.whatsapp.messaging.MessageService.CLIENT_PINGER_ACTION

Alarms

(Allow every 86400 seconds or 24 hours)

Custom Regex

CONTEXT_MANAGER_ALARM_WAKEUP_[0-9]{4,}

- android.app.backup.intent.RUN

- com.android.internal.telephony.data-stall (reported to break WiFi calling)

- com.google.android.gms/.checkin.EventLogService$Receiver

- com.google.android.gms/checkin.CheckinService%Receiver

Location alarms

(both rough and fine)

* They

wake up your device

to get a fix (from GPS/network/cell towers) by Google Play Services for apps like Google Now and for Google's own database. GPS may be delayed in the background for Google apps like Google Now. Refresh manually. Navigation apps do not rely on these location alarms. They access the GPS directly.

- ALARM_WAKEUP_ACTIVITY_DETECTION

- ALARM_WAKEUP_ACTIVE_COLLECTOR

- ALARM_WAKEUP_BURST_COLLECTOR

- ALARM_WAKEUP_BURST_COLLECTION_TRIGGER

- ALARM_WAKEUP_PASSIVE_COLLECTOR

- com.google.android.gms.flp.BATCH_FLUSH

- com.google.android.gms.location.fused.GPS_ALARM_BALANCED_ACCURACY

- com.google.android.location.reporting.ACTION_UPDATE_WORLD

- com.google.android.location.ALARM_WAKEUP_IN_OUT_DOOR_COLLECTOR

- com.google.android.location.ALARM_WAKEUP_SENSOR_COLLECTOR

- com.google.android.location.ALARM_WAKEUP_SENSOR_UPLOADER

- com.google.android.gms.nlp.ALARM_WAKEUP_ACTIVE_COLLECTOR

- com.google.android.gms.nlp.ALARM_WAKEUP_ACTIVITY_DETECTION

- com.google.android.gms.nlp.ALARM_WAKEUP_BURST_COLLECTOR

- com.google.android.gms.nlp.ALARM_WAKEUP_BURST_COLLECTION_TRIGGER

- com.google.android.gms.nlp.ALARM_WAKEUP_LOCATOR

- com.google.android.gms.nlp.ALARM_WAKEUP_PASSIVE_COLLECTOR

- GPS_ALARM_BALANCED_ACCURACY

Alarms

(Allow every 9999999 seconds or max)

- com.facebook.analytics.service.AnalyticsEventUploader.ACTION_ALARM

- com.google.android.gms.common.receiver.LOG.CORE_ANALYTICS

- com.google.android.gms.common.receiver.LOG_CORE_ANALYTICS

- com.google.android.gms.analytics.ANALYTICS_DISPATCH

- com.google.location.internal.AnalyticsUploadIntentService

Wakelocks

(Allow every 7200 seconds or 2 hours)

- *net_scheduler*

- AlarmService#updateNTP

- ConnectivityService

- StartingDockService

- wake:com.whatsapp/.AlarmService

Wakelocks

(Allow every 43200 seconds or 12 hours)

-

Wakelocks

(Allow every 86400 seconds or 24 hours)

- QcConnectivityService

Location wakelocks

(both rough and fine)

- NlpWakeLock

- NlpCollectorWakeLock

Wakelocks

(Allow every 9999999 seconds or max)

- Analytics Wakelock

- *job*/com.facebook.katana/com.facebook.analytics2.logger.LollipopUploadService

- JobSchedulerHack-com.facebook.analytics2.logger.LollipopUploadService

- UploadServiceLogic-com.facebook.analytics2.logger.LollipopUploadService

DANGEROUS

- DO NOT LIMIT / DENY

Wakelocks

- *backup* -(CAUSES REBOOT)

- AlarmManager (alarm clock can stop working, etc.)

- Icing (reported to force close Google Play services, etc.)

- pkg_move_lock (bootloop reported)

- UlrDispatchingService (Google play services has stopped)

Alarms

- com.oasisfeng.greenify.CLEAN_NOW (Greenify stops hibernating apps)

- com.system.analytics.cpa.service.Myservice (reported to force close FB Messenger)

Services

- com.google.android.gms/.checkin.CheckinService (its related wakelock will run wild)

- com.google.android.gms/.checkin.EventLogService (its related wakelock will run wild)

- com.google.android.gms/com.google.android.libraries.social.autobackup.FingerprintScannerIntentService (its related wakelock will run wild)

(also see other recommendations within Amplify)

Not Recommended

Wakelocks

- ALARM_WAKEUP_LOCATOR (required for "in Vehicle" trigger in Automation apps)

- AudioMix - affects notification sound

- ALARM_ACTION(#####) - WeChat will just create another (number)

- android.appwidget.action.APPWIDGET_UPDATE - affects widget accuracy (widgets drain battery, your call

- StartingAlertService - calendar notifications won't trigger

(also see other recommendations within Amplify)

Deny these Ads/Privacy related Services

After disabling any service,

reboot

the phone because it is dangerous to disable any service on-the-fly according to Amplify so it's only disabled on a reboot. Read warning here.

- com.facebook.katana/com.facebook.backgroundlocation.reporting.BackgroundLocationReportingNewImplService

- com.facebook.katana/com.facebook.analytics.service.AnalyticsService

- com.facebook.katana/com.facebook.analytics2.logger.LollipopUploadService

- com.facebook.katana/com.facebook.analytics2.logger.GooglePlayUploadService

- com.facebook.katana/com.facebook.videoads.scheduler.VideoAdsFetchService

- com.google.android.gms/ads.jam.NegotiationService (reported to force close Google Play Services on some devices)

- com.google.android.gms/.ads.social.GcmSchedulerWakeupService

- com.google.android.gms/.analytics.AnalyticsService

- com.google.android.gms/.analytics.service.PlayLogMonitorIntervalService

- com.google.android.gms/.analytics.service.RefreshEnabledStateService

- com.google.android.gms/com.google.android.location.internal.AnalyticsSamplerService

- com.google.android.gms/common.analytics.CoreAnalyticsIntentService

- com.sonymobile.enterprise.service/.GoogleAnalyticsLogger

- com.sonyericsson.android.socialphonebook/.analytics.GaInitService

- com.sonyericsson.conversations/com.sonymobile.conversations.analytics.GaInitService

- com.sonyericsson.extras.liveware/.analytics.AnalyticsService

NOW TESTING (please help to test and confirm, thank you!)

Nothing.