Snapchat background-free? - Greenify

Hey guys,
just stumbled over the two settings ignore background-free and ignore working state.
im wondering if its recommended to check both settings for an app like snapchat (which caused me a huge constant wake lock yesterday)? i can get me an explanation for "ignore working state" but i dont really get behind "ignore background-free". what does it mean? would you enable it for most apps?
or should i just accept that snapchat hung itsself once and that it wont happen that often?
thanks!

xflowy said:
...or should i just accept that snapchat hung itsself once and that it wont happen that often?
Click to expand...
Click to collapse
Yep - a single occurance means nothing. App coughed up a fur ball. Happens.
Leave 'ignore background-free unchecked' unless there's ample evidence that suggests Greenify got it wrong (not likely).

Davey126 said:
Yep - a single occurance means nothing. App coughed up a fur ball. Happens.
Leave 'ignore background-free unchecked' unless there's ample evidence that suggests Greenify got it wrong (not likely).
Click to expand...
Click to collapse
thanks.
but i can still greenify snapchat, right? without enabling the ticks.

xflowy said:
thanks.
but i can still greenify snapchat, right? without enabling the ticks.
Click to expand...
Click to collapse
Sure - but what's the point? The whole purpose of Greenify is to rein in misbehaving apps which usually manifests as unwanted background activity. The only apps that should overtly Greenified on Android 6 and above are demonstrated bad actors. Doze take care of the rest.

Related

[Q] Hibernating WhatsApp

