yashsingh1/xdaforums huggingface dataset:
[Android General] Android2003:
Hey.

I use greenify, bbs and appOpXposed on my G901F with AndroidGX 1.3 Rom.

Finally the setup is great and i got 3 days batterylife. I use the phone normally with a little bit of whatsapp, ebay and other apps.

My problem since i installed greenify the pushmessages of some apps are not working.

Thats not all the time.

Ebay push ups wont work at all.

WhatsappMessages sometimes.

Whats the problem?

Is it the deep hibernation (alpha) of Greenify?

In AppOpXposed i only smash down the google playstore and google framework.

Ebay and other apps are not greenified.
[Android General] v7:
Is messenger hibernated?

And did you run the app before leaving the phone yesterday?

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=5800913]Android2003[/MENTION] Deep Hibernation breaks push.Disable that feature and you're good to go.

Tapped from my furious dogo ;)
[Android General] Mr.Elmmyr:
I greenified it before i went to bed.
[Android General] agbazinga:
Autobrightness seems to have solved the issue.

I wanted to ask one more thing.

Some ROMs don't support Xposed Framework, In that case greenify helps a lot but setting it to auto hibernation causes some drain from greenify itself. Is there a way to set hibernation of apps only when screen goes off since amplify is not available to delay greenify alarm.

And what is the best one could do without xposed ?
[Android General] v7:
Strange!If we had a BBS dump,it could explain something.

For now,do a reboot and when you get time,keep the phone idle for a 1-2 hours and see if Messenger pops up in the battery stats.

Tapped from my furious dogo ;)
[Android General] v7:
I don't recommend using Greenify in Root mode.This is because GCM Push for greenified apps is only possible with Xposed Module activated.Still you can use Greenify to hibernate some battery hoggers like Maps,Facebook etc.

The Auto Hibernation takes place while Screen-Off.While using the phone,we manually hibernate apps from the app or using shortcut for convenience.

In a ROM without Xposed,disabling Keep Awake of GooglePlayServices and GoogleServicesFramework using the inbuilt Privacy Manager is effective.If that feature is not available in the ROM,one can disable some unwanted services using MyAndroidTools.

Tapped from my furious dogo ;)
[Android General] Android2003:
Yes.

I checked the "deep hibernation (alpha)" too.

The "SMS and telephon wakeup" is unchecked.

All other options are checked in greenify at xposed.

I got the newest xposed and donation version of greenify.

Thanks
[Android General] v7:
I've edited my post.See that!

Tapped from my furious dogo ;)
[Android General] Android2003:
Thanks man. I try it now.

One question: What does this deep hibernation do?
[Android General] v7:
It hibernates the app and denies all kind of wakeup paths.The app wont work unless you start it manually.

Tapped from my furious dogo ;)
[Android General] agbazinga:
I greenify only those apps for which I don't want gcm push , but the only concern is auto hibernate ,if I set it enabled there would be lot of wakeups in idle state and on disabling it I will have to manually hibernate each time I lock the device . so is there a way to set hibernate on screen off ( may be using tasker )

And btw you are on which ROM ?
[Android General] v7:
Yeah maybe you can do that using tasker-To run the "Hibernate Now" shortcut every 'x' minutes while screen off.

But Tasker will definitely consume more battery than Greenify with Auto-Hibernation.

I'm running Tesla on my dogo and Omni on my Tab :)

Tapped from my furious dogo ;)
[Android General] Android2003:
I understand this.

Does it block the wakeup of ALL apps or only the greenified?

In my case ebay are not greenified, but the pushmessages are not working.

At the other side I run facebook too. It is greenified and the messages are not working too. Thats okay. The app looks like starting from zero everytime i open it. Thats ok for me.
[Android General] v7:
Only Hibernated apps.

Even if it is hibernated,push should work flawlessly.Did this start happening after installing Greenify?

