yashsingh1/xdaforums huggingface dataset:
[Android General] Ad.Shk2:
Ok, Ive just limited the high firing ones to 41400.

Also, I see under Wakelocks in Amplify, thatContextManagerWakeLock has fired 42,430 times. It has not been limited yet. Is it safe to limit it?
[Android General] Portgas D. Ace:
As far as I remember, this one is required for proper functionality. After limiting everything with Amplify, clear its stats and wait several days. Check again the stats afterwards.
[Android General] SFC-JT:
Hi,

I've just started playing with Xposed, Greenify and Amplify as I was getting really bad battery drain on my Samsung Galaxy SIII (i9300)

I think I've gone a bit too far - I think that I've nullified the wakelocks and services that were draining my battery by keeping the GPS and Google Play Services awake. But now I get extremely delayed Gmail notifications, which is something I don't want - when I get email, I want to know about it.

There are no services currently limited. Current settings are :

Alarms:

com.google.android.location.nlp.ALARM_WAKEUP_LOCATOR - 240

Wakelocks

*net_scheduler* - 240

Network Stats - 240

fingerprint_scanner_local - 240

LocationManagerService (a massive wakelock issue for me) - 41400

NlpWakeLock - 41400

NlpCollectorWakelock - 41400

Obviously, I think it's one of the last 3 wakelocks that I've limited. Can anyone tell me which one would relate specifically to Gmail sync ??? :confused:
[Android General] nick1467:
hi

are these settings safe to use ? because i saw some of the wakelocks on this thread in another thread too and they said some problems (such as bootloops) i'm really confused cause i'm a beginner thanks
[Android General] raptorskate:
My best battery life until now, using Moto X Play.

-Greenify

-Amplify

-ForzeDoze
[Android General] carlloss:
everything is good or should I change something?
[Android General] wogooo:
I reinstalled BBS, but it doesnt work...i get a white screen with green edges, then the app is not responding message. I have root and Android 6.01. Any ideas?
[Android General] Portgas D. Ace:
Some location-related alarms that are part of the guide, limit them and you are okay.

Alarms: 8, Intent: CONTEXT_MANAGER_ALARM_WAKEUP_158846105 -> use Amplify's regex function to limit this one (use Alarms: 8, Intent: CONTEXT_MANAGER_ALARM_WAKEUP_[0-9]{3,} and limit it to 9999999)

Alarms: 43, Intent: com.facebook.rti.mqtt.e.e.ACTION_INEXACT_ALARM.MqttLite.com.facebook.orca -> related to FB Messenger, you could either limit this alarm to 3600 (if you are okay with notifications once per hour) or greenify FB Messenger
[Android General] dedo1996:
What's wrong with that?
[Android General] Andiii:
a logfile with a lot of time in Screen On (): 55 m 5 s 23,2% won't tell very much. You may take another one when in idle

like described here
[Android General] knpk13:
Update BBS to latest beta and post an idle log file of about 8 hours (overnight). That means no screen on time and no using the phone. Read the OP for instructions. Tag Portgas D. Ace when you do all of that.
[Android General] Nokiacrazi:
Using HTC 10, custom rom, custom kernel, rooted, xposed, amplify and greenify. Using recommended settings noted in this thread and other various posts and general tinkering. Any help with this idle log?
[Android General] v7:
Wear connected?

wlan_rx_wake (): 15 m 4 s

Are you using static IP?

__

v7

XDA Assist
[Android General] v7:
Anything limited apart from the OP?

Have you greenfied Gmail?

__

v7

XDA Assist
[Android General] :
I seem to see a few conflicts between the Amplify settings here and this thread: xdaforums.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588

Has anyone successfully combined these two?
[Android General] aidy.lucas:
I've always used one or the other, usually the one in the link you posted though I've never really needed to limit anything for more than a Hour and still have more than respectable stand by time. Something is probably limited that shouldn't be limited or its/they are limited way too long only real way to find out apart from trawling through Logs is unlimit one by one till you come to whatever is giving you the problem then see if it runs OK unlimited. Then if you relimit them start with small numbers like 240 see how it is then keep increasing slowly. If that still doesn't help I'd clear the Amplify data and start again using just one guide
[Android General] :
So, I have two questions. There's a 'Doze on the go' feature in the 'Aggressive Doze' section in Greenify. Should I enable that?

Also, my WiFi disconnects after screen off. Is this normal?
[Android General] speedy56:
Wifi settings -keep wifi on during sleep - always

Do you have it set like that?
[Android General] SFC-JT:
Hi