For some reason my WhatsApp can't automatic hibernate. It's always in the 'Not hibernating automatically'. Whenever I manually make it hibernate, I don't receive any notifications or messages unless I open the app. I have the donation version, GCM is checked, keep notifications is checked, I have greenify enabled in both Accessibility and DeviceAdmin.
I do receive further notification and messages after I opened WhatsApp manually. Anyone else has experienced this and/or has a solution to fix this?
Slmii92 said:
For some reason my WhatsApp can't automatic hibernate. It's always in the 'Not hibernating automatically'. Whenever I manually make it hibernate, I don't receive any notifications or messages unless I open the app. I have the donation version, GCM is checked, keep notifications is checked, I have greenify enabled in both Accessibility and DeviceAdmin.
I do receive further notification and messages after I opened WhatsApp manually. Anyone else has experienced this and/or has a solution to fix this?
Click to expand...
Click to collapse
Quite weird as I don't face this! I would suggest for you to uninstall whatsapp, and then install it again. Backup its data beforehand with Titanium Backup if you intend to save the messages.
TechnoSparks said:
Quite weird as I don't face this! I would suggest for you to uninstall whatsapp, and then install it again. Backup its data beforehand with Titanium Backup if you intend to save the messages.
Click to expand...
Click to collapse
Didn't work. I still only get the messages when I open WhatsApp. Automatic hibernation is working now tho, for WhatsApp.
Slmii92 said:
Didn't work. I still only get the messages when I open WhatsApp. Automatic hibernation is working now tho, for WhatsApp.
Click to expand...
Click to collapse
There's no actual fix for this, but I would try to reinstall Greenify, reset its device administrator and then clear the dalvik cache. It is quite of an isolated problem.. I sometime do have to admit Clash of Clans, Facebook and some 2 other I don't remember, stay without automatic hibernation but I can now cope with it. Thanks to swipe gestures of Nova Launcher lol.
And since it is a problem only related to certain apps, I don't think greenify should be blamed for this.
TechnoSparks said:
There's no actual fix for this, but I would try to reinstall Greenify, reset its device administrator and then clear the dalvik cache. It is quite of an isolated problem.. I sometime do have to admit Clash of Clans, Facebook and some 2 other I don't remember, stay without automatic hibernation but I can now cope with it. Thanks to swipe gestures of Nova Launcher lol.
And since it is a problem only related to certain apps, I don't think greenify should be blamed for this.
Click to expand...
Click to collapse
Funny thing is...if you un-greenify them and then choose to greenify them again and then hibernated them. The next time those apps will auto hibernated.
But upon reboot, the whole process starts all over again...weird.
Sent from my GT-I9506 using Tapatalk
TechnoSparks said:
There's no actual fix for this, but I would try to reinstall Greenify, reset its device administrator and then clear the dalvik cache. It is quite of an isolated problem.. I sometime do have to admit Clash of Clans, Facebook and some 2 other I don't remember, stay without automatic hibernation but I can now cope with it. Thanks to swipe gestures of Nova Launcher lol.
And since it is a problem only related to certain apps, I don't think greenify should be blamed for this.
Click to expand...
Click to collapse
I did a Factory Reset yesterday, because I had some issues. Thought it would work after the reset, but it didn't. How do you use the gestures to hibernate, coz I have also Nova Launcher?
Slmii92 said:
I did a Factory Reset yesterday, because I had some issues. Thought it would work after the reset, but it didn't. How do you use the gestures to hibernate, coz I have also Nova Launcher?
Click to expand...
Click to collapse
You'll need to purchase Nova Prime in order for the feature to work. Assuming you have Nova and its premium features, go to Nova settings, and then tap on "Gestures and Buttons". Afterwards, choose your desired gesture, and then when choosing the action for a gesture, tap on "Shortcuts" tab, and choose Greenify's "Hibernate now" shortcut.
I personally choose the swipe up gesture. So when I am at the home screen, and I do also want my apps to be greenified forcibly, I will just have to swipe the screen up, and then the magic happens
kotaxor said:
Funny thing is...if you un-greenify them and then choose to greenify them again and then hibernated them. The next time those apps will auto hibernated.
But upon reboot, the whole process starts all over again...weird.
Sent from my GT-I9506 using Tapatalk
Click to expand...
Click to collapse
In my case, this only happens to some apps. Others are perfectly hibernated. I agree it does feel weird, but I don't really concern about it.
Yes it only happen on some apps for me too..but if you un-greenify one of them and greenify it again and hibernated all of them, the next time all the apps will behave.
Sent from my GT-I9506 using Tapatalk
kotaxor said:
Funny thing is...if you un-greenify them and then choose to greenify them again and then hibernated them. The next time those apps will auto hibernated.
But upon reboot, the whole process starts all over again...weird.
Sent from my GT-I9506 using Tapatalk
Click to expand...
Click to collapse
You're right, I just tested this and it actually work. Only tested this with WhatsApp tho. Thanks! But the problem I'm still having is, whenever WhatsApp is hibernated, I'm not getting any notifications and messages, even tho I have GCM enabled. I read that other people do receive them, so I find this really weird why it's not working.
TechnoSparks said:
You'll need to purchase Nova Prime in order for the feature to work. Assuming you have Nova and its premium features, go to Nova settings, and then tap on "Gestures and Buttons". Afterwards, choose your desired gesture, and then when choosing the action for a gesture, tap on "Shortcuts" tab, and choose Greenify's "Hibernate now" shortcut.
I personally choose the swipe up gesture. So when I am at the home screen, and I do also want my apps to be greenified forcibly, I will just have to swipe the screen up, and then the magic happens
In my case, this only happens to some apps. Others are perfectly hibernated. I agree it does feel weird, but I don't really concern about it.
Click to expand...
Click to collapse
I'm using Hibernate + Lock for double tap atm, and it's hibernating WhatsApp with the method above. I tested it with Google Play Services as well, but that didn't work. So my only problem now is not receiving anything while hibernated. Still can't figure this out. -_-'
Slmii92 said:
I'm using Hibernate + Lock for double tap atm, and it's hibernating WhatsApp with the method above. I tested it with Google Play Services as well, but that didn't work. So my only problem now is not receiving anything while hibernated. Still can't figure this out. -_-'
Click to expand...
Click to collapse
You should not mess with Play Services! You should know that GCM apps use play services to deliver push notifications!
About whatsapp, most people sorted the problem out by enabling Device Admin. In the OP, you've mentioned that you did that. I suggest degreenify play services, and re-activate device admin.
kotaxor said:
Yes it only happen on some apps for me too..but if you un-greenify one of them and greenify it again and hibernated all of them, the next time all the apps will behave.
Sent from my GT-I9506 using Tapatalk
Click to expand...
Click to collapse
TechnoSparks said:
You should not mess with Play Services! You should know that GCM apps use play services to deliver push notifications!
About whatsapp, most people sorted the problem out by enabling Device Admin. In the OP, you've mentioned that you did that. I suggest degreenify play services, and re-activate device admin.
Click to expand...
Click to collapse
Funny thing is, after I ungreenify WhatsApp and then greenify it, it will be hibernated and then I do receive the messages. Whenever I open WhatsAspp, it's going back to the 'Not automatically hibernating' list. Really werid. It says 'Service in use by Android-system Push'. The only way of hibernating it, would be forcibly, but then again, I wont receive anything and it will go back to the same list.
I removed Google Play Services from the list and did re-activated greenify in device admin, didnt work.
I had try greenifying Whatsapp before, sometimes it works real good, sometimes I encounter the same issue as you. As such, I did not greenify it again.
I don't greenify Play Services.
Sent from my GT-I9506 using Tapatalk
Maybe I'll give it up as well. But on the other hand, I really want it to work, because the main reason I bought it was for WhatsApp.
Install greenify then clean master.. It works. And saves battery
Sent from my HTC Desire 616 dual sim using XDA Free mobile app
Slmii92 said:
Maybe I'll give it up as well. But on the other hand, I really want it to work, because the main reason I bought it was for WhatsApp.
Click to expand...
Click to collapse
Yes, I understand. I also wanted this to be sorted out too.
ImmaN00B said:
Install greenify then clean master.. It works. And saves battery
Sent from my HTC Desire 616 dual sim using XDA Free mobile app
Click to expand...
Click to collapse
TechnoSparks said:
Yes, I understand. I also wanted this to be sorted out too.
Click to expand...
Click to collapse
Ok, I think I found the solution. I had this app, called Wakelock Terminator. Within the app, I checked 'Prevent Wakelock' for Google Play Services. I unchecked it and deleted everything in the 'Filter' field and after that I deleted the app as well, because the reason I had this app was for Google Play Services.
Now WhatsApp is working while hibernated. I'm getting the notifications and messages. Maybe this would be your problem as well?
Slmii92 said:
Ok, I think I found the solution. I had this app, called Wakelock Terminator. Within the app, I checked 'Prevent Wakelock' for Google Play Services. I unchecked it and deleted everything in the 'Filter' field and after that I deleted the app as well, because the reason I had this app was for Google Play Services.
Now WhatsApp is working while hibernated. I'm getting the notifications and messages. Maybe this would be your problem as well?
Click to expand...
Click to collapse
Nah WhatsApp is not the problem. It is okay for me. The only problem I have is the other apps that people don't report it here. But I don't really mind about it. And I don't kill any wakelock or some sort, so the problem lies on those rogue apps instead. Anyway glad you finally worked it out. Told ya it doesn't have to do with Greenify
TechnoSparks said:
Nah WhatsApp is not the problem. It is okay for me. The only problem I have is the other apps that people don't report it here. But I don't really mind about it. And I don't kill any wakelock or some sort, so the problem lies on those rogue apps instead. Anyway glad you finally worked it out. Told ya it doesn't have to do with Greenify
Click to expand...
Click to collapse
Yup, same here, did not hibernated Whatsapp too..no battery issues, I'm still getting 0.2% per hour during deep sleep regardless of whether Whatsapp is hibernated or not.
Did tried to hibernate it before tho and get occasionally delayed message..Lol
Sent from my GT-I9506 using Tapatalk
kotaxor said:
Yup, same here, did not hibernated Whatsapp too..no battery issues, I'm still getting 0.2% per hour during deep sleep regardless of whether Whatsapp is hibernated or not.
Did tried to hibernate it before tho and get occasionally delayed message..Lol
Sent from my GT-I9506 using Tapatalk
Click to expand...
Click to collapse
Well I actually hibernate whatsapp but still have push messages come in. I have to agree it does comes a bit late but sometimes it appears instantly when I connect to a wifi. I may consider ungreenifying it though, but not now.