Facebook push is a bit different from other apps.It is a known reported issue of Greenify.Sometimes the messages come through,sometimes it doesn't.

Tapped from my furious dogo ;)
[Android General] mvlad:
Time passed and I came with a new log ^^

https://www.dropbox.com/s/68mqqk996c5jlho/BetterBatteryStats-2015-08-09_120128903.txt?dl=1

Sent from my GT-I9105P using RR ROM
[Android General] valerio65:
[MENTION=5867207]vaisakh7[/MENTION]

Hi! I've one question... In the amplify section, I see some alarms limited too much seconds (like location, about 11 hrs). What does it mean?
[Android General] v7:
Limit

1.android.app.backup.intent.RUN to 84000 seconds.

2.android.content.syncmanager.SYNC_ALARM to 3600/7200 according to your need.

Rest of it looks good.

Tapped from my furious dogo ;)
[Android General] v7:
Most of the Location/GPS alarms are triggered even while not in use.Even though it is limited for a long time,Location and GPS should work as intended.

Tapped from my furious dogo ;)
[Android General] valerio65:
So I won't have any problem to use maps and other location apps, but that's only limit them when they are not in use. That's right?
[Android General] v7:
Yeah!There won't be any issue running Location Services.

Tapped from my furious dogo ;)
[Android General] valerio65:
Perfect, thank you so much =)
[Android General] Smittels:
Hey all,

I recently get a lot of alarms by greenify (see picture attached).

And this is just in 12 hours.

Any ideas?
[Android General] Android2003:
I tried it, it doesnt work.

Ebay push messages are not working. The app is not greenified.

The pushmessages are coming when i open the app.

The same problem at the football-Liveticker. When i open it, messages are showing at the statusbar.

Damn....grrrrr
[Android General] v7:
Post screenshots/dump from BBS.High numbers in Amplify doesn't mean that it drains.

Tapped from my furious dogo ;)
[Android General] v7:
Have you limited anything apart from OP?

Tapped from my furious dogo ;)
[Android General] GjorgiDxc:
https://dl.pushbulletusercontent.co...c/BetterBatteryStats-2015-08-09_143102380.txt

Am I doing OK? I further limited the APPWIDGET alarm to 3600s and the *alarm* wakelock to 999999. Take a look when you can. :) Thanks
[Android General] v7:
This is good.Stats are clean and as you've limited APPWIDGET alarm,no further tweaking is required.

Tapped from my furious dogo ;)
[Android General] Android2003:
Think i found it.

Look....

But battery drains fast when i allow it :(
[Android General] v7:
Does notifications come through when you allow it?

Tapped from my furious dogo ;)
[Android General] Android2003:
Notifications coming through when i allow it yes.

I watch the batterylife now and c ome back later.

Thanks a lot.
[Android General] agbazinga:
Hi vaisakh7

Recently I noticed a ProximitySensor Manager wakelock issue .It happens during calls, Could you tell if it is ROM related or Kernel related or both ?
[Android General] v7:
It appears only during calls.It's not a bug.That wakelock is needed for Proximity Sensor to work properly during calls.Ignore that! :)

Tapped from my furious dogo ;)
[Android General] Purerawenergy:
You have to make sure you toggle WiFi "ON" (just like I explained before about about toggling "data sync" ON) when you set smart network to turn it off,. Because if you don't, the reverse effect will happen. Smart network will turn it on. Does that make sense?

Sent from the inside out
[Android General] speedy56:
Radio active for 15 hours... Is this normal? [emoji33]

