yashsingh1/xdaforums huggingface dataset:
[Android General] closee91:
Here is a link to my BBS dump and Amplify/Powernap/Greenify settings from post #1788 and #1794 the posts were cleaned up and added as a folder, per OP request. Here ya go! PM me if you have any questions.

https://drive.google.com/folder/d/0B2zBuxe-Qvzgb3NwMEwtU0lXZDA/edit
[Android General] Purerawenergy:
I had problems with power nap, but I think I may now know why. What ROM are you using and is it cool to pm you later with a questions about power nap? Sorry for OT.

Sent from the slippery slope.

---------- Post added at 10:51 AM ---------- Previous post was at 10:50 AM ----------

Question answered.

Sent from the slippery slope.
[Android General] closee91:
That's fine. Pm me whenever I'm using candy5

---------- Post added at 08:57 AM ---------- Previous post was at 08:55 AM ----------

@vaisakh7 this may be OT but do you think guides like this will still be relevant when android M and Doze are released?
[Android General] v7:
Let's wait for the devs to update their apps to be compatible with M once it is released.This was the exact same situation when LP was released.No Xposed!No Modules!Although it took some time,now Xposed supports almost 70% of the devices.Wait for the Rovo magic :)

Tapped from my furious dogo ;)
[Android General] daniel2744:
@ vaisakh7 after commenting with fellow M9 owners it seems like amplify might not be working on arm64 devices at the moment, should we use myandroidtools to at least limit the services or something until an update comes out? I also have a problem with greenify where if I restart my phone, the settings i have get unchecked and i have to go back and check them again. I'm using boost mode at the moment. I have already commented over at the thread but haven't gotten any real answer yet
[Android General] v7:
[MENTION=2562010]daniel2744[/MENTION] You'll have to wait for an update from the Amplify Dev.You can use MyAndroidTools to block the AnalyticsService of GooglePlayServices and Facebook apps.Blocking Location Service in MyAndroidTools breaks its functionality.

Have you tried reinstalling Greenify?

Tapped from my furious dogo ;)
[Android General] daniel2744:
Yes I have already tried that. For now as long as I don't reboot the phone, the settings seem to stick so I will have to just monitor it for now
[Android General] v7:
Maybe the dev is too busy for an update.Have you reported this on the Greenify Sub-Forum?If you haven't done that,do post it there.Let's see what he can do.

Tapped from my furious dogo ;)
[Android General] daniel2744:
Yes I have posted there too. sadly, i guess i have to wait for an update. for now it seems to work its just a minor issue. I'm most concerned with amplify not working lol. i might have to switch to my z3 for the moment just cause i get get better battery life from it. who knows lol. anyways thanks for all you hard work.
[Android General] v7:
NP :) I love what I do ;)

Tapped from my furious dogo ;)
[Android General] tersagun:
Amazing result Cloose!

I'm using a G3, too with Cloudy ROM and a custom, undervolted kernel. I'm tinkering for the last few days to fix Idle drain but still not totally successful (having 1.5% hourly drain even with 95% deep sleep).

I was getting thousands of alarms/wakelocks by the "Phone" which I was able to eleminate by disabling Fast Dormancy.

Now, I do not get that many alarms/wakelocks but still having wakelocks during deep sleep and a serious battery drain.

I do have some points that I wasn't able to understand as a novice Android user.

-Why exactly shall we use Greenify over Powernap; aren't they doing the same? i.e. sleeping/hibernating every app you ask? What is the difference? (Greenify may work during usage as well, maybe Powernap is off-screen only but my problem is mainly with idle drain).

-Does Powernap only have "apps" and not detailed services/processes? For example, will I completely hibernate Google Services or there is lots to choose like App Ops, Amplify etc?

-Amplifying alarms etc may help with the battery but blocking 1000 alarms means that there are actually apps still running to generate those alarms; isn't that eating battery, too? Or is it just too marginal compared to what would happen if those alarms/wakelocks wouldn't get blocked?

I got lost with trying soo many apps mentioned at different posts but this thread/guide seems like to be the most detailed and well thought so I may try to get rid of all those other apps.

Add:

I'm reading the whole thread from start; some nice information here and there.

I've seen this post by Vaisakh7;

"Whitelisting GooglePlayServices and Framework is inevitable(For getting PUSH to work).So the wakelocks and alarms of Google Services should be blocked by Amplify.That's what I've done

PUSH won't work unless you add the apps(With GCM) to the whitelist."

