✭[GUIDE][26-07-2016]Extreme Battery Life Thread(Greenify+Amplify+Power Nap)✭

Did this thread help in improving your battery life?

  • Not at all!

    Votes: 288 9.6%
  • Little Bit

    Votes: 746 24.8%
  • Noticeable Improvement

    Votes: 1,249 41.6%
  • Saved my day!

    Votes: 723 24.1%

  • Total voters
    3,006
Search This thread

marcdw

Senior Member
Sep 24, 2014
5,750
2,894
58
Baldwin Park
It is a dump, like you provided, but after 6 or more hrs idle. Screen on time needs to be less than 1 minute. Most people do this overnight while sleeping, just charge phone before bed, set a custom reference, turn phone off and don't touch it till the morning. Get a dump immediately in the morning.
In case anyone takes it literally, "turn phone off" doesn't mean power off but put it to sleep / screen off / idle. [emoji6]


LG G3 D851, AOSP-CAF 6.0.1, NanoDroid, MultiROM, XDA Legacy
 

Estebanium

Senior Member
Aug 5, 2015
414
85
It is a dump, like you provided, but after 6 or more hrs idle. Screen on time needs to be less than 1 minute. Most people do this overnight while sleeping, just charge phone before bed, set a custom reference, turn phone off and don't touch it till the morning. Get a dump immediately in the morning.
Thank you for clarification. I "turned the phone off" and did a idle dump. While idle, I had WLAN turned on and in a network. This is different to my day, because then I have WLAN turned on, but without being in a network.
 

Attachments

  • BetterBatteryStats-2019-02-07_063026538.txt
    155.4 KB · Views: 23

githyanki

Senior Member
Mar 11, 2009
1,659
879
Edmonton
Thank you for clarification. I "turned the phone off" and did a idle dump. While idle, I had WLAN turned on and in a network. This is different to my day, because then I have WLAN turned on, but without being in a network.
.6% per hour is a good drain rate. The only thing that even stands out is Netflix client seemed to be running for about 12 minutes.
 

hyborian

Senior Member
Oct 25, 2017
1,186
369
IMHO, Leandroid is one essential app to consider in conjunction with the rest :

https://forum.xda-developers.com/showthread.php?t=2743316