No, I don't Greenify Gmail. I only have Greenify standard so I don't have the option to do so.

I've been playing around with setting over the last couple of days and it seems to have gotten a bit better. Current settings are:

Alarms:

com.google.android.location.nlp.ALARM_WAKEUP_LOCATOR - 240

com.google.android.location.ALARM_WAKEUP_LOCATOR - 240

Wakelocks

*net_scheduler* - 3600

Network Stats - 800

fingerprint_scanner_local - 3600

LocationManagerService (a massive wakelock issue for me) - 2400

NlpWakeLock - 3600

NlpCollectorWakelock - 3600

GCoreFlp -240

One thing that seems to have helped a bit was the app Play Services Info (I'd post a link, but I don't have enough posts to do so - it's in the Play Store)

It seems that there has been updates to Google Play Services that my phone isn't getting - even if I deleted Google Play Services, reset it to factory version and allowed it to update, it would still be a couple of revisions behind the latest. This app pointed me towards the latest version - you have to be careful to select the correct APK for your phone (read the instructions on how to determine that). Updating Google Play Services manually to the latest version seems to have helped some of my issues.
[Android General] Nokiacrazi:
@v7

Yes Android wear connected specially Huawei watch and yes wireless is dynamic. I can assign a specific IP to phone if it helps. Any other suggestions? Alarms looking OK?
[Android General] lepa71:
@v7

Here is the airplane mode with sd card removed.

https://drive.google.com/file/d/0Bwga8b5AaM9EdlhqQXpIMS05eGM/view?usp=sharing
[Android General] v7:
Try to assign Static IP and get me a dump.Drain seems fine.0.5%/hr with watch connected ain't bad.

__

v7

XDA Assist
[Android General] v7:
This seems good.

Limit NlpCollectorWakeLock to 41400.

Now get me a dump on WiFi without the SD card.

__

v7

XDA Assist
[Android General] Formhault:
Hello v7! First of all, I gotta thank you for your effort in making this guide. I've read a lot of good stuff about Amplify, saw people are extremely happy with it. So... I've finally decided to join them.

So... In the ALARMS tab, I can't find the following :

com.oasisfeng.greenify.CLEAN_NOW

[/B]

Alarms(Allow every 3600 seconds)

android.appwidget.action.APPWIDGET_UPDATE

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

I've read the FAQ, but this is very weird. I can't find more than half of the Alarms... Same for Wakelocks and Services. I could only find a few of them...

Thank you in advance!
[Android General] v7:
Did you install Amplify recently?

If so,please wait for a day or two.It'll take sometime for the list to populate :)

__

v7

XDA Assist
[Android General] Formhault:
Yeah, I just installed it about an hour ago. Will let it settle for a while then. Thanks :D

Meanwhile, I did Power Nap and AppOpsXposed, too. Not sure about the last one, actually, since not all settings showed up. Is the AppOpsXposed part really that important in achieving better battery life? I mean compared to the other 4 apps :)

Can I do what you suggest we do with AppOpsXposed, with built-in Privacy Guard? I am running the latest Resurrection Remix ROM, which has that. I can just disable "keep awake" for Google Play Services and Google Services Framework... Or the functionality of AppOpsXposed is better?
[Android General] Formhault:
I don't know what happened, but Xposed Framework was just knocked out :/

I tried to flash it again. No dice. I flashed the Xposed Uninstaller then Xposed again. Still nothing.

Then I uninstalled the Xposed apk and reflashed Xposed. This time it worked. Still not sure what went wrong... :eek:

I think Power Nap killed it. Xposed Framework does not appear in the Whitelist... Only Xposed Installer shows up. Since I couldn't whitelist Framework... it went down, eh? :/
[Android General] v7:
AppOpsXposed or Privacy Guard.You can use either of them.

__

v7

XDA Assist
[Android General] v7:
No way.PowerNap can't break xposed.Might be some other app.Framework isn't an app so it won't pop up in PowerNap.

__

v7

XDA Assist
[Android General] chrcol:
interesting guide, but most of the amplify stuff was no good for me as the alarms did not exist on phones.

The appops stuff is good tho.
[Android General] Formhault:
Good then. I'm gonna use Privacy Guard :D
[Android General] Formhault:
Well, I don't know what other app could have messed with Xposed :eek:

In your tutorial, you suggested that we whitelist Xposed Framework, so... :D
[Android General] v7:
I meant the Xposed Installer :)

I'll edit that post now.

__

v7

XDA Assist
[Android General] v7:
If you installed Amplify recently,wait for a day or two.It'll take sometime for the list to populate.