How to greenify apps?

I want to use greenify to "freeze" a certain apps when are not in foreground, do don't check in the background for location, connect to internet to update, and so on and so forth. Like if weren't installed from the beginning. I couldn't find anything in the user interface, the app looks more oriented to hibernate the entire phone (which I don't want).
scandiun said:
I want to use greenify to "freeze" a certain apps when are not in foreground, do don't check in the background for location, connect to internet to update, and so on and so forth. Like if weren't installed from the beginning. I couldn't find anything in the user interface, the app looks more oriented to hibernate the entire phone (which I don't want).
Click to expand...
Click to collapse
Look elsewhere. Greenify doesn't "freeze" any app.
tnsmani said:
Look elsewhere. Greenify doesn't "freeze" any app.
Click to expand...
Click to collapse
Ok look like there was a misunderstanding. Didn't mean "freeze" in the way Titanium Backup does, but rather prevent the app from doing anything unless in foreground. Greenify is capable of that, you just add the desired apps to the list.
Hibernation Manager is similar and has high ratings. Also explains things better.
scandiun said:
Ok look like there was a misunderstanding. Didn't mean "freeze" in the way Titanium Backup does, but rather prevent the app from doing anything unless in foreground. Greenify is capable of that, you just add the desired apps to the list.
Hibernation Manager is similar and has high ratings. Also explains things better.
Click to expand...
Click to collapse
My understanding is, when you add apps to the autohibernate list and when you continue to work with one app in the foreground, any other hibernated app will continue to run (if started while you are working or if already running) till the screen is locked. Only after that the running apps will hibernate. This is the behaviour I am seeing.
Correct me if I am wrong.
Edit: Even Hibernation Manager works only when screen is off. Please read its description in Play Store.
tnsmani said:
My understanding is, when you add apps to the autohibernate list and when you continue to work with one app in the foreground, any other hibernated app will continue to run (if started while you are working or if already running) till the screen is locked. Only after that the running apps will hibernate. This is the behaviour I am seeing.
Correct me if I am wrong.
Edit: Even Hibernation Manager works only when screen is off. Please read its description in Play Store.
Click to expand...
Click to collapse
Yes Hibernation Manager and Greenify only work when screen is off. That's enough for me, but do you know if any app that does it also when the screen is on? (App always hibernating unless on foreground)