App is greenified (and I greenify with home button shortcut every time I'm locking my screen)
[Android General] Android2003:
Now after 3h of using the phone i noticed that the push notifications are not working.

They dont come through.

Paypal, ebay, football, XDA....

I cant figure it out :(

It seems that the deep sleep is the reason.

Batterylife is still perfect.
[Android General] v7:
Have you disabled "Deep Hibernation" in greenify?

Have you limited anything apart from OP?

Tapped from my furious dogo ;)
[Android General] v7:
Does it drain much?

Tapped from my furious dogo ;)
[Android General] Adywizard:
Re enable keep awake permission for Google services.
[Android General] speedy56:
Well, yes, I think you could say so [emoji17]
[Android General] suaverc118:
Think I got it fixed, butvrebooting did it I guess. Here is last nights. Anything else I can do?
[Android General] Android2003:
Ok i did it.

Hope the battery drains not fast and the greenify alone keep google down.

I have 3 google services. Playstore, Google services framework and google services.

In the past the only way was AppOpXposed to keep down google. It was eating 50% battery before...
[Android General] Android2003:
Ok.

The keeping awake of google drains the battery.

Push notifications are still not available.
[Android General] Adywizard:
What about wake up permission, did you re enabled that one too?
[Android General] Android2003:
Disabled the appOpXposed completely.
[Android General] Adywizard:
And you still don't get push notification?
[Android General] Android2003:
No one.... only when the phone is waking up. I unlock the screen and then.....plopp plopp plopp notifications are coming
[Android General] v7:
Partial Wakelock stats are missing.But 0.4%/hr on Mobile Data is good.You'll get lesser drain on a strong WiFi connection.

Tapped from my furious dogo ;)
[Android General] v7:
Do not Greenify GooglePlayServices and GoogleServicesFramework.Constant wakeup and hibernation causes more drain than with the services running.

Remove them from Greenify.That might solve the issue for you or you can try PNF,mentioned in the OP.

Tapped from my furious dogo ;)
[Android General] v7:
Uninstall and reinstall Twitter.Have you disabled any permission of the app in AppOpXposed?

Tapped from my furious dogo ;)
[Android General] suaverc118:
For some reason it won't give any. But this is what I have via screen shot.
[Android General] v7:
Try to reinstall BBS.

Tapped from my furious dogo ;)
[Android General] Norup58:
Good day,

Tried to follow the OP guide as closely as possible. Have installed Greenify, Amplify and BBS but omitted PowerNap as I use Sony's own Stamina mod.

Have attached a BBS dump with Sony's Stamina mod deactived as I have it setup to deactivate Wifi/mobildata when screen is off.

Would appreciate if someone would look at the dump and advise if all is good or whatelse to improve/ correct.
[Android General] v7:
First of all 0.0% drain over 8 hours is just

Fantastic

!. :cheers:

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

Rest is all perfect.Enjoy a lot more time on your Phone! :)

Tapped from my furious dogo ;)
[Android General] Norup58:
Thanks for the prompt reply/ response. Am really impressed by the support given here :good:
[Android General] speedy56:
Ok, will do it, thank you.

Yes, I've disabled "keep awake" permission, shall I leave it enabled after reinstalling the app?
[Android General] v7:
There's no need to deny the "Keep Awake" permission of that app.Greenify it.That should be enough.

Tapped from my furious dogo ;)
[Android General] Vampire!:
Screen time, Samsung Galaxy S4 I9505, TW 5.0.1 PhoeniX v11.6

hello..first of all thank u for creating this extremely useful guide..It helps a lot in increasing the standby time..but I have a question about battery drainage for when the screen is on..As of course you know that screen is the biggest battery hog itself..so how can I make my device screen eat less battery :confused:
[Android General] Android2003:
Degreenified the google play services framework now.

Looks good.

I test it again...
[Android General] Portgas D. Ace:
Don't use Auto Brightness, set the screen brightness manually. Furthermore greenify all those apps that you don't need frequently, for example a specific game you only use once in a while.
[Android General] m0han:
a big +1 to that. great work, [MENTION=5867207]vaisakh7[/MENTION]. keep it up.
[Android General] suaverc118:
Good morning. So I did what you suggested and kept my phone on WiFi last night and i put my phone probably withing 20ft away from the box. My phone went from 47% to 42% in 7.5 hours. No better than leaving it on data. Now, not sure if it was smart network that caused it or what, but I left my settings alone. Here is my battery. You can see it from the 11pm start to me just waking up and it has a big drop.
[Android General] v7:
Is a dump available?The screenshot explains little.