__

v7

XDA Assist
[Android General] Formhault:
You should put that in the FAQ as well :D

Not trying to give you a hard time or anything. That really is not my intention. Hope you don't see it that way :D

---------- Post added at 12:09 PM ---------- Previous post was at 12:08 PM ----------

Mkay. I'll re-do the Power Nap thing (I ditched it fearing that was the root of the problem) and see how things go.

What logs should I provide to you should the problem reappear? Assuming you can help :D
[Android General] v7:
FAQ is now updated.

The issue probably won't happen again.Whitelist Xposed Installer in PowerNap.

__

v7

XDA Assist
[Android General] Formhault:
Will re-do that. Hope my phone doesn't go haywire again :D

Left home this morning, after finishing doing this tutorial. Less than an hour later, I noticed Xposed was knocked off :silly: and things went south. Needless to say, I couldn't benchmark how fast the battery was draining anymore, since I had to reboot a few times :p .

Another change :D . See post #5, where you said "XDA Thread for PowerNap is closed down due to lack of activity from the developer."

I looked for that thread, wanted to see why development was halted. Saw the topic is not closed (it must have been re-opened). Not sure what the developer's status is, though, but at least the thread is alive :D

Also, if my PayPal didn't get banned due to "suspicious activity", I'd donate. :mad:
[Android General] v7:
I was away for sometime due to some personal issues.

Will update the thread soon.

Thanks for considering a donation :)

__

v7

XDA Assist
[Android General] Formhault:
Hope everything is alright.

Perhaps you'll make an app some day :) I sure as hell can't make another PayPal account...
[Android General] Andiii:
i had problems to find the Alarms in Amplifiy too. I clean flashed my smartphone two days ago and i am not able to find for example:

LocationManagerService

ALARM_WAKEUP_PASSIVE_COLLECTOR

android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED

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

android.app.backup.intent.RUN

but i found that some alarms were not found in amplifiy's search because i have copy and pasted the names and there are some faults in spelling for example there is a space in "SAMPLE":

android.net.ConnectivityService.action.PKT_CNT_SAM PLE_INTERVAL_ELAPSED

space in "Service"

com.facebook.common.executors.WakingExecutorServic e.ACTION.ALARM.com.facebook.katana

space in "ALARM:

ALARM_WAKEUP_LOCATOR(com.google.android.gms.nlp.AL ARM_WAKEUP_LOCATOR)

space in gms

ALARM_WAKEUP_BURST_COLLECTOR(com.google.android.gm s.nlp.ALARM_WAKEUP_BURST_COLLECTOR)

space in BALANCED

com.google.android.gms.location.fused.GPS_ALARM_BA LANCED_ACCURACY

$ (the alarm named in my phone was written without this char)

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

% and checkinCheckin (the alarm named in my phone was written without % but with a dot between the two checkin )

com.google.android.gms/.checkinCheckinService%Receiver

there were many more that you will not find if you copy and paste the witten names from the OP into amplifies search.... Its not a problem for me because i have found out why i did not get the search results.... Maybe this can be fixed in future...
[Android General] Formhault:
v7, one more question.

Shouldn't we also whitelist Android System and Google Services Framework in PowerNap? Oh and if we leave a podcast playback in background, shouldn't that player also be whitelisted?
[Android General] BIGWORM:
With Force Doze, any music player I use I white list otherwise it'll be closed after a time.

Sent from Toastmade 6P using TAPATAPA
[Android General] Formhault:
Force Doze... In Greenify or Power Nap? Or both?
[Android General] v7:
You might want to whitelist the player too.

__

v7

XDA Assist
[Android General] Annunneo:
Is everyone using the new beta for powernap version 1.0?
[Android General] kamikaze702k:
I thought the latest is still 0.7a

Can't find any news regarding the new beta 1.0

Do you have a link to it?
[Android General] Annunneo:
My apologies i have the same version as you.[emoji5]
[Android General] namphamvt:
Does anyone here have the solution for 15510000.mdmpm_pdata wakelock?

My phone got deepsleep well but this wakelock still drain my battery while the phone was sleeping. That's really weird :(
[Android General] Neuz:
This is my dump. Can you look if there is something wrong or strange in it?

Thank you!

http://cloud.tapatalk.com/s/57983a35e892d/BetterBatteryStats-2016-07-26_050712457.txt

Tapatalked from my OP3.
[Android General] eternalMortality:
-deleted-

Sorry, I wish I had your problems. I tried to go through your stats, but are you planning a 3-week trip to Uganda w/o a charger?