Some functions work without root too, I use it on my unrooted phone, together with Greenify (for hibernation) and Naptime (for aggressive doze, I prefer this over Greenify's).

On my rooted phone, I include Servicely.

All work well together, even with Pie.
 
Last edited:

DB126

Senior Member
Oct 15, 2013
15,289
10,060
IMHO, Leandroid is one essential app to consider in conjunction with the rest :

https://forum.xda-developers.com/showthread.php?t=2743316

Some functions work without root too, I use it on my unrooted phone, together with Greenify (for hibernation) and Naptime (for aggressive doze, I prefer this over Greenify's).

On my rooted phone, I include Servicely.

All work well together, even with Pie.
Nice to hear some of these tools still work on Android 8+. That said, none are needed as Android's native power/radio/sensor management is quite effective in Android 7+ assuming the kernel is solid and no hardware issues. There will always be a few edge cases where 3rd party mods are marginally beneficial. The remaining 98% of the world is best served by leaving things alone.
 

hyborian

Senior Member
Oct 25, 2017
1,186
369
Nice to hear some of these tools still work on Android 8+. That said, none are needed as Android's native power/radio/sensor management is quite effective in Android 7+ assuming the kernel is solid and no hardware issues. There will always be a few edge cases where 3rd party mods are marginally beneficial. The remaining 98% of the world is best served by leaving things alone.

Right you are ... I am in the 2% I guess lol. It's good that Google is getting their Android better, after all, GAPPs is a gobbler ...

The rest of my family have apples and pies, none of them probably have anything you will find here in xda. They don't have the time for that, and they are heavy social app users, multiple apps at that, just like many others today.

They'll go through their batteries real fast in a day, whether apple or pie, but it doesn't bother them at all as they have their battery chargers with them at all times. It's routine to have several phones and chargers charging at night. I rarely use my charger, usually only after I play a game for hours passing the time while waiting for them shopping, visiting the hairdresser, etc.

Signs of the times, the telco has just upgraded their plans from 3GB data limit per month to 40GB data limit per month, no increase in price. Same with my smaller plan, 10GB increase free.

I think I'll just join them and forget about all these, just have a charger ready lol, easy peasy


.
 
Last edited:
  • Like
Reactions: ninjanmizuki

DB126

Senior Member
Oct 15, 2013
15,289
10,060
Right you are ... I am in the 2% I guess lol. It's good that Google is getting their Android better, after all, GAPPs is a gobbler ...

The rest of my family have apples and pies, none of them probably have anything you will find here in xda. They don't have the time for that, and they are heavy social app users, multiple apps at that, just like many others today.

They'll go through their batteries real fast in a day, whether apple or pie, but it doesn't bother them at all as they have their battery chargers with them at all times. It's routine to have several phones and chargers charging at night. I rarely use my charger, usually only after I play a game for hours passing the time while waiting for them shopping, visiting the hairdresser, etc.

Signs of the times, the telco has just upgraded their plans from 3GB data limit per month to 40GB data limit per month, no increase in price. Same with my smaller plan, 10GB increase free.

I think I'll just join them and forget about all these, just have a charger ready lol, easy peasy.
Active and idle power consumption are completely different things. The former is largely under user control with panel configuration/brightness and radio conditions playing a huge role. Nothing here will do much to put a dent in those curves. In contrast, idle consumption is where most power hacks/tweaks kick in. Prior to doze and changes to Google policies many 3rd party apps engaged in abusive/aggressive background activity that kept components awake from prolonged periods. Those days are over. Alphabet haters will call out Google Play Analytics/Apps/Services but those components consume relatively little power when the device is idle. If you suppress them during sleep they will do their work shortly after manually waking your device potentially leading to lag as your gizmo struggles to catch-up. The tools in this thread made sense once-upon-a-time. Life moves on.

tl;dr - don't be a dinosaur :)
 

kanadali

Member
Mar 17, 2017
31
6
I'm facing idle battery drain issue. It basically sucks all my juice. It's called "mobile network standby" i blocked all the alarms wakelocks services from this guide through amplify. Can someone help to find this alarm/wakelock /service? It's called "mobile network standby" i believe i can block this via amplify.
I'm using blackview bv9500 pro oreo 8.1 rooted with magisk.
 

strongst

Senior Moderator - Developer Committee
Staff member
Sep 18, 2007
13,311
16,417
thank's
HTC Desire
Smart Watches
I'm facing idle battery drain issue. It basically sucks all my juice. It's called "mobile network standby" i blocked all the alarms wakelocks services from this guide through amplify. Can someone help to find this alarm/wakelock /service? It's called "mobile network standby" i believe i can block this via amplify.
I'm using blackview bv9500 pro oreo 8.1 rooted with magisk.
It's your radio module, but wakelock/alarm does not mean it's bad and even when it's high it's just the percentage not the absolute value. Nevertheless, please make sure to have good mobile phone signal and switch to another band.
A dump file from better battery stats might help to analyze further :good:
 
  • Like
Reactions: Oswald Boelcke

DB126

Senior Member
Oct 15, 2013
15,289
10,060
I'm facing idle battery drain issue. It basically sucks all my juice. It's called "mobile network standby" i blocked all the alarms wakelocks services from this guide through amplify. Can someone help to find this alarm/wakelock /service? It's called "mobile network standby" i believe i can block this via amplify.
I'm using blackview bv9500 pro oreo 8.1 rooted with magisk.
Sigh - like many before you you'll likely discover blocking alarms/services/wakelocks via Amplify or any other tool almost always leads to device instability and an increase in power drain. Don't drink the lemonade. Disable Amplify, reboot your device and see what happens. If the drain persist you can use a tool like BBS to identify the culprit(s) and deal with the problem at its source.
 
  • Like
Reactions: Oswald Boelcke
Hello @Davey126, aside from Facebook Messenger and other FB-related apps, what other good apps are worth hibernating via Greenify? Currently I only have 4 apps, namely, FB Messenger, Twitter, Skype and Viber. Moreover, is Doze on the Go benign on Android Oreo? I'm kind of confused as I've read that Doze is implemented differently between Nougat and Oreo (current device).

Thanks and good day!
 
Last edited:

DB126

Senior Member
Oct 15, 2013
15,289
10,060
Hello @Davey126, aside from Facebook Messenger and other FB-related apps, what other good apps are worth hibernating via Greenify? Currently I only have 4 apps, namely, FB Messenger, Twitter, Skype and Viber. Moreover, is Doze on the Go benign on Android Oreo? I'm kind of confused as I've read that Doze is implemented differently between Nougat and Oreo (current device).

Thanks and good day!
Doze received several welcome refinements in Oreo but otherwise functions similarly to previous implementations. Greenify's "Doze on the Go" is only needed Android 6 based ROMs. No reason proactively hibernate apps in Oreo; Doze will prevent disruptive background activity. I use Greenify on occasion to rein in annoyances, eg: apps noticing some foreground behavior and offering to 'assist' (grrr!). That said, there is little need for Greenify or any other tool listed in this thread on Android 8+ from a power management perspective.
 
  • Like
Reactions: Revontheus
Doze received several welcome refinements in Oreo but otherwise functions similarly to previous implementations. Greenify's "Doze on the Go" is only needed Android 6 based ROMs. No reason proactively hibernate apps in Oreo; Doze will prevent disruptive background activity. I use Greenify on occasion to rein in annoyances, eg: apps noticing some foreground behavior and offering to 'assist' (grrr!). That said, there is little need for Greenify or any other tool listed in this thread on Android 8+ from a power management perspective.
I do however remember you mentioning hibernating "bad actors", in this case Facebook apps. I've noticed that they stay awake all the time even when I don't want to be online and use a ton of juice and memory. Would hibernating it in this scenario be a warranted decision?
 

DB126

Senior Member
Oct 15, 2013
15,289
10,060
I do however remember you mentioning hibernating "bad actors", in this case Facebook apps. I've noticed that they stay awake all the time even when I don't want to be online and use a ton of juice and memory. Would hibernating it in this scenario be a warranted decision?
Yes - with caveats. Newer Facebook builds probably don't consume the resources you think unless verified with a tool like BBS or GSAM. There will be some lite background draw while other apps are in the foreground. Hibernating will move that close to zero. Doze effectively does the same thing while the screen is off. That said, if an app is hibernated it less likely to 'wake' during Doze maintenance windows or 'notice'/react to other app behaviors. Downside is you may miss notifications and/or experience lag when relaunching the app as it races to catch up. I hibernate all social apps (anal about resource hygine) but you really don't need to given enhancements to Doze in Android 7/8 and Google policy changes that discourage abbusive behaviors. Guessing this is the same with Pie although I have no first hand experience.
 

huytruong3211

New member
Mar 4, 2019
2
0
Ampify not work

Ampify not work lg v10 android 7.0 for include
Not list packaged please help me

2019ad12e612-d47a-4e3b-9a4b-2937f27429a4.jpg

2019de64ce34-3f43-4f73-85f6-810d610cc325.jpg
 

zputnyq

Senior Member
Apr 19, 2013
619
278
i dont using XPrivacyLua :crying::crying::crying::crying:
I believe amplify doesn't work on some devices running android 7 eventhough it said it supports it,
the latest version also doesn't work on my device running on android 4.
As a suggestion, you can use other method to save your battery or disable app that cause battery drain.
I think using greenify is enough on android 7.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 811
    ✭[GUIDE][26-07-2016]Extreme Battery Life Thread(Greenify+Amplify+Power Nap)✭

    On the Portal News on 06-06-2015.

    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 is based on my experiments on attaining a better battery life.For any queries,reply within the thread.
    Use BetterBatteryStats and Wakelock Detector to acquire stats.You can also use Ampere to measure the current and get notifications when the device gets fully charged.


    If anyone is interested in supporting my work and wants to buy me a beer,log in to your PayPal and use my donation mail to donate.Select the purpose as "Services" :) Any donation is appreciated :D
    529
    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_SAMPLE_INTERVAL_ELAPSED
    • com.facebook.common.executors.WakingExecutorService.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.ALARM_WAKEUP_LOCATOR)
    • ALARM_WAKEUP_CACHE_UPDATER
    • ALARM_WAKEUP_BURST_COLLECTOR(com.google.android.gms.nlp.ALARM_WAKEUP_BURST_COLLECTOR)
    • com.google.android.gms.location.fused.GPS_ALARM_BALANCED_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_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)

    • 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.LollipopUploadService
    • JobSchedulerHack-com.facebook.analytics2.logger.LollipopUploadService
    • UploadServiceLogic-com.facebook.analytics2.logger.LollipopUploadService
    • *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.GoogleLocationManagerService(Location Service)
    • com.android.gms.Feedback.FeedbackService(Breaks Play Games)
    • com.android.gms.ads.AdRequestBrokerService
    • com.google.android.gms/com.google.android.location.network.NetworkLocationService(Location Service)
    • com.google.android.location.geofencer.service.GeofencerProviderService(GPS Service)
    • com.google.android.gms/com.google.android.location.copresence.service.ProximitySettingInjectorService
    • 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
    • CONTEXT_MANAGER_ALARM_WAKEUP_xxxxx

    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]+
      Code:
      CONTEXT_MANAGER_ALARM_WAKEUP_[0-9]{3,}

      [*]Set the interval to 9999999 seconds.

    Screenshots:
    Ff654y5.png

    uGLYCCs.jpg


    Regex Blocking

    TzY0nxi.jpg

    Gh3mXdq.jpg

    ZFgqRVN.png

    TXYqcMb.png

    358
    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.Using dark wallpapers(on AMOLED display) can help you save some bit of juice.

    Cell Network
    This is simple stuff,but results in noticeable improvement in battery life.Toggle LTE/3G to 2G while not in use.(While on WiFi).You can use Smart Network to switch 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 Services.You 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.
    Navigate to Settings->Location->Menu->Scanning->Turn off "Wi-Fi Scanning" and "Bluetooth Scanning"

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

    Is your battery gauge lying to you?:Take a look at this link.This thread explains why you get sudden drain after waking up from sleep.Many people should've noticed that the battery drains faster after keeping the phone idle for some time.It is very informative and is worth a read.
    335
    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 the support for the framework in Xposed for Lollipop and Xposed for MarshMallow threads.

    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

    Marshmallow Settings

    @oasisfeng introduced a new feature in Greenify 2.9 beta 1 which disables the "Motion Sensing" of doze.This can be achieved by turning ON the "Aggressive Doze" in Greenify settings.Unlike the default behaviour of doze,the device won't be kicked out of doze when a motion is detected.This helps in complete utilization of "doze".All you have to do is to enable the "Aggressive Doze" option in Greenify settings.See the attached screenshots.

    Apps to be whitelisted in doze are being tested.You can also contribute in testing :)

    Screenshots

    FuIRrnv.png

    xQwaZUb.png


    Aggressive Doze
    UKrvfMd.png

    UKrvfMd.png



    There's no need to hibernate all the apps.Do not Greenify Dialer or Messaging apps
    199
    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 Installer

    Screenshots:
    SbC7w9z.jpg

    M7LCYJQ.jpg



    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 CyanogenMod Privacy Guard).

    Downloads:

    AppOpsXposed

    You can use Privacy Guard to disable some permissions of Google Play Services and Google Services Framework

    Navigate to Settings->Hacks->Check FIX OP_WAKE_LOCK
    Disable the following Permissions of Google Play Services using AppOps

    • OP_ALARM_WAKEUP/Wake Up
    • Keep Awake

    Disable the following permissons of Google Services Framework

    • Keep Awake

    Use Auto Start Permission of AppOpsXposed to disable apps on Boot.Make sure you do not disable crucial System Apps.Disable unwanted user apps that trigger on Boot.