Tapped from my furious dogo ;)
[Android General] suaverc118:
Not unless I can do one now? But not sure how to do one to back track
[Android General] Portgas D. Ace:
Read the FAQ in post #4 about how to report proper dump files.
[Android General] v7:
Make sure you post a dump while reporting issues.When there's an unexpected drain,screenshots explain little while a dump can do much more.

Tapped from my furious dogo ;)
[Android General] v7:
Do you have something set to turn off WiFi during screen off?WiFi was active only for a short time.

Tapped from my furious dogo ;)
[Android General] suaverc118:
Sorry, didn't know I could still do a dump, I assumed most of the time I had to do it after just taking it off the charger.
[Android General] v7:
Your screenshot showed an unexpected drop while idle.That's what I was saying-Do report issues with idle dumps.This dump wont explain anything.This is your in-usage dump.

Tapped from my furious dogo ;)
[Android General] milojoseph:
Yeah leandroid

Sent from my SM-G900T powered by AllianceROM

and boosted by speedy kernel

Lollipop ?
[Android General] v7:
Post a complete idle dump with Leandroid disabled.Keep WiFi Active during that time.

Tapped from my furious dogo ;)
[Android General] suaverc118:
I wish with custom we had the option to set a reference point to go back to and get info from there to a stopping point. I was hoping in the dump that there was a point of reference to start from.
[Android General] v7:
That feature isn't available yet.

Tapped from my furious dogo ;)
[Android General] milojoseph:
Lol your signature always fools me thinking ur happy by sending a wink

Sent from my SM-G900T powered by AllianceROM

and boosted by speedy kernel

Lollipop ?
[Android General] beeshyams:
nice results

Thanks to [MENTION=5867207]vaisakh7[/MENTION], sharing my honor 6 results

9 hours SOT with 21% juice left over 35 hours

Issue with uploading, hence drop box link

https://www.dropbox.com/s/yka38hnf6rl7tzl/honor 6.zip?dl=0
[Android General] v7:
I'm always happy ;)

This is just

incredible

!The best I've seen so far.Glad I could help! :cheers:

NB:It is his personal setup with something more added apart from the OP.(No push&Social apps).Just saying to avoid questions :)

Tapped from my furious dogo ;)
[Android General] Dr Grato:
If i use wifi it will save my battery. But if use data, will drain like ...... Is it normal?
[Android General] v7:
Comparatively,WiFi drains less than mobile data.It is normal to have more drain on mobile data than on WiFi.

Tapped from my furious dogo ;)
[Android General] suaverc118:
Hey, is the BBS supposed to be under the XP modules? Couldn't remember if it was or not. Its not there. I just flashed a new bliss update.
[Android General] abeloman:
Nope, BBS is not a Xposed module...

Enviado desde mi XT1032 mediante Tapatalk
[Android General] suaverc118:
Thanks, I was freaking out. Having an 8 month old will cause bad memory and functioning drain of the brain.
[Android General] Android2003:
I think it was the google framework.

The push notifications are coming through. Battery looks good.

Thanks for the support.

I test it for a time and do a report.
[Android General] pratikp16:
Sorry for the late response, but when i disabled it, it seemed to work so now i've added it to the 'active in standby' list and it's all good so far.
[Android General] suaverc118:
Good morning. Here is my custom dump with data on. Data looks to be good but still had a 4% drop. Wanted to see how data would do with smart network and the screenie looks to be very green. I will do another tonight with just WiFi and will make sure WiFi stays on. I also pit it on battery saver too. Thanks for all your help!
[Android General] suaverc118:
As you can see where WiFi was off is when I began the custom.
[Android General] v7:
Can you post me a dump on Aeroplane mode?