Operation of Greenify

Hi,
for my basic understanding of Greenify I would like to know:
I ran Greenify 2.7 in root mode, currently without Xposed. This because I want to read more about Xposed first before installing.
It normally should hibernate the configured Apps automatically if I understand right.
In what time intervalls does Greenify check if such a App has been woken up and therefore hibernated again?
I watch the battery comsumption with 3C Tools and see, that the saving effect takes place only if I check manually every hour or so. Doing so, Greenify hibernates woken up Apps well and the battery saving effect is really good. But during the night I can see that the hibernation does not take place and I have 20% less capacity.
Sorry, if this question has already been discussued elsewhere. I have seearched here already, but being not sure, to find the right answers.
Edit: Now I Installed Version 2.8 Beta 8 and watch the behaviour.
Regards, Onurbi
onurbi said:
Hi,
for my basic understanding of Greenify I would like to know:
I ran Greenify 2.7 in root mode, currently without Xposed. This because I want to read more about Xposed first before installing.
It normally should hibernate the configured Apps automatically if I understand right.
In what time intervalls does Greenify check if such a App has been woken up and therefore hibernated again?
I watch the battery comsumption with 3C Tools and see, that the saving effect takes place only if I check manually every hour or so. Doing so, Greenify hibernates woken up Apps well and the battery saving effect is really good. But during the night I can see that the hibernation does not take place and I have 20% less capacity.
Sorry, if this question has already been discussued elsewhere. I have seearched here already, but being not sure, to find the right answers.
Edit: Now I Installed Version 2.8 Beta 8 and watch the behaviour.
Regards, Onurbi
Click to expand...
Click to collapse
Have you enabled Greenify in Device>Settings>Security>Device Administrator?
Do you have the donation pack?
Which version of android and what phone?
Normally, Greenify watches for apps waking up and hibernates them. There is no fixed interval for checking.
From your description I would guess that only manual hibernation is working and not automatic hibernation.
Thank you for your answer!
tnsmani said:
Have you enabled Greenify in Device>Settings>Security>Device Administrator?
Click to expand...
Click to collapse
Yes, there is a "Greenify Automator". This entry is there since Version 2.7 has been installed. It is ok for 2.8 Beta 8 also?
Do you have the donation pack?
Click to expand...
Click to collapse
Yes, I have.
Which version of android and what phone?
Click to expand...
Click to collapse
5.0.1 ,64 Bit, rooted, Huawei P8 Lite (ALE-21)
Normally, Greenify watches for apps waking up and hibernates them. There is no fixed interval for checking.
Click to expand...
Click to collapse
Ok. I could imagine, that a timer controlled action like I do it, would help.
When Greenify is not in "root" mode, it does an automated "Stop" of the Apps. With root mode it reports, that the found Apps are hibernated. When Greenify does this only once and another App will be waked up later, this now again running App will drain the battery anyway. That's not particular senseful I find. Therefore my question about regular checks.
From your description I would guess that only manual hibernation is working and not automatic hibernation.
Click to expand...
Click to collapse
I think so as well. But the Settings tell me that automatic hibernation is active (in German)!
The last 2 hours suddenly a process has been started named SUPL20Services. It will be reported by the 3C Toolbox analyser. This process caught my eyes several times already. The only context I found googling has to to with GPS. But when I disable GPS, this process comes up anyway. I tried to identify the parent process of it with "ps -t", but to no avail. There is no.
In this case Greenify can do nothing I believe.
Regards, Onurbi
onurbi said:
Thank you for your answer!
When Greenify is not in "root" mode, it does an automated "Stop" of the Apps. With root mode it reports, that the found Apps are hibernated. When Greenify does this only once and another App will be waked up later, this now again running App will drain the battery anyway. That's not particular senseful I find. Therefore my question about regular checks.
Click to expand...
Click to collapse
When an app is hibernated, it can not wake up again unless you specifically open it or another app/process wakes it up. So a hibernated app continuing to run does not happen unless you permit it.
If you find that a hibernated app is woken up again (not specifically by you), long press the app's name in Greenify and you will get a scissors icon on top. Clicking that icon will pop up a dialogue box which will tell you what woke up that app and if you don't want it to be woken up, click the appropriate button in the dialogue box.
If you find that a hibernated app is woken up again (not specifically by you), long press the app's name in Greenify and you will get a scissors icon on top. Clicking that icon will pop up a dialogue box which will tell you what woke up that app and if you don't want it to be woken up, click the appropriate button in the dialogue box.
Click to expand...
Click to collapse
Yes I understand this.
I think I tried this in the past and Google Services has been reported what has woken up, in this case, Hangouts. Hangouts is very "aggessive" I found and will very often be active again.
I'll have a look at the scissors next time a app will be active.
onurbi said:
Yes I understand this.
I think I tried this in the past and Google Services has been reported what has woken up, in this case, Hangouts. Hangouts is very "aggessive" I found and will very often be active again.
I'll have a look at the scissors next time a app will be active.
Click to expand...
Click to collapse
A word of caution: some apps require such wakeups to function properly. So if after using the scissors, you find that the app is not functioning correctly, you can again long press it and then click the three dot menu at top right in Greenify. You will get an option to reattach whatever you had cut earlier.
tnsmani said:
A word of caution: some apps require such wakeups to function properly. So if after using the scissors, you find that the app is not functioning correctly, you can again long press it and then click the three dot menu at top right in Greenify. You will get an option to reattach whatever you had cut earlier.
Click to expand...
Click to collapse
Thanx, I'll have a look at ths fact!
I lost magnify icon....im usin greenify 2.7.1 final stable with donation. Why??
Thankss
Can someone help?
hawkdown77 said:
I lost magnify icon....im usin greenify 2.7.1 final stable with donation. Why??
Thankss
Click to expand...
Click to collapse
Which magnify icon are you talking about?
tnsmani said:
Which magnify icon are you talking about?
Click to expand...
Click to collapse
When we are inside greenify, in up right corner there was a magnify icon to choice APP that we want to freenify. Now this icon disappear
hawkdown77 said:
When we are inside greenify, in up right corner there was a magnify icon to choice APP that we want to freenify. Now this icon disappear
Click to expand...
Click to collapse
I am on 2.8 beta9. There is no such icon. I have never used such an icon in Greenify and so I am not sure whether it was available in any version.
I am not saying that you are wrong but just that I don't remember. I also don't think that it is of much use unless you have hundreds of apps.
hawkdown77 said:
When we are inside greenify, in up right corner there was a magnify icon to choice APP that we want to freenify. Now this icon disappear
Click to expand...
Click to collapse
Due to restriction enforced by newer Android system, that selector could no longer work, thus was removed long ago.
oasisfeng said:
Due to restriction enforced by newer Android system, that selector could no longer work, thus was removed long ago.
Click to expand...
Click to collapse
But there some apps that i can not choose because it not show in the list of apps. How can i proceed to greenify them?