So, is the Push service a general Google Play process? I mean, even to receive notification from apps ( I don't mean FB in particular), Google Services and Framework should not be entirely disabled?
[Android General] closee91:
Amplify is to get specific and power nap is to stop all of it when screen off. But yeah you do need to whitelist some things for them to work. Post a BBS dump and I can look it over if you'd like
[Android General] v7:
[MENTION=2782388]tersagun[/MENTION]

1)Greenify and Power Nap works differently.While Greenify hibernates apps,Power Nap blocks all the wakelocks/alarms/services while screen off.

Greenify can save a lot of battery while using the device too.It prevents apps from running in background thus saving the memory and battery life.

2)Power Nap blocks services/wakelocks of all apps other than the whitelisted ones.

3)Amplify actually delays the wakelocks and alarms.It increases the intervals which the wakelocks/alarms run.This prevents the alarms/wakelocks to trigger every often and reduces battery drain caused by them.

4)You'll still get notifications from third party apps even if you don't Whitelist GooglePlayServices and GoogleServicesFramework.But for proper Sync and Functionality of Google Apps,whitelist both of them.

Tapped from my furious dogo ;)
[Android General] madboymatt:
This is a touch off topic, but does anyone know why bbs will not show full kernel wakelocks on my G2?

I've installed as system app and rebooted, I've also tried copying the download to priv-app, setting the permissions to 777 (using es file explorer I clicked every permission box) then installed the app, rebooted....nothing.

It shows partial wakelocks, but for kernel I only see attached.
[Android General] v7:
[MENTION=4659527]madboymatt[/MENTION] Set the permission to 644.

Tapped from my furious dogo ;)
[Android General] madboymatt:
OK, I just changed to 644 on the app in the priv-app folder, then reinstalled via that app. Let's see what happens. Thanks.
[Android General] haseogu:
This is the dump file from my device oppo find 7

https://www.dropbox.com/s/n98pry9zqq7rnkl/BetterBatteryStats-2015-07-10_110618754.txt?dl=0This
[Android General] v7:
[MENTION=4863289]haseogu[/MENTION] Are you following the OP?It seems that you haven't followed most of the steps from the guide.

Tapped from my furious dogo ;)
[Android General] haseogu:
I use gps so i don't follow all the thing that disabled gps but beside of that I already followed it
[Android General] tersagun:
Hey [MENTION=718949]Cloos[/MENTION]e91 and [MENTION=5867207]vaisakh7[/MENTION]

I attach the BBS log for the night; got to 94 from full charge in about 6 hours.

Now I didn't have Powernap and Greenify yet; only Amplified most of the process you mentioned in the op and I've added some. We can use this as a before/after. If we can manage to improve it, we will have a live example of how well the guide works :)

I can add screenshots later on, too. Even though with 97% deep sleep, I did get lots of wakelocks during the night. and checking the battery usage from GSAM, Mobile receiver used 25% of the battery which accounts for 2% total battery; I think this is quite unnatural.

This morning I've installed Power Nap as well and gonna leave the phone stand-by for few hours in endurance mode. Let's see how well that will perform.
[Android General] v7:
[MENTION=4863289]haseogu[/MENTION] It is clear from the stats that you haven't limited some of the wakelocks and alarms.

Limit the following

*Config Service fetch (Google Services): 40 m 13 s Count:44 6.4% to 40000 seconds.

*android.content.syncmanager.SYNC_ALARM to 7200 seconds(Syncs every 2 hours)

There are a bunch of Kernel wakelocks.Would you mind to clean flash your ROM?

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=2782388]tersagun[/MENTION] Kernel wakelocks doesn't show up in stats.Reinstall BBS.

For now limit com.google.android.gms/.checkin.EventLogService$Receiver to 9999999 seconds.

I assume you have a poor signal in your area.That should be the cause of the major drain or else it could be a Kernel issue.

Tapped from my furious dogo ;)
[Android General] tersagun:
Hey.

The ROM is 3 days old :) But I'll re-check all the wakelocks and alarms again after the current test is over.

Amplify didn't show some of the processes from the OP when I was tinkering, that might be the reason.

BTW, I can flash a custom kernel (which is famous for its battery saving performance) on top of this ROM.

Edit:

Oh LOL, I've replied to your other reply. But my answer is still valid for your other post. Signal must be no problem but kernel might change it. And will re-check BBS
[Android General] v7:
[MENTION=2782388]tersagun[/MENTION] You quoted the wrong post.It wasn't intended for you.Read post #1822

Tapped from my furious dogo ;)
[Android General] gregferns:
@OP

1 question :

in Amplify you have shown

Wakelocks(Allow every 800 seconds)

WakefulIntentService[GCoreUlr-LocationReportingService]

RILJ(Updated)

I have RILJ only. I am presuming the (UPDATED) is put by you only and not the actual word in the wakelock.... cOrect me if i am wrong please.