The stats is clean,but you have 0.6%/hr drain.

Tapped from my furious dogo ;)
[Android General] dingdong3000:
greetings [MENTION=5867207]vaisakh7[/MENTION] i finally installed xposed on my s4. Can you please let me know what is causing the drain with this dump? I'm pretty sure i implemented all the alarms and such on amplify and powernap. correct me if i'm wrong.

many thanks!
[Android General] Portgas D. Ace:
Limit the alarm com.google.android.gms/.checkin.EventLogService$Receiver to 43200. Beside this, I can't see any drainer, but 30% over 6 hours is way too much drain. [MENTION=5867207]vaisakh7[/MENTION], any other idea?
[Android General] dingdong3000:
Thanks for spotting that! will limit..

I suspect some samsung apps in the background that may be eating some battery however i don't use any of those features. I've tried to freeze as much as I could see from this thread but i'll post a dump for the changes i've made.
[Android General] suaverc118:
No problem, sure thing boss!

---------- Post added at 07:53 AM ---------- Previous post was at 07:46 AM ----------

Oh I still can't get partial wakelocks to show up either. Note sure why?
[Android General] v7:
Might be related to your ROM.Post it in the BBS thread

Tapped from my furious dogo ;)
[Android General] lozo2010:
Thank!! Good guide
[Android General] v7:
Post a dump on aeroplane mode.Also post the inbuilt battery stats screenshot along with it.

Tapped from my furious dogo ;)
[Android General] néonaloj:
Can you assure that GPS and navigation apps are working 100% well when limited? (and to what extent?)

What to corresponds this alarm?

Thanks!
[Android General] v7:
It works well for me so it should work for you too.

Check In Service is the service responsible for "checking in" to Google with data in /data/system/dropbox. Crash dumps, lastkmesg, dmesg, full logcat dumps are in here.

Event Log Service gives access to the system diagnostic event record. System diagnostic events are used to record certain system-level events

That Receiver is related to ^^^^

Tapped from my furious dogo ;)
[Android General] dingdong3000:
This is with aeroplane mode ON. Nothing i can see ring a suspicion. Could it be ROM/Kernel related?
[Android General] v7:
How old is your battery?Seems to be a faulty battery.

Tapped from my furious dogo ;)
[Android General] goutham kumar muvva:
3% drop for a period of 7 hours

as I previously said ,the standby time is sometimes being super ,sometimes it ain't.
[Android General] v7:
The Partial Wakelock&Alarm Stats are empty.Reinstall BBS.

Tapped from my furious dogo ;)
[Android General] goutham kumar muvva:
for the alarm stats to be shown , it says "this stat requires battery stats ..." I can't see it completely. What should I enable to view alarm stats?
[Android General] v7:
Reinstall BBS.That should fix the issue.

Tapped from my furious dogo ;)
[Android General] dingdong3000:
Just over a year old i reckon. This drain happened after upgrading to lollipop :/
[Android General] sochansam:
Hey.

I have been using this guide and I have noticed that some notifications only show up once I wake the phone up despite adding the apps to the excluded list or sometimes it would take a while before it arrives. More so for Hangouts. What are the steps recommended for me to check to regain normal speed of update?
[Android General] goutham kumar muvva:
no matter what I do .it keeps coming :/
[Android General] v7:
Try to reflash your ROM.

Tapped from my furious dogo ;)
[Android General] sochansam:
I followed what is recommended for Amplify in terms of limiting. I don't have any apps that is required to be Greenified so that's empty. Powernap enabled with IM/email apps on whitelist.
[Android General] Wakamatsu:
What is the full message? Specifically, "BATTERY_STAT...?"
[Android General] Bilgets:
Turn your Phone and make it landscape?
[Android General] goutham kumar muvva:
Thanks a lot for the idea!

