Facebook app and Greenify - Greenify

Hello,
So I was using Greenify and hibernate Facebook app, but with the last week or so. My facebook app sometime doeasnt load, showing "cant connect right now" and I tried to search google. most issues I've found are Greenify's issue on facebook, especially when facebook got hibernated and woke up for a long time. I had to restart my device to getting facebook working again, ridiculous.
so any workaround on this? As we know that facebook app is the worst battery sucker.
I'm using Resurrection Remix 7.1.2 on Mi 5s Plus, rooted and privileged
Thanks.

Best option is to use one of the 'lite' Facebook alternatives which preserve functionality without the corresponding hit on battery life and data consumption. Also make sure non of Greenify's alternative doze/hibernation modes are enabled (aggressive/deep/shallow) as they are known to create side effects with few, if any, corresponding benefits on Android 6 and above. Good luck.

I use greenify in shallow hibernation mode and Facebook works fine and doesn't eat much battery.

Related

[APP]"Greenify" your battery

I already posted about this in the NRG ROM because that's the ROM I'm using, but I am so impressed with the battery improvement after using this app for a week that I had to cross post to a larger audience. I know the battery is the one major drawback on the Amaze. This is just not a problem for me anymore since I started using Greenify.
https://play.google.com/store/apps/details?id=com.oasisfeng.greenify
I've been getting over 24 hours regularly with 3-4 hours screen time. I'm using NRG with stock kernel, but I see no reason why this app wouldn't offer improvement for any configuration. It enables effective hibernation of apps without freezing them. They'll run but only in the foreground. It cuts out all background processes of the apps you select.
You have total control over which apps you want running in the background and allows you to keep the aggressive battery hogs at bay. You select which apps should hibernate. For instance, now Google maps will really stay asleep when it's not being used, no constant wake locks, but unlike with freezing it, you can conveniently launch it when needed. However any apps with background processes that are actually useful are free to do their thing, eg, widgets you want to auto update. It's taming the beast that is android.
And not only is my battery improved, but my phone is more responsive too. Highly recommended. Here's the xda thread:
http://forum.xda-developers.com/showthread.php?t=2155737
thanks a lot for sharing this, will try it out, always wanted an app like this, the maps kill the battery for no good reason.
My pleasure. I hope your experience is as satisfying mine.
dosnt kill maps most apps remain in idle, pending hibernation mode.
EDIT, opened my eyes and read the FAQ. - maps not gonna die :|
Q: Some of my greenified apps (e.g. Google Maps) seems not hibernating.
A: In short, don't worry about frequently awake apps. It will still hibernate in minutes after screen goes off, thus hardly add observable battery consumption. Use battery statistics in settings or "BetterBatteryStats" to confirm that.
While most greenified apps will stay in hibernation quietly, some apps do break hibernation, due to being waken up by others. Some known cases include enabled account sync, backup agent, and explicit launch by other app.
Since version 1.45, Greenify will now automatically turn off directly involved account sync of greenified apps when going to hibernate, to avoid the periodic account sync wake them up. For backup agents, Greenify will NOT disable them, to ensure your backup of app data is always up-to-date. As backup usually does not perform often, they are thus unlikely to be waken up often.
Google Maps is a typical example of explicit launch by other app. Some Google apps, including Google Now (a.k.a Google Search), will start the NetworkLocationProvider of Google Maps for its proprietary implementation instead of the public Android one if Google Maps is installed.
Since Greenify is designed to not break any explicit usage of greenified apps, these behaviors are considered "normal", and will NOT be "fixed". To clear out your unease, Greenify will still put them into hibernation when standby to protect your battery consumption.
Click to expand...
Click to collapse
bilaliz said:
dosnt kill maps most apps remain in idle, pending hibernation mode.
EDIT, opened my eyes and read the FAQ. - maps not gonna die :|
Click to expand...
Click to collapse
You can manually put them into hibernation mode by selecting them, and hitting the pause button at the top of the screen. To help control maps make sure you don't have Google Now running or have it on in a very limited mode. (Google Now sucker punches battery. Honestly, I just presume that anyone interested in battery preservation has abandoned Google Now.) The other anti-maps tactic I use is to go to System Settings>>Location and disable "GPS satellites" and "Location & Google search." I can easily re-enable these through a widget I have set up when I need Maps capability, but it keeps the program quiet for the most part and Greenify does the rest.
The proof is in the screenshots. I never got any battery life like this before Greenify.
Shabidoo said:
The proof is in the screenshots. I never got any battery life like this before Greenify.
Click to expand...
Click to collapse
but in those pics i also see juice defender running, so that may be playing a part too. also there are no phone calls, phone calls take a lot of juice.
regarless of that i have witnessed significant battery improvement with this app, i think i'll be giving a donation to this guy. he deserves it.
bilaliz said:
but in those pics i also see juice defender running, so that may be playing a part too. also there are no phone calls, phone calls take a lot of juice.
regarless of that i have witnessed significant battery improvement with this app, i think i'll be giving a donation to this guy. he deserves it.
Click to expand...
Click to collapse
Lol yea juice defender
Sent from my Amaze 4G using xda app-developers app
I've had Juice Defender going as long as I've had my phone. I use the customization in ultimate, but before Greenify, I was getting around 17 hours battery life. So JD has not been a variable for me in evaluating the app.
I'm not a big phone call maker, but I do use bluetooth for music streaming a lot. I think it was so minor in comparison to the screen usage that day that it probably didn't even register 1% battery usage.
So I'm giving it a try. This a pretty much a light app that kills the app you select when you aren't using it.
Sent from my Amaze 4G using xda app-developers app
Trying this out now but just thought I'd pass along some info that really helped me with maps. Using Autorun manager (free on playstore) I killed any process under map that had the word friend in it and it has made a big difference even though Latitude has been disabled since day 1. There are lots of other battery saving and wake lock preventing things you can do with this app.
Justin
Sent from my Amaze 4G using xda app-developers app
mestguy182 said:
Trying this out now but just thought I'd pass along some info that really helped me with maps. Using Autorun manager (free on playstore) I killed any process under map that had the word friend in it and it has made a big difference even though Latitude has been disabled since day 1. There are lots of other battery saving and wake lock preventing things you can do with this app.
Justin
Sent from my Amaze 4G using xda app-developers app
Click to expand...
Click to collapse
I did the same and it helped my battery life dramatically.
Sent from my HTC_Amaze_4G using xda app-developers app
mestguy182 said:
Trying this out now but just thought I'd pass along some info that really helped me with maps. Using Autorun manager (free on playstore) I killed any process under map that had the word friend in it and it has made a big difference even though Latitude has been disabled since day 1. There are lots of other battery saving and wake lock preventing things you can do with this app.
Justin
Sent from my Amaze 4G using xda app-developers app
Click to expand...
Click to collapse
Thanks for the tip. I am trying this out as well and after 2 days, my battery life has doubled. :good: Even works very well on my wife's GNex, where the battery life is worse than the Amaze