Secondly for me the RILJ is shown in red and shows 60564 in the red box.... Can i change it to 800 seconds ??

Greg
[Android General] v7:
[MENTION=2035300]gregferns[/MENTION] I used the word "UPDATED" to mark a change.The wakelock wasn't listed in the guide.I added it recently.You can limit RILJ to 800 seconds.

Tapped from my furious dogo ;)
[Android General] haseogu:
Well I already reinstall the new rom before i take the dump file(update from beta version).

I think i miss the config fetch setting. But for sync manager if you limit it to 7200 h , what thing will be delayed?
[Android General] tersagun:
There is a "Kernel Wakelocks using API" option at BBS which was disabled. Now I've enabled it, do you think it will be enough? Seeing few *api* wakelocks on Kernel Wakelock section now.

And these are some screenshot from this morning in case someone want to see :)
[Android General] EarlZ:
How do I confirm that my Amplify is now working with "pro/donate" featues?
[Android General] tersagun:
If you can tinker with the services from the OP, you're good to go. Normally you won't be able to limit most of the stuff.
[Android General] v7:
[MENTION=4863289]haseogu[/MENTION] Your accounts will sync once in 2 hours if you limit that alarm.

Did you dirty flash or clean flashed your ROM?

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=2782388]tersagun[/MENTION] Use the latest 2.1.0.0_b5 version of BBS from the BBS thread.The b4 changelog shows a fix for Kernel Wakelocks on G3 5.0.

Tapped from my furious dogo ;)
[Android General] haseogu:
Clean install , because of the buggy ota of oppo I need install the clean rom, and restore the app with tib
[Android General] v7:
[MENTION=4863289]haseogu[/MENTION] Seems to be a Kernel issue.Is there any good Kernel available for your device?

Or can you clean flash the ROM and install the required apps from the PlayStore?Sometimes TiBu restore can cause issues.

Tapped from my furious dogo ;)
[Android General] gregferns:
Hi @OP

I tried the IDLE DUMP yesterday night, but i dont know if its right.

Can you please have a look at it. I think it will only be about 3 to 4 hours instead of overnight.

If its not ok, i will be doing a proper one tonight....

Thanks in advance

Greg
[Android General] v7:
The stats seems okay but 0.7%/drain isn't good.Do you have good cell reception at your place?

From the Stats,

Limit com.google.android.gms/.checkin.EventLogService$Receiver to 84000 seconds.

Tapped from my furious dogo ;)
[Android General] gregferns:
Have just done that... Let's see what happens tomorrow because the dump i posted was with BBS showing BOOT and not UNPLUGGED....

Don;t know if that can make a major difference.

Will post dump tomorrow morning since i have found and applied many of the suggestions from OP into Amplify including the one stated above.

And for your question about reception, i use a dual sim YUPHORIA,, with Airtel and TATA DOCOMO.

The Docomo is maharashtra Goa sim, in my 2nd sim slot, but i'm using in Mumbai so it becomes roaming network... Dont know if that affects...

The 1st slot is Airtel on 4g... and i do get 4g LTE inside my house.... so signal is strong i would say...

regards,

Greg
[Android General] v7:
If you're on LTE,then don't worry about the drain.It's pretty normal.Post me a dump tomorrow.We'll see.

Tapped from my furious dogo ;)
[Android General] gregferns:
So if i want better battery it will be better to switch to 2g or 3g at home because mostly at home i'm on wifi.... what say ??
[Android General] v7:
Yes!You can switch to 2g while on WiFi manually or you can try Smart Network module to automate the switching.

Tapped from my furious dogo ;)
[Android General] orbital_71:
In ur main page setting some configure are not showing in amplify. So i guess set whatever i had should be fine ya.
[Android General] v7:
Yes!Limit the ones you find.It depends on individual usage pattern.So no need to worry.

Tapped from my furious dogo ;)
[Android General] tersagun:
Hey again.

I'm doing some testing with PowerNap and it may be an app specific question but maybe something else I did triggered it. The test is as follows:

Sync is on

XDA and another forum app is not on Whilelist

I keep getting notifications and nothing shows up on PowerNap statistics.

How can I receive a notification on stand by while PowerNap is active?
[Android General] v7:
Get me the device details,ROM and Selinux Status.

Tapped from my furious dogo ;)
[Android General] tersagun:
I'll let you know once I find out about Selinux :)

I remember seeing the status of it somewhere but need to Google first.

Other than that, it's a stock based Cloudy 2.4 ROM with Gabriel kernel.

It's g3 BTW
[Android General] v7:
Go to Settings->About Phone->SELinux Status