battery stats permission it is .I have the enable battery stats permission enabled! what do I do :/ ?
[Android General] v7:
Whitelist GooglePlayServices and GoogleServicesFramework in Power Nap.

Tapped from my furious dogo ;)
[Android General] sochansam:
My bad. I forgot to mention that those are also included in the whitelist.
[Android General] v7:
That module is not needed.Disable/Uninstall it.

Do this.Uninstall BBS.Manually move the apk to system/priv-app.Fix the permissions to 644 and reboot.On boot,open the BBS app and grant Superuser permissions.

Tapped from my furious dogo ;)
[Android General] v7:
Which apps are having notification issues?

Tapped from my furious dogo ;)
[Android General] sochansam:
Hangouts and TypeMail.
[Android General] v7:
Try to un-limit com.android.content.syncmanager.SYNC_ALARM.Reboot and report.

Tapped from my furious dogo ;)
[Android General] Portgas D. Ace:
Same happens to me. Idle drain is about 1% per hour, even in airplane mode. Seems to be a Lollipop issue.

Re-flashed my ROM again and drain still occurs. But I am currently okay with an idle drain of 1% per hour (even if it is way too high compared to 0.1% per hour maximum I got on KitKat). Nevertheless, I will do some further investigation.

BTW: I am not sure if all those *alarm* wakelocks are really not draining any battery. These only appear on Lollipop ROMs and not on KitKat, so maybe this is the culprit for the slightly higher drain.
[Android General] v7:
Have you tried using FW from other regions?

Blocking *alarm* using Wakelock Blocker doesn't reduce the drain.So I don't think that is the cause.

Tapped from my furious dogo ;)
[Android General] gaspariperez:
Quick question, do I have to whitelist BBS and Nova Launcher with PowerNap?
[Android General] Portgas D. Ace:
FW = firmware?

BBS yes, Nova Launcher no.
[Android General] v7:
Yeah Firmware!

Tapped from my furious dogo ;)
[Android General] gaspariperez:
Another quick question, how about Spotify and Music apps that play in the background?
[Android General] Portgas D. Ace:
Not yet. I am using Resurrection Remix by GrinningFerret (see my signature). I don't know if there is a firmware from another region available. But no matter which Android 5.1.1 ROM I flash, the problem persists. Had this problem on CM12.1, CarbonROM and RR.

---------- Post added at 09:13 AM ---------- Previous post was at 09:12 AM ----------

You have to add them to your whitelist, otherwise they will stop as soon as your screen is turned off.
[Android General] gregferns:
So its not necessary to WHITELIST NOVA LAUNCHER (and NOVA PRIME) in POWERNAP ??
[Android General] Portgas D. Ace:
No. There is no reason for this.
[Android General] goutham kumar muvva:
How will the app get installed if I do that ? I did move the apk to the destination and changed the permissions and on reboot the app was not installed .I installed the app using the same apk it has the same problem saying it is not installed as a system app
[Android General] v7:
Install as System App and Reboot.Then on boot,install the apk again.

Tapped from my furious dogo ;)
[Android General] goutham kumar muvva:
It says "there was a problem parsing the package"
[Android General] v7:
How did you install it the first time?Use the same apk to install the second time.
[Android General] haseogu:
Hi vaisakh can you help me ? My phone don't go to deep sleep eventhough i don't use my phone . This is the log https://www.dropbox.com/s/xvqkarot1b59x85/BetterBatteryStats-2015-08-12_162150723.txt?dl=0

Sent from my X9076
[Android General] Portgas D. Ace:
This log file is useless, as you have used your phone for nearly 40 minutes (see Screen On time). Read FAQ in post #4 about how to post a proper idle dump.
[Android General] haseogu:
I think I don't need 6 hours log because my phone can't go to deep sleep. I think 40 min will be enough to identify why I can't go to deep sleep. Now I use deep sleep module so the phone can sleep

Sent from my X9076