I've been using Greenify to hibernate the Facebook Messenger app and stop it wakelocking. So far I have noticed improved battery life, however I'm (obviously) missing out on notifications. It's very difficult to make the tradeoff either way.
Would it be possible to put something like Greenify on a schedule, so that every 30 minutes or so it would unhibernate the Messenger app so notifications could be received, and then hibernate it again after a minute or so? Maybe this is possible with something like Tasker?
Related
I really like my Rezound but it seems like the built-in task killer is killing off all of my apps that need sync and/or push notifications. I saw that the OTA update was set to fix that it was killing off email syncs, and it did fix that, my email app syncs all the time now.
However, my facebook widget, facebook messenger app, yahoo messenger app, yahoo mail app; they work fine for about 8-10 hours, then after that they just dont update anymore at all. When a new email hits my yahoo account, it stops getting push notifications, when someone sends me a new facebook message, my facebook messenger app doesnt get the notification, etc. This really sucks. The only way I've been able to get them to work again is, every morning after waking up, I have to power down and restart the phone 2 or 3 times to get them all back working. But usually by the end of my day, they've all stopped again.
Any ideas?
Bump
Anybody experience this too?
Do you mean the HTC power management scheme? Because I don't remember a task-killer being installed.. Forgive me if there is because I haven't seen stock since about a week after I got the phone. Maybe try setting the power management to performance mode and grabbing an app like Juice Defender that's a bit more customizable.
To piggyback on what MrSmith said (speaking from personal experience), if your battery gets to the point where your phone goes into power save mode, background data and/or auto sync may be turning off, and it doesn't always turn back on.
Sent from my ADR6425LVW using xda premium
Mine is in Performance mode. Gingerbread comes with a task manager built in. One of the big issues that the OTA update fixed was the fact that the built-in task manager was killing off the email sync in the background (according to the official description of the update).
I'm assuming that the task manager is auto-killing a lot of stuff as well too. My facebook widget almost never updates after a few hours after rebooting.
I'm still on 100% stock. I guess at some point I'll unlock the bootloader, root it, and go with a new ROM. I'm not real familiar with the process for doing that with an HTC. I came from the Samsung Galaxy S world. It was so much easier to root and switch ROMs, etc.
I hibernated whatsapp and activated the option that apps wake up when they get gcm push messages.
My problem is that whatsapp only wakes up when my screen is open.
I send myself messages from another phone and waited some minutes but the messages don't arrive until I pressed the home button and woke up my phone.
shouldn't the messages also arrive while my phone is sleeping?
Emre67511 said:
I hibernated whatsapp and activated the option that apps wake up when they get gcm push messages.
My problem is that whatsapp only wakes up when my screen is open.
I send myself messages from another phone and waited some minutes but the messages don't arrive until I pressed the home button and woke up my phone.
shouldn't the messages also arrive while my phone is sleeping?
Click to expand...
Click to collapse
The issue may be with Doze, not Greenify. Uninstall Greenify and check.
tnsmani said:
The issue may be with Doze, not Greenify. Uninstall Greenify and check.
Click to expand...
Click to collapse
I removed whatsapp from greenify and it worked.
do I have to add greenify to the Whitelist of aggressive doze ???
maybe doze affects greenify so that it don't works in doze mode
I only have Whitelisted play services atm
Emre67511 said:
I removed whatsapp from greenify and it worked.
do I have to add greenify to the Whitelist of aggressive doze ???
maybe doze affects greenify so that it don't works in doze mode
I only have Whitelisted play services atm
Click to expand...
Click to collapse
As far as I know, Greenify is not affected by Doze since it has a persistent service running always. I have not added Greenify to the white list. WhatsApp also is not selected for hibernation but still, like you, I also get the notification only when I unlock the phone.
tnsmani said:
As far as I know, Greenify is not affected by Doze since it has a persistent service running always. I have not added Greenify to the white list. WhatsApp also is not selected for hibernation but still, like you, I also get the notification only when I unlock the phone.
Click to expand...
Click to collapse
when whatsapp is not hibernated everything works fine. only when I hibernate whatsapp I get the messages when the screen is on.
so the problem is that greenify somehow don't runs in the background when the phone is sleeping
Emre67511 said:
when whatsapp is not hibernated everything works fine. only when I hibernate whatsapp I get the messages when the screen is on.
so the problem is that greenify somehow don't runs in the background when the phone is sleeping
Click to expand...
Click to collapse
There are many things that have to 'go right' for hibernating apps to wake up and post a notification on queue (eg: when a message arrives). Whatever link in the chain is missing may be out of Greenify's control. Suggest excluding WhatsApp from Greenify if instant notification is a priority.
Emre67511 said:
when whatsapp is not hibernated everything works fine. only when I hibernate whatsapp I get the messages when the screen is on.
so the problem is that greenify somehow don't runs in the background when the phone is sleeping
Click to expand...
Click to collapse
The advice for Greenify is not to hibernate IM apps if you rely on them.
tnsmani said:
The advice for Greenify is not to hibernate IM apps if you rely on them.
Click to expand...
Click to collapse
it's not that important because I look often at my phone I just wondered why I only get the messages when the screen is turned on
Hello,
Some apps like twitter, reed.co, and even push notification tester get duplicate notifications even if they are not in the hibernation list.
Disabling greenify in the exposed modules list fixed that.
I have the same problem with every push notification, every notification is twice. Even with apps which are not greenified.
Is there any fix or workaround?
I have the same problem but only with Twitter. For other apps is fine.
I tested again and I only get double notifications when I activate "GCM Push for greenified Apps" in xposed settings of Greenify. If I turn that off I get the notifications as it should be...
Now I have to test if notifications are being shown without activating this although apps are in greenified state...
same here, I disabled "GCM Push for greenified Apps and double notifications are gone!!
patrickdrd said:
same here, I disabled "GCM Push for greenified Apps and double notifications are gone!!
Click to expand...
Click to collapse
Some notifications may be delayed with this option disabled. However, recent Greenify enhancements support per app hibernation modes so you can likely find a satisfactory balance. GCM push for hibernated apps was a nice option at one time but is now depreciated IMO as doze and Greenify have evolved.
1) I don't see any delayed notifications, the apps I want to have notifications for are excluded from hibernation of course
2) I'm using latest greenify 3.8.9 from apkmirror
3) I don't have doze I guess because I've got KitKat and LolliPop,
all in all, it was a nice feature to have, but it has a lot of issues/doesn't work,
besides duplicate notifications, somebody has to test and find himself (by trial and error) which apps are
supported to... "pass through" and which don't work
I don't have any delayed notification either.
All notifications timing are working just fine. Even greenifing facebook, whatsapp, or viber makes them get their notifications correctly and instantly (yet I don't recommend greenifying the most frequently used apps like facebook or messenger).
The only issue i have is that duplicate notifications when greenify is enabled.
Maybe because i'm still on Kitkat, I don't know.
FuTChY said:
I don't have any delayed notification either.
All notifications timing are working just fine. Even greenifing facebook, whatsapp, or viber makes them get their notifications correctly and instantly (yet I don't recommend greenifying the most frequently used apps like facebook or messenger).
The only issue i have is that duplicate notifications when greenify is enabled.
Maybe because i'm still on Kitkat, I don't know.
Click to expand...
Click to collapse
That's because you probably have GCM push enabled in greenify Xposed settings.
Sent from my LG-H850 using Tapatalk
Hadi99 said:
That's because you probably have GCM push enabled in greenify Xposed settings.
Sent from my LG-H850 using Tapatalk
Click to expand...
Click to collapse
Yes, that's why.
I disabled it and the issue is fixed. But unfortunately I had to enable it again as I'm greenifying some apps that receive push notifications.
Hey guys, i just bought poco f1 this week and im really satisfied with it. The battery life if awesome. But the battery drain during my sleep time bothers me. How to stop apps from running in the background while my phone is asleep.
I already go to battery saver settings and put all apps to >restrict background activity (apps will be closed to save power) except whatsapp, telegram, instagram and twitter. But for some reason, i still got a facebook notifications eventhough i never open the app and i already restrict background activity on facebook. Why?
I think thats the reason why battery drained by 10-15% in 7 hours is because of facebook running in the background for some reason. Any suggestions?
Hello,
I have a problem with Chrome.
If I send Chrome sleeping with Greenify, the app wakes up after a few seconds with the info "Get Push Notification."
But I've turned off notifications, background data, and background syncing on Chrome.
What could that be?
audianer said:
Hello,
I have a problem with Chrome.
If I send Chrome sleeping with Greenify, the app wakes up after a few seconds with the info "Get Push Notification."
But I've turned off notifications, background data, and background syncing on Chrome.
What could that be?
Click to expand...
Click to collapse
It seems that Chrome comes with push notifications enabled (I don't use it). Cut off the process which wakes it through Greenify or use some app like MyAndroidTools to find the culprit and disable it.