Tapped from my furious dogo ;)
[Android General] tersagun:
Could it be disabled on my phone?

There is no Selinux on any menu, just ROM kernel based information etc.

But a restart might have fixed the issue. Now I'm seeing few blocked alarms on Power Nap. Will let you know.

Add:

Ok, this is weird..

I've installed Telegram to just test push messaging.

Power Nap shows: 54 Encounters 54 Blocked

Yet I'm receiving notifications while Deep Sleep. Is this intended? :)
[Android General] madboymatt:
You are brilliant!
[Android General] Portgas D. Ace:
Are you running Lollipop or KitKat?
[Android General] tersagun:
5.0.2 stock based custom rom with Xposed (I'm new to Xposed but it must be working, Module for Powernap enabled as well).
[Android General] FloorFox:
I have installed powernap and my alarm isn't working. Rom is ressurection remix
[Android General] closee91:
Whitelist your clock and android system and trebuchet
[Android General] FloorFox:
Did that lets see how it goes
[Android General] tersagun:
Small update regarding Powernap:

Greenifying Telegram works. PowerNap seems to be not working though; even though it shows as "blocked".

Can anyone else report their situation? I'm pretty sure few of you are using PowerNap and some kind of Instant messenger, Whatsapp etc. I don't have a chance to test Whatsapp so they have fixed that bug but there is problem with Telegram only.

Add:

Does Power Nap require entering Deep Sleep once or turning off the screen is enough?

I'm now testing Pushbullet which I've enabled to receive push notifications on the system. PowerNap is not able to stop it either; I do get instant notifications while screen off.
[Android General] v7:
PowerNap is still WIP.It is more like a super alpha release.So it may have compatability issues with some ROMs.If you don't find it working,uninstall it and keep the rest of the guide.

Tapped from my furious dogo ;)
[Android General] tersagun:
Fair enough mate.

If it's a common scenario that power nap struggles in some custom roms so it's not a problem with my phone, all good.

I'll share my results with my updated setup. BTW, is it normal that I cannot see any Google Apps on greenify? Not even Chrome is on the full app list.
[Android General] orbital_71:
Sorry for Wifi and 4G data which one i need to configure for this two wakelock?
[Android General] v7:
What version of Greenify?You should be able to Greenify Chrome.Is the "Greenify System Apps" checked in Greenify settings?

Tapped from my furious dogo ;)
[Android General] v7:
I cannot see a thing!

Tapped from my furious dogo ;)
[Android General] orbital_71:
I mean if i wanna control this 2 wakelock wakeup
[Android General] tersagun:
Ops, sorry, didn't noticed that it requires the paid version. Currently testing the free version.
[Android General] v7:
Free version can't do much things.You'll need a donation package for effective usage of the app.

Tapped from my furious dogo ;)
[Android General] Genericxx:
If you are using zero gapps, stuff like Chrome is not a System App. Installed through play store, there is no need to get the donation package of greenify.
[Android General] v7:
I was talking about the OP.He'll need Donation Package to make the Setup as in the OP.

Tapped from my furious dogo ;)
[Android General] AO7:
"Battery calibration" on modern batteries is a myth.
[Android General] Culateralligator:
So you think that the + 5% error in the battery indicator after reboot the mobile is not solvable...

Sent from my GT i8160 4.4.4 AOSP
[Android General] Culateralligator:
I have to say that I've tried this but I still have the issue.

I had +5% when restarted the phone.

Actually it's not very problematic to me, but if I can fix, much better.

Sent from my GT i8160 4.4.4 AOSP
[Android General] AO7:
So to make sure I understand your problem correctly. When you are charging your phone while it is on at say 50%, you unplug and reboot, it then shows 55%?

Looks to me like your battery isn't reporting correctly levels. Why or how that happens I don't know.

Pull out a multimeter and test if there are large fluctuations in your battery's voltage. That might indicate it is dying.
[Android General] tersagun:
Hey again.

This is a 5 hour test I've done. Had to start from 99 battery after it got stuck there for about 7 8 minutes, I had to leave home.

What do you think is wrong here? I've bought amplify and greenify, done most, if not all, stuff from the OP. I had 450 blocked encounters on PowerNap for Phone, BTW, as I've not white listed it but I doubt that's responsible for the battery drain. PowerNap doesn't work properly on my phone anyway.

https://drive.google.com/file/d/0B5mUigp4mT-0bjlVd2dpS3EtSU0/edit?usp=docslist_api

https://drive.google.com/file/d/0B5mUigp4mT-0bjlVd2dpS3EtSU0/edit?usp=docslist_api
[Android General] Culateralligator:
Thanx. It doesn't matter if It's charging or not. When I reboot, it always shows a higher % than before.