Battery setting - Launch - manage all automatically

Hi All
I'm trying to get my head around what Huawei have done with the "Launch" functionality. My naive understanding is that it's huawei's own attempt at greenify. Killing apps that are not being used... somewhat intelligently.
I'm wondering if this actually has any impact on battery at all, it certainly stops processes from launching and running.. notifications being missed etc.
Anyone have any ideas what this is actually doing, or if the setting is actually beneficial? I thought google was against this sort of practice when doze is their solution.
Secondly, the following apps are allowed to ignore battery optimisation out of the box:
Backup
Camera
com.huawei.hiviewtunnel
Email
Google Play Services
Google Services Framework
Health
HwLBSService
Screen recording
System update
Any one know if it is advisable to set these to don't allow ignoring of battery optimisations?
Thanks
alexs1mmo said:
Hi All
I'm trying to get my head around what Huawei have done with the "Launch" functionality. My naive understanding is that it's huawei's own attempt at greenify. Killing apps that are not being used... somewhat intelligently.
I'm wondering if this actually has any impact on battery at all, it certainly stops processes from launching and running.. notifications being missed etc.
Anyone have any ideas what this is actually doing, or if the setting is actually beneficial? I thought google was against this sort of practice when doze is their solution.
Secondly, the following apps are allowed to ignore battery optimisation out of the box:
Backup
Camera
com.huawei.hiviewtunnel
Email
Google Play Services
Google Services Framework
Health
HwLBSService
Screen recording
System update
Any one know if it is advisable to set these to don't allow ignoring of battery optimisations?
Thanks
Click to expand...
Click to collapse
Allow none of them. Cause no harm
lawtq said:
Allow none of them. Cause no harm
Click to expand...
Click to collapse
I'm wondering the same thing.
Are you sure that we can allow none of them app ?
I'm not allowing any apps that need to stay running (in the background) like Garmin Connect, Ad blocker, virus scanner and some more to avoid Huawei killing them. I see no difference in battery consumption.
sonydesouza said:
I'm wondering the same thing.
Are you sure that we can allow none of them app ?
Click to expand...
Click to collapse
I've disallowed all of them. I don't see any problems
lawtq said:
I've disallowed all of them. I don't see any problems
Click to expand...
Click to collapse
And did you see any improvments ?
sonydesouza said:
And did you see any improvments ?
Click to expand...
Click to collapse
Tbh no. Lol. Battery is great no matter what. But no harm either