Maybe I should reconsider my role in this.
[Android General] Portgas D. Ace:
If you flashed your ROM two days ago, then it is quite obvious why those elements are not shown in Amplify: they simply haven't been triggered by the system yet. Amplify will only list elements (wakelocks, alarms) that have been called at least once. Give it some more days and you might find more of those.

The fact that you can't find those elements by copy-pasting them into Amplify is due to the fact that XDA inserts some SPACE bewteen letters when a word becomes too long. Therefore I would recommend to pick up the keyword from one alarm/wakelock and search for it instead of the whole element name.
[Android General] v7:
Post the dump here.

__

v7

XDA Assist
[Android General] v7:
Limit *net_scheduler* to 10800 seconds.

You had any Alarm/Reminder set?

__

v7

XDA Assist
[Android General] Neuz:
Yep. Morning alarm. Why?

BTW thank you for your help!

Tapatalked from my OP3.
[Android General] v7:
There was a wakelock related to Clock.That's why I asked :)

__

v7

XDA Assist
[Android General] Neuz:
Yes, I've see in amplify. Thank you again sir :)

Tapatalked from my OP3.
[Android General] pettigrew95:
Awesome guide, loving it! I am curious about one Wakelock I am seeing causing a battery drain. The wakelock is called "BatteryServiceUpdateStats_3" ...Does anyone know what this does exactly and can it be limited in Amplify and if so, how many seconds? Thanks!
[Android General] v7:
High numbers?

Can you share the dump?

__

v7

XDA Assist
[Android General] pettigrew95:
How do I do a dump from Amplify? Can't seem to find that option. Thanks.
[Android General] v7:
Read FAQ in post#6 and get me a BBS dump ;)

__

v7

XDA Assist
[Android General] pettigrew95:
I uninstalled BBS because it wasn't showing me the correct stats...Can I reinstall and get the dump or does it have to repopulate?
[Android General] MihaiSG:
You can't. Make some screenshots from Amplify or post a dump from BetterBatteryStats.

Wait some hours for an accurate result.
[Android General] pettigrew95:
Here is the screenshot of the wakelock from Amplify.
[Android General] v7:
Reinstall and follow the instructions in the FAQ.

__

v7

XDA Assist
[Android General] sgsleeping:
Hi there

Can assist to check the BBS?
[Android General] v7:
Data was active?

__

v7

XDA Assist
[Android General] sgsleeping:
Y

Yesss
[Android General] v7:
Stats look good :)

No issues!

__

v7

XDA Assist
[Android General] xda26:
here's my dumpfile can you read

https://drive.google.com/file/d/0B5ZKC010xaBwTk1LeUNaY2hrY3c/view?usp=drivesdk
[Android General] v7:
Screen On (): 1 h 44 m 16 s* 11.7%

Read FAQ in post#6 and get a dump :)

__

v7

XDA Assist
[Android General] sgsleeping:
On screen drainage terrible..
[Android General] Portgas D. Ace:
Screen-On drainage depends on your personal setup and usage behaviour. This guide is about minimizing idle drain.
[Android General] sgsleeping:
Any guide that can help?
[Android General] Portgas D. Ace:
Don't use battery-draining apps such as FB, FB Messenger or Instagram. Use battery friendly alternatives instead. Maybe think about switching your ROM or use another custom kernel.

Beside this (as saidd before) it all depends on your personal usage pattern.
[Android General] sgsleeping:
Any guide that can help?

---------- Post added at 11:00 AM ---------- Previous post was at 10:59 AM ----------

Any rom that u recommend?
[Android General] Portgas D. Ace:
Paranoid Android.
[Android General] Formhault:
Why not Resurrection Remix or Dirty Unicorns? Just curious.
[Android General] Portgas D. Ace:
Both are also good, but I prefer PA. Just a personal preference.
[Android General] DB126:
Define "terrible", typical activities (browsing and active game play can have markedly different power consumption profiles), age of battery and things you may have already done to mitigate the drain (eg: lower brightness).
[Android General] pettigrew95:
Alright, I got almost 14 hours of stats from BBS. Check attached for the log, thank you!
[Android General] v7:
Screen On (): 31 m 6 s 3.8%

Again you didn't read the FAQ properly.

Pull the dump immediately after you turn on the screen from sleep.

__

v7

XDA Assist
[Android General] pettigrew95:
Hm, I didn't interpret that from the instructions :( ...I took it off the charger last night after it hit 100% and had some normal use on it and then I went to bed where it sat idle all night.
[Android General] v7:
1.Charge the phone to 100%