Facebook and Messenger won't hibernate

Hello guys, I have a problem with the Facebook and Messenger app, they don't hibernate even if I manually hibernate them.
I tried cutting off the wakelock path, ignoring running state and enabling deep hibernation, but even after that I open the app to find them in the "will hibernate when screen is off" section. They've been draining my battery crazily!
Any other suggestions to do?
Same here. I think a recent Messenger update somehow changed something that prevents Greenify from hibernating it. I am using Lolliop via CM 12.1 Nighly (the very last one before CM 13).
I thought so too and rolled back to some older version, still the same problem with no luck. It's extremely frustrating.
Having the same problem here after their latest update.
Same problem, I mean I only lost like 4% over 5 hours but it should be a lot less, it was Facebook and messenger in my partial wakelocks
I used amplify to limit the wakelocks by them, the wakelock is called bugreporter and so far it hasn't affected notifications, and now they don't keep the device awake anymore.
You can also download older versions which didn't cause the issue here: http://forum.xda-developers.com/showpost.php?p=64816556&postcount=28
so any news about this yet?
Roberto Nigel said:
so any news about this yet?
Click to expand...
Click to collapse
What about the post above yours? That not sufficient for you?
Same here, gets woken by LollipopSerivce and stays up for hours until I manually killed it with "put in to hibernation now"
details:
CM13 nightly 20160116
Xposed 79,
Greenify 2.8 beta 9
Same with me, i uninstalled FB but i need messenger for chatting
Also the persistant notification from Messenger seems to prevent it from sleeping (Sequence : Messenger is hibernating, I receive a GCM push that wake him up but then it keep being "up" if i don't throw away the pop-up....). Or maybe i'm totally wrong dunno
CM13
Xposed
Greenify Beta 9
Same problem
Same here, really frustrating.
Same here, I came here to look if there's anyone else with this problem.
I don't want to install amplify just for fb and msn.
Sent from my LG-D802 using Tapatalk
Workaround
This may be a workaround for now but this is what I did: I tapped on Facebook to highlight it. I then tapped the three-dot menu and selected "Put into hibernation now". A popup then showed-up warning of possible data loss or functionality problems. There is a checkbox in the popup for "Always ignore app state". I ticked it and continued. I did the same procedure for Messenger.
They usually get rid of this trick
With Amplify it's ok.. no more drain from messenger..
SAme problem, back to 2.8 and it´s working
Same here now with notification from greenify... ****ing facebook wakes u every 5min... Anoying.. With the only 2gb ram my phone laggs... Lg g3... Anyway. I will uminstall ans see if my phone gets faster
I had the same problem. I installed greenfy free and saw what wakes up my apps... After i installed " Disable Services " and disable two services. It works for me in facebook, i dont know about messenger. Sorry my bad english.
reggiexp said:
Same here now with notification from greenify... ****ing facebook wakes u every 5min... Anoying.. With the only 2gb ram my phone laggs... Lg g3... Anyway. I will uminstall ans see if my phone gets faster
Click to expand...
Click to collapse
Dump the horrible facebook app and work through the FB web site instead. Or give Hermit a whirl to speed things up even further.
Davey126 said:
Dump the horrible facebook app and work through the FB web site instead. Or give Hermit a whirl to speed things up even further.
Click to expand...
Click to collapse
i did deleted on my lg g3
but on on a 3gb phone it works fine

Auto-hibernation not working ?

Hello.
So, I got greenify. I always thought it was a free app, but for the first time this week I really started using it and when I tried to hibernate some pre-loaded (system) apps, it didn't let me without the donation package. I thought "ok, maybe it's better. Paid apps generally know what they are doing".
But to my surprise, apps like YouTube, even Samsung's "Clock" and others, keep coming back, and even non-pre-loaded apps (such as facebook) do not stay in hibernation (at least, I always see them under the "Will hibernate in a few minutes when screen"... by the way, "when screen" what ?). So I always have to manually hibernate apps I open and use, and some keep waking up on their own anyway (when greenify promises they won't, that one has to manually execute apps for them to wake up, then that they will auto-hibernate once closed). I might be actually disappointed in paying for this. It's not working, and I turned greenify "on" in "accessibility" too.
Also, I don't want to risk flashing Xposed to still be able to get notifications when I already use TWRP and SuperSU (and my ROM is official, yet customized by myself, since I uninstalled all bloatware, then just backed up the new ROM with TWRP and reinstalled it), plus, Xposed says it is compatible with "6.0", so Idk if that includes Android 6.0.1 or not. But I wish Greenify's devs had been smart enough not to kill every push notifications.
Any greenify experts out there whom know how to finally make auto-hibernation work by itself, and make apps like Facebook quit being stubborn ?
Any light with getting notifications still too ?
Thanks in advance.
Apps that wake up on device's boot:
Camera
Clock
Featured (apps) *widget
Email (Samsung app)
Facebook
Galaxy Apps
Gallery
Gmail
Play Music
Google+
Hangouts
Internet (Samsung's browser)
Maps
Memo (Samsung)
Messenger (Facebook)
My Files (Samsung)
Opera Max
Photos
Recarga Certa (Samsung's app for adding creds to SIM)
Smart Manager
Theme Store
Twitter
Video (Samsung)
YouTube
Some of these are the ones that keep waking up during operation (not just on boot), such as Facebook, Clock and Opera Max.

Shallow hibernation bug (apps remain offline)?

I use Greenify with shallow hibernation.
I noticed that various apps like Facebook, Messenger, Whatsapp and Tapatalk sometimes are offline when I try to use (to refresh a page, to check a status or a message, etc.). After minutes and casually they return online. I'm sure that it is not a connection problem, and if I substitute shallow hibernation with normal hibernation this problem does not exists. So I think that it is a shallow hibernation bug. This happens with all the last versions of Greenify, beta and stable.
Do you have any feedback?
My system is a rooted Samsung Galaxy S5 stock 6.0.1.
rogxd said:
I use Greenify with shallow hibernation.
I noticed that various apps like Facebook, Messenger, Whatsapp and Tapatalk sometimes are offline when I try to use (to refresh a page, to check a status or a message, etc.). After minutes and casually they return online. I'm sure that it is not a connection problem, and if I substitute shallow hibernation with normal hibernation this problem does not exists. So I think that it is a shallow hibernation bug. This happens with all the last versions of Greenify, beta and stable.
Do you have any feedback?
My system is a rooted Samsung Galaxy S5 stock 6.0.1.
Click to expand...
Click to collapse
I experience something similar with Youtube, Maps and Firefox which i greenified: sometimes, when i resume them from hibernation, they can't go online. The connection is ok and other apps can connect but not those ones. Try to hibernate them again manually with the greenify button, then reopen them and see if they can connect.
Did you also disable any broadcast receiver for the problematic apps?
Are you still experiencing this problem after one year?
i'm on a sony stock 6.0.1 rom
Real question why use shallow hibernation? What problem/behavior are you attempting to address? Although native to Android 6+ it seems this mode is automatically utilized by normal/regular/standard doze as needed. I don't see a benefit to using it globally but obviously individual situations vary.
Additional background: https://greenify.uservoice.com/knowledgebase/articles/828357
Davey126 said:
Real question why use shallow hibernation? What problem/behavior are you attempting to address? Although native to Android 6+ it seems this mode is automatically utilized by normal/regular/standard doze as needed. I don't see a benefit to using it globally but obviously individual situations vary.
Additional background: https://greenify.uservoice.com/knowledgebase/articles/828357
Click to expand...
Click to collapse
I'm answering this a month later but would like to point out that for me Shallow Hibernation is amazing.
I have a device with plenty of memory for my usage, so I don't need the app to be wiped out of memory every time, just to be set as inactive.
For example, I found that Spotify is a great candidate for Shallow Hibernation.
Whenever I'm listening music on my computer, my phone has a tendency to stay awake because of Spotify Connect.
However if I shallow hibernate it, it won't keep the phone awake but still be kept in memory for me to use whenever I want. The same things goes for Maps, Youtube, and some games.
I’ve put an “Hibernate and Sleep” shortcut at homescreen and works really great.

Does Greenify really work ?

On my Mate 9 (running Oreo 8.0, no root) I installed Greenify, but Greenify displays that e.g. Opera is greenified, but in an Android task manager (Android Assistant app) it shows it is still eating CPU. The same applies to e.g. Brave browser which has 'no background' according to Greenify.
Does Greenift really hibernate apps ?
mermaidkiller said:
On my Mate 9 (running Oreo 8.0, no root) I installed Greenify, but Greenify displays that e.g. Opera is greenified, but in an Android task manager (Android Assistant app) it shows it is still eating CPU. The same applies to e.g. Brave browser which has 'no background' according to Greenify.
Does Greenift really hibernate apps ?
Click to expand...
Click to collapse
Of course it does. The size/activity in this forum plus frequent mentions in respected publications over many years should offer some clues to its integrity. Whether it is working on your device is a different matter.
Greenify does best on rooted devices as unharnessed ROMs can both undo actions and/or misrepresent status. It's quite possible an app placed in hibernation was later woken via internal trigger that Greenify can not suppress on an unrooted device. In the case of Opera (my preferred browser) there is regular syncing of tabs and downloading of *cough* 'news' if you have those features enabled.
I also question info coming out of the "Android Assistant" app. On my device it claimed all apps had zero CPU...including itself. Also did not display system partitions correctly nor properly detect the sensor suite. Granted I only spent a few minutes poking around. Maybe some switches needed to be thrown.
Finally, you probably don't need Greenify on Oreo as Doze does a find job with power management.
planetera said:
Don't I really need Greenify on oreo? Is Doze on Oreo really that good? Can you confirm please? I've been always using Greenify but if I don't need it on Oreo, I'll remove it
Click to expand...
Click to collapse
Well don't take my word for it. Simply remove all apps from Greenify's hibernation list (hopefully there are not many there), observe device behavior over the next few days then make your own decision.
planetera said:
Well, thanks for information. Just made a quick research and everyone says Greenify is trash on Oreo. So I just uninstalled it. Thanks for heads up. Glad I've seen your comment
Click to expand...
Click to collapse
Trash? Err-no. I have it installed on every one of my devices for valid reasons. Needed for generic power management on Doze capable ROMs? Probably not (and as such serving no purpose). Enjoy your device.
planetera said:
ok, but, when Greenify hibernates an app, you don't get notificaton froms this app, but when Android itself hibernates the app, you still get notifications, how does these two compare?
Click to expand...
Click to collapse
It varies by app, developer approach and user settings. Many apps will experience delayed notifications with Doze while other punch right through. Greenify can be configured to permit notifications but only if the app utilizes GCM (Firebase). Aggressive doze, light hibernation, Xposed framework availability and several other variables contribute to notification behavior. If your head is spinning it should! End users should not need to know the contents of the underwear drawer. Best practice is to simply let Android do its thing without 3rd party tools unless one understands their behavior and application. At one time such tools were needed to achieve acceptable app/device performance and battery life. Not so today. Is such a simplistic solution 'optimal' form an enthusiasts point-of-view? Probably not. It is acceptable/reasonable from an end-user perspective? In most cases 'yes' yielding a good balance of performance and battery life with minimal interaction for those who simply want to enjoy their device vs. manage it. Good luck with whatever direction you choose.
Agree one hundred percent!
Greenify on Oreo is an appendage that is best left out in my opinion, since for most, Oreo itself manages the drain admirably. Though I have it installed, it is more by way of habit than necessity. I have experienced Oreo without Greenify and have no complaints.
Greenify is STILL works.
But its benefit on recent Android versions is not as prominent as on earlier versions.
Coz we already have Doze starting from Marshmallow.
It works for me. I have a samsung tab a 9.7 sm-t550 with an aicp 8.1 rom (lineageos based). Therefore it doesn't have the built-in samsung app device maintenance. I've also discovered a little trick to using greenify that I want to share. I use greenify with another app called shutapp. Shutapp is an app that helps you force stop apps running in the background. Except I don't do that. I use it solely for the purpose of having an accurate number of apps running in the background. Then I open the app to see which ones are running. Next I open greenify and hibernate them. I use this method, because I found that when you force stop the apps they will open back up again. Also, I use the widget from shutapp and not the floating bubble which requires extra permissions granted. The widget does the same thing without the extra permissions. This method I discovered has improved my ram and battery life drastically. I can tell because I use status bar mini pro to monitor my ram speed constantly. And finally I do have Xposed with the donation package of greenify, didn't want to leave that out. Not sure if it makes a difference or not, but wanted to be accurate. That's it, hope that works for somebody else, take care.
I hear that greenify isn't really needed on Oreo but how about the xposed version of greenify? That ads a couple of more features, does any of those change the verdict to "must have on Oreo" for greenify?
ovizii said:
I hear that greenify isn't really needed on Oreo but how about the xposed version of greenify? That ads a couple of more features, does any of those change the verdict to "must have on Oreo" for greenify?
Click to expand...
Click to collapse
The verdict doesn't change. Use of Greenify on Oreo may become "must" only if you have a rogue app which can't be controlled otherwise. Even then, it might be better to seek alternative apps instead of trying to control it with Greenify.
ovizii said:
I hear that greenify isn't really needed on Oreo but how about the xposed version of greenify? That ads a couple of more features, does any of those change the verdict to "must have on Oreo" for greenify?
Click to expand...
Click to collapse
tnsmani said:
The verdict doesn't change. Use of Greenify on Oreo may become "must" only if you have a rogue app which can't be controlled otherwise. Even then, it might be better to seek alternative apps instead of trying to control it with Greenify.
Click to expand...
Click to collapse
Greenify works just fine on recent Android builds. It is a tool that can be very beneficial when properly used to produce a specific outcome. That said, it is rarely needed on Android 6+ as doze handles most of the heavy lifting. Enjoy using your device vs trying to fix problems you haven't identified.

Categories

Resources