apps start afresh instead of resuming from where they hibernated

I am trying to understand why apps restart instead of resuming from where they hibernated. I thought the point of Greenify was to not kill the app but to hibernate it and resume it later from the same point.
A simple case of reproduction of this is: start playing a puzzle in andoku, hibernate it in greenify and move back to it. It goes back to the main screen and not show the screen of that specific puzzle that I was solving before gibernate.
Is greenify even working?
devsk said:
I am trying to understand why apps restart instead of resuming from where they hibernated. I thought the point of Greenify was to not kill the app but to hibernate it and resume it later from the same point.
A simple case of reproduction of this is: start playing a puzzle in andoku, hibernate it in greenify and move back to it. It goes back to the main screen and not show the screen of that specific puzzle that I was solving before gibernate.
Is greenify even working?
Click to expand...
Click to collapse
Did you try the shallow hibernation or normal hibernation?
devsk said:
I am trying to understand why apps restart instead of resuming from where they hibernated. I thought the point of Greenify was to not kill the app but to hibernate it and resume it later from the same point.
A simple case of reproduction of this is: start playing a puzzle in andoku, hibernate it in greenify and move back to it. It goes back to the main screen and not show the screen of that specific puzzle that I was solving before gibernate.
Is greenify even working?
Click to expand...
Click to collapse
Yes, Greenify is working on many (tens of) thousands of devices. Likely YOUR device, rom or kernel is aggressively clearing memory due to limited resources. What are you using?
tnsmani said:
Did you try the shallow hibernation or normal hibernation?
Click to expand...
Click to collapse
I tried both but app restarts instead of resuming.
Yes, Greenify is working on many (tens of) thousands of devices.
Click to expand...
Click to collapse
What's your definition of working? It runs and does something or works as in if an app is hibernated and started, it resumes. If its the latter, its clearly not working...
devsk said:
I tried both but app restarts instead of resuming.
What's your definition of working? It runs and does something or works as in if an app is hibernated and started, it resumes. If its the latter, its clearly not working...
Click to expand...
Click to collapse
Not going to engage on this level. Greenify stands on its own merrits.
If not happy with the results nor willing to share device/rom/config info that might help with 'problem' determination then it probably ain't the right tool.
Davey126 said:
Not going to engage on this level. Greenify stands on its own merrits.
If not happy with the results nor willing to share device/rom/config info that might help with 'problem' determination then it probably ain't the right tool.
Click to expand...
Click to collapse
Are you able to resume any app from EXACTLY the same spot as you hibernated it from, after you manually hibernate it?
Aggressive OS/ROM does not matter. We are talking about a single app, hibernate manually, try to resume right away. The example of andoku I gave is a small app which does not require a whole lot of memory. So, I should be able to resume it right after hibernating it.
devsk said:
Are you able to resume any app from EXACTLY the same spot as you hibernated it from, after you manually hibernate it?
Aggressive OS/ROM does not matter. We are talking about a single app, hibernate manually, try to resume right away. The example of andoku I gave is a small app which does not require a whole lot of memory. So, I should be able to resume it right after hibernating it.
Click to expand...
Click to collapse
Just for interest, I'd downloaded and installed Andoku. Greenified Andoku. Played a few minutes and stopped within the game. Closed Andoku. Ensured Andoku was hibernated. Opened Andoku and was able to resume my game exactly at the point where I'd closed Andoku.
Just for completeness although most likely unimportant in this matter: Andoku had no internet access granted in AFWall+.
Personal conclusion: Greenify (currently on v4.6.3) works exactly and perfectly as advertised!
Personal remark: I concur with @Davey126. Unless you provide sufficient information about device, ROM, kernel and "configuration" (e.g. Magisk, Xposed, XprivacyLua, tools that restrict permissions, services, broadcast receiver etc.) most likely nobody is able to support you.
devsk said:
Are you able to resume any app from EXACTLY the same spot as you hibernated it from, after you manually hibernate it?
Aggressive OS/ROM does not matter. We are talking about a single app, hibernate manually, try to resume right away. The example of andoku I gave is a small app which does not require a whole lot of memory. So, I should be able to resume it right after hibernating it.
Click to expand...
Click to collapse
Android hibernation is not the same as Windows hibernation. Resumability is not assured - especially on a resource constrained or highly 'tuned' ROM. You should probably read up on how it works and the primary objective of Greenify which is to suspend unwanted background activity. In that respect it shares many characteristics with doze.
Oswald Boelcke said:
Just for interest, I'd downloaded and installed Andoku. Greenified Andoku. Played a few minutes and stopped within the game. Closed Andoku. Ensured Andoku was hibernated. Opened Andoku and was able to resume my game exactly at the point where I'd closed Andoku.
Click to expand...
Click to collapse
Did you use the pause/resume feature of the Andoku game or did you just click the game to start it again, and it resumed where you left off? Typically, if you resume using the game's feature, you have to click through 3 times to resume your game. If the app is resuming from where it left off, its 1 click just to start the game.
If you resumed the app as if you switched to it using app switcher, then something definitely is broken on my end.
Just for completeness although most likely unimportant in this matter: Andoku had no internet access granted in AFWall+.
Click to expand...
Click to collapse
I do the same.
Oswald Boelcke said:
Unless you provide sufficient information about device, ROM, kernel and "configuration" (e.g. Magisk, Xposed, XprivacyLua, tools that restrict permissions, services, broadcast receiver etc.) most likely nobody is able to support you.
Click to expand...
Click to collapse
I am stock Pixel 3 XL with Magisk 18.1 root. Nothing else. I have given all perms needed by greenify.
Android hibernation is not the same as Windows hibernation.
Click to expand...
Click to collapse
I think this is where likely the disconnect is. I started using greenify several years ago (I have been here on these forums for a while, I keep that dated forum reference in my signature for remembering how far android and this community has come). If I recall correctly, I used to be able to resume apps, just by clicking or switching to them. Now, I notice a different behaviour: the app restarts from scratch. That's all. Obviously, I preferred the app to not start but resume like I was just switching to it.
I don't know if this is relevant in this case, but doesn't Greenify in non-root mode just force stop apps? I believe this to be the case because I can see it happening; i.e., when hibernation is triggered, for each app hibernated the app info screen briefly appears and the warning dialog about force stopping an app flashes on screen momentarily.
olliebean said:
I don't know if this is relevant in this case, but doesn't Greenify in non-root mode just force stop apps? I believe this to be the case because I can see it happening; i.e., when hibernation is triggered, for each app hibernated the app info screen briefly appears and the warning dialog about force stopping an app flashes on screen momentarily.
Click to expand...
Click to collapse
Correct. The equivalent happens on rooted devices just in a more efficient and largely transparent manner. If the ROM later opts to recover some/all of the resources consumed by the 'hibernated' app standard Android memory mgmt rules apply. In most cases that means only critical pointers are retained which may or may not contain sufficient information to resume from the point the app was in when last in the foreground.
Davey126 said:
Correct. The equivalent happens on rooted devices just in a more efficient and largely transparent manner. If the ROM later opts to recover some/all of the resources consumed by the 'hibernated' app standard Android memory mgmt rules apply. In most cases that means only critical pointers are retained which may or may not contain sufficient information to resume from the point the app was in when last in the foreground.
Click to expand...
Click to collapse
But AIUI, force stopping an app is essentially killing the app process. So for the app to start afresh when next launched, rather than resuming from where it was left, would be expected behaviour.
Is Greenifying an app functionally better than disabling Background Activity from the app's Battery Usage page (a new setting in Oreo)? IWHT the latter achieves the same result but without killing the app.
I am running root mode. So, let's not talk about non-root mode.
If a hibernated app is going to restart from scratch instead of resume, I might as well just clear all apps (that I fed to Greenify) on screen off with 5 min delay using tasker/automate. Why bother with anything else?
The point of Greenify was to be able to resume the app after hibernate as if you just switched to it. This used to work, I have tested it in the past. Not anymore though.
olliebean said:
But AIUI, force stopping an app is essentially killing the app process. So for the app to start afresh when next launched, rather than resuming from where it was left, would be expected behaviour.
Is Greenifying an app functionally better than disabling Background Activity from the app's Battery Usage page (a new setting in Oreo)? IWHT the latter achieves the same result but without killing the app.
Click to expand...
Click to collapse
Well, no ... but this is not the place for that discussion. Not going to get into Android 101 or validating speculation around various actions.
---------- Post added at 05:18 PM ---------- Previous post was at 04:52 PM ----------
devsk said:
I am running root mode. So, let's not talk about non-root mode.
If a hibernated app is going to restart from scratch instead of resume, I might as well just clear all apps (that I fed to Greenify) on screen off with 5 min delay using tasker/automate. Why bother with anything else?
The point of Greenify was to be able to resume the app after hibernate as if you just switched to it. This used to work, I have tested it in the past. Not anymore though.
Click to expand...
Click to collapse
Sorry it is not working with your device/kernel/ROM/root solution. Could be an adverse interaction with the doze mechanisms in Android 9, aggressive memory management settings (eg: VM, LMK), resource mapping of the app(s) you are trying to hibernate, etc. I have not see a lot of feedback from Pie users as doze generally addresses rogue background activity and corresponding power drain. So the behavior may be different on that platform. I use Greenify on a variety of devices for other reasons for which it continues to work well. Just another tool in shop; appropriate selection is the key to success. Good luck.

Categories

Resources