2.Don't use the phone,leave it idle for 6hrs+

3.Wakeup the phone and pull the BBS dump immediately and post it here.

__

v7

XDA Assist
[Android General] pettigrew95:
My apologies, I imagined the idle time during sleep would suffice as being the idle 6+ hours time. Is my BBS dump useless because of the SOT?
[Android General] v7:
Yeah!With 30min SOT,I can't troubleshoot the issues.

__

v7

XDA Assist
[Android General] pettigrew95:
Blah, I guess tomorrow morning around 8 AM EST I will post my new BBS, can't go 6 hours during the day without turning my screen on! My apologies!
[Android General] lepa71:
@v7

Here is BBS for airplane on and wifi only on as you asked

https://drive.google.com/file/d/0Bwga8b5AaM9ES01zWHBvS2I1Rlk/view?usp=sharing
[Android General] lolemenos:
you sir are a hero for reading all the logs keep up the good job
[Android General] v7:
The exchange services and sync caused some drain.

The mmc_detect wakelock is still present.I guess it's an issue with the firmware.

__

v7

XDA Assist
[Android General] raptorskate:
Is it okay if I limit WhatsApp's backup messages alarm? And for how long?
[Android General] v7:
Limiting it may break the functionality.

__

v7

XDA Assist
[Android General] ProudRed:
Even after greenifying apps lile facebook, google play services are waking up and causing battery drain. Through appopsxposed I have disabled the wake up feature of both, still not working. Is there any way to prevent them from waking up ?
[Android General] A2JHero:
thanks!
[Android General] dirkdigles:
Noticed I'm now getting a ton of ACTION_CHECK_QUEUE alarms. I'm not sure if this is an app or what, not much has changed on my phone. I installed Firefox but otherwise can't think of something that might cause this?

Maybe new Play Services? Anyone else seeing this behavior?

I'm on a GS4, stock rooted 5.1 gpe, play services 9.4.52
[Android General] UrbanLagoon:
I'm having trouble with my Huawei watch. It's connected but nothing else is working. I dont get notifications on the watch, and apps from my phone that usually connect to my watch do not "speak" to each other. Is there a service that your guide blocks?
[Android General] Nokiacrazi:
Have you blocked any wakelocks alarms or services with Android wear or wearable in the name? Using the guide and some tweaks my Huawei watch connects and delivers notifications fine.
[Android General] v7:
It's not a wise move to Greenify GooglePlayServices.Amplify handles GooglePlayServices well.No need to Greenify it.

Try to cut the wakeup path for Facebook.

__

v7

XDA Assist
[Android General] v7:
Is anything limited/blocked apart from OP?

__

v7

XDA Assist
[Android General] v7:
[MENTION=4312568]Paragon X[/MENTION] Greenify is having issues with Whatsapp on some ROMs.I've posted the issue in the Greenify Sub-Forum.Let's wait for an update from [MENTION=4376588]oasisfeng[/MENTION].For now,keep Whatsapp degreenified.

Tapped from my furious dogo ;)
[Android General] topbasework:
Thanks for your reply..
[Android General] sachin.soman:
As suggested I have done a Clean install on a new rom and taken the dumps.

ROM - chroma

GApps - gapps-L-5-1-15

Kernel Stock
[Android General] onlytanmoy:
[MENTION=5867207]vaisakh7[/MENTION]>> please find the attachments mate. hopefully i did it 'right' this time :)

Also one thing worth mentioning, overnight (~ 6 hours) battery drained from 100% to 96% but when i switched on Wi-Fi and started using whatsapp, Gmail battery drained from 96% to 92% in just 10 mins or so. Not normal, right?
[Android General] v7:
I suspect a bad battery.I guess it's time to replace your battery.
[Android General] v7:
[MENTION=5794110]onlytanmoy[/MENTION] Your Idle drain is good.You have a kernel issue.msm_otg wakelock is running in background although it doesn't have any impact on the battery life.Changing the ROM/Kernel fixes the issue.

The drain after using the phone is pretty normal.It depends on the nature of the apps and the services they run.You can test again tonight and see if it drains like it again.
[Android General] v7:
[MENTION=1204099]tangcla[/MENTION]

WearableService

WatchdogService
[Android General] onlytanmoy:
[MENTION=5867207]vaisakh7[/MENTION] >> thanks for the analysis bro. I don't want to switch the rom now...using resurrection remix. But OK to flash a new kernel. Please can you suggest one?
[Android General] v7:
I assume you've Moto G(2014).Here's a Custom Kernel for your Device.