Battery has only 6 months (it was a gift). I had a previous healthy battery with 18 months and it was the same problem. So I decided to change -as it was for free ;) -.

Maybe it could be a ROM problem?

Sent from my GT i8160 4.4.4 AOSP
[Android General] AO7:
I think we can rule out the battery itself it this occurred with the previous one as well. Have you tried doing a full wipe and reflashing your ROM?
[Android General] Culateralligator:
Yes, I have done it twice or three times.

I'm thinking it might be also something about the connector mobile. Charger works ok.

Sent from my GT i8160 4.4.4 AOSP
[Android General] eshipp31:
bbs

Hey vaisakh7 or anyone take a look at my bbs dump
[Android General] eshipp31:
RILJ wakelock

What is RILJ wakelock it's showing red in amplify do I need to change it to 800
[Android General] v7:
List the whitelisted items in your Power Nap.Can you disable Power Nap and do a test?Seems that Power Nap isn't working well with your phone.

Tapped from my furious dogo ;)
[Android General] v7:
Stats are not proper.Re-install latest version of BBS from the XDA Thread and post me another dump.

Tapped from my furious dogo ;)
[Android General] v7:
You can limit it to 800 seconds.

Tapped from my furious dogo ;)
[Android General] v7:
A hardware issue can cause the problem.One of my bud had such an issue.Battery stuck at 1%.Tried replacing battery and switching ROMs.Nothing worked.Can you contact a service center to see if this is a hardware issue?

Tapped from my furious dogo ;)
[Android General] gregferns:
Hi @op,

Please check my stats now. Unplugged at around 11pm but had to put on for a minute to au greenify because my settting's never stick after a reboot.

Also stopped the morning alarm at 6am. Wonder if that will be a problem.

Btw I flash nightlies of Cm so will that affect settings of greenify, amplify or power nap?

Regards,

Greg.
[Android General] ShadowAndroidFanatic:
So I have syncloop wakelock set to 7200 and I got a Gmail sync wakelock of 3 minutes. The wakelock specifically was (*sync*/com.google.android.gm.email.provider/com.google.android.gm.legacyimap/eM_ADDR) is there any known fix anyone can tell me? Thanks
[Android General] v7:
[MENTION=2035300]gregferns[/MENTION] I see a suspicious ps_ wakelock that keeps the phone awake.There's little or no information available about the Wakelock.I guess it is related to the Proximity Sensor.Maybe a reboot can fix it.

For now,Limit

*com.google.android.gms/.checkin.EventLogService$Receiver to 84000 seconds

*com.android.providers.calendar.intent.CalendarProvider2 to 7200 seconds and use the alternate Calender

Post me a dump later.

Tapped from my furious dogo ;)
[Android General] v7:
Limit android.content.syncmanager.SYNC_ALARM to 7200 seconds.

Tapped from my furious dogo ;)
[Android General] ShadowAndroidFanatic:
Already had that set to 7200. Any other ideas?
[Android General] v7:
This limits the wakelock to 2 hours i.e the apps sync every 2 hours.If you want to completely disable the sync,turn it off in Settings.

Tapped from my furious dogo ;)
[Android General] gregferns:
Had already changed the event log service to 84000... Also changed calendar as you suggested but do I need to use the alternate calendar? For now I'm not going for it. Let's see what happens.

Proximity sensor... Don't know... Will try more tonight or tomorrow night... Let's see...

Thanks

---------- Post added at 11:18 AM ---------- Previous post was at 11:16 AM ----------

BTW where do you very info from regarding which service or alarm does what? I know mostly the service does provide a package name also, so p for the rest maybe you're using Google? The reason I'm asking is maybe I can try services limiting then one by one and see what happens,,, but after checking them on the net....
[Android General] v7:
Google!

Tapped from my furious dogo ;)
[Android General] Culateralligator:
Thanx. I'll see what I can do. It's a 3 years old Galaxy Ace II, so it has no guaranty any more. I only started having this problem when I installed AOSP custom ROM. Maybe it was just a coincidence. Well, I'll try to find out ir it's a hardware issue.

Sent from my GT i8160 4.4.4 AOSP
[Android General] AO7:
I'm interested to know how you came to 800 seconds. RILJ wakelock is responsible for the phone's signal reception and communication with cell towers. Is it wise to limit that wakelock?

Amplify also lists it as "not safe to limit" if I recall.
[Android General] Culateralligator:
BBS STATS

Could you please take a look at my stats?

Thanks!

View attachment BetterBatteryStats-2015-07-11_092558235.txt