Selectable App to do Shallow Hibernation - Greenify

I want to choose some apps to be killed and some to be shallow hibernation.
what setting should I do ?

driftmetal said:
I want to choose some apps to be killed and some to be shallow hibernation.
what setting should I do ?
Click to expand...
Click to collapse
AFAIK, you can choose either regular hibernation or shallow hibernation. You can't have one for some apps and the other for some other.

driftmetal said:
I want to choose some apps to be killed and some to be shallow hibernation.
what setting should I do ?
Click to expand...
Click to collapse
tnsmani said:
AFAIK, you can choose either regular hibernation or shallow hibernation. You can't have one for some apps and the other for some other.
Click to expand...
Click to collapse
That would be a nice feature but suspect it may be difficult/impossible to implement and likely add burdensome logic and 'weight' to Greenify.
FWIW - Greenify does not "kill" apps regardless of hibernation setting. Normal hibernation is a completely different state that attempts to maintain app state among other things. Killing an app by 'swiping away' or other means is akin to putting a bullet through process and is generally not recommended (although we all do it from time to time).

Related

A few apps seemingly not Greenified

I often see a few apps running in the background and wonder why they are not Grenified. This happens to me most with YouTube, Google Drive & Titanium Backup. There doesn't seem to be a reason why they should run in the background, thus I'd expect them to be hibernated by Greenify.
I have a rooted LG L7 II device running CM11.
Digdis said:
I often see a few apps running in the background and wonder why they are not Grenified. This happens to me most with YouTube, Google Drive & Titanium Backup. There doesn't seem to be a reason why they should run in the background, thus I'd expect them to be hibernated by Greenify.
I have a rooted LG L7 II device running CM11.
Click to expand...
Click to collapse
Did you Greenify those apps? I had to ask since you didn't specifically say so. Also, is Greenify enabled in Device Administrators and Accessibility settings? And are you running Greenify in Root mode or Boost mode?
tnsmani said:
Did you Greenify those apps? I had to ask since you didn't specifically say so. Also, is Greenify enabled in Device Administrators and Accessibility settings? And are you running Greenify in Root mode or Boost mode?
Click to expand...
Click to collapse
Thanks. Gotta to admit that I didn't Greenify them manually, but waited for Greenify to do it automatically. I now sent them manually to hibernation and will keep track on whether they run in the background as they did before.
However, isn't the whole point behind Greenify that you don't need to do it manually, but let Greenify do that for you? AFAIK, neither of these apps have anything to do in the background, so isn't Greenify supposed to notice that and send them to hibernation?
Digdis said:
Thanks. Gotta to admit that I didn't Greenify them manually, but waited for Greenify to do it automatically. I now sent them manually to hibernation and will keep track on whether they run in the background as they did before.
However, isn't the whole point behind Greenify that you don't need to do it manually, but let Greenify do that for you? AFAIK, neither of these apps have anything to do in the background, so isn't Greenify supposed to notice that and send them to hibernation?
Click to expand...
Click to collapse
Greenify doesn't automatically greenify(!) any app. There are many apps running in the background, some required, some not required. So you make the choice to greenify whatever you choose to, depending on your requirements. This is because if you greenify all the apps running in the background, you will lose some functionality. While you may choose to greenify one particular app because you don't need it to run in the background, I may not agree with you since I may require its functionality. So to each his own. That is the beauty of Greenify, that it allows you to choose.
However, once you greenify a particular app, Greenify takes over and further greenifying that app is automatic.
tnsmani said:
Greenify doesn't automatically greenify(!) any app. There are many apps running in the background, some required, some not required. So you make the choice to greenify whatever you choose to, depending on your requirements. This is because if you greenify all the apps running in the background, you will lose some functionality. While you may choose to greenify one particular app because you don't need it to run in the background, I may not agree with you since I may require its functionality. So to each his own. That is the beauty of Greenify, that it allows you to choose.
However, once you greenify a particular app, Greenify takes over and further greenifying that app is automatic.
Click to expand...
Click to collapse
Thanks for your answer. I did Greenify apps manually in the past, ones that I considered their running in the background as unnecessary (such as a shopping app I had which kept notifying me of new deals). However, I thought that Greenify could somehow identify apps who run in the background without need, and so it would send them to hibernation automatically. Guess I was wrong here.

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)

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.

shallow hibernation please explain

ok so I read the official explanation and tried to google some more but no luck. So here are my questions.
1. Is it better for power saving?
2. What is the difference between ordinary hibernation and shallow hibernation?
thanks in advance
batman1950 said:
ok so I read the official explanation and tried to google some more but no luck. So here are my questions.
1. Is it better for power saving?
2. What is the difference between ordinary hibernation and shallow hibernation?
thanks in advance
Click to expand...
Click to collapse
From knowledge base:
https://greenify.uservoice.com/knowledgebase/articles/828357-what-is-shallow-hibernation
Shallow hibernation is unlikely to improve power saving but may not be worse than "ordinary hibernation" depending on device and app suite. Primary intent is to reduce negative impacts associated with hibernation. See explaination.
From what I understand it works in a similar way to what popular os like macOS and windows do, by saving the state of an application in the ram rather than the storage so the process can be brought back into use quickly.
IwasReloading said:
From what I understand it works in a similar way to what popular os like macOS and windows do, by saving the state of an application in the ram rather than the storage so the process can be brought back into use quickly.
Click to expand...
Click to collapse
The analogy isn't accurate but the end result is similar; apps *may* 'recover' quicker when shallow hibernation is active.
Recommend sticking with standard hibernation unless you are experiencing stability, performance or recovery issues.
so... basically, if you use greenify just because you need to "disable" a tons of apps yyou rarely use,
YES....hallow method is useless and does not give you better performances in terms of blocked apps, it is better for apps that are needed sometimes to run, but for example i greenify over 40 apps that i RARELY USE....but that i need to have installed into my phone, so i use the OLD hibernation method because it is more rude and strong

Best settings for Greenify on rooted device?

My android device is rooted with xposed framework installed and greenify xposed module enabled. What Greenify settings i can enable to make it perform at its best?
Peter770 said:
My android device is rooted with xposed framework installed and greenify xposed module enabled. What Greenify settings i can enable to make it perform at its best?
Click to expand...
Click to collapse
There is no right answer as every device and work flow is unique. That said, Aggressive Doze, Doze on the Go and Wakeup Timer Coalescing are popular choices with limited side effects. If you miss notifications or find your device lagging for a few seconds after wake disable Aggressive Doze. Resist the temptation to add every app/service to Greenify's action list; only target apps that demonstrate bad behaviors. If running Android 6+ doze will take care of most background activity w/o help from Greenify. It's a tool to address specific problems.
What is the difference between the three hibernation modes: default, normal hibernation, deep hibernation (by island)?
Peter770 said:
What is the difference between the three hibernation modes: default, normal hibernation, deep hibernation (by island)?
Click to expand...
Click to collapse
Default is whatever you set as the default in Greenify settings. Normal is what Android uses by default and is adequate for the vast majority of work flows. Deep requires an add on product (Island) and seems to be a solution looking for a problem. You could have discovered all this by searching the thread or reading documentation.
Peter770 said:
What is the difference between the three hibernation modes: default, normal hibernation, deep hibernation (by island)?
Click to expand...
Click to collapse
I absolutely concur to @Davey126's correct statement and recommendation, and I'm unable to add anything substantial. However, I like to share my settings (please refer to attached screenshots), and if interested and required I'll provide information, which of my applications are not greenified.
Regarding your question, at least from my point of view all settings are pretty well explained within Greenify but it's also worth to study the threads by @oasisfeng that are pinned to this Greenify forum.
Thanks, for the screenshots. It was helpful.
I have problem with some apps, like Nine email client, which won't hibernate. Why is that?
Peter770 said:
I have problem with some apps, like Nine email client, which won't hibernate. Why is that?
Click to expand...
Click to collapse
They might be woken up by other apps. If so, you can cut off the links using wakeup tracker option in Greenify's settings.
'Wake-up tracking and cut-off' option is enabled.
Peter770 said:
'Wake-up tracking and cut-off' option is enabled.
Click to expand...
Click to collapse
Merely enabling the option is not enough. You have to manually cut off the trigger. When an app which you greenified wakes up automatically and is shown in Greenify as pending hibernation, if you long press the app, it will show some info like which app or process triggered it and whether it is critical etc. Then you can click the three dot menu button at top right and choose to cut off the trigger using the scissor icon or to ignore its running state. Then it will remain hibernated. Be careful while choosing the options since it may have unwanted side effects. Unless you are sure that you don't absolutely want that app to run in the background and be woken only upon your choosing to open it, don't meddle with the options.
EDIT: I am rusty with Greenify since I haven't installed it for my daily driver and hence the instructions are from memory. There may be some slight differences with what I stated and the actual behaviour.
I don't see these Greenify options but my device is running android 4.4.2 and that might be the reason.
Peter770 said:
I don't see these Greenify options but my device is running android 4.4.2 and that might be the reason.
Click to expand...
Click to collapse
Sorry, I have no idea since I never ran Greenify before MM and that was looong ago.
DB126 said:
Default is whatever you set as the default in Greenify settings. Normal is what Android uses by default and is adequate for the vast majority of work flows. Deep requires an add on product (Island) and seems to be a solution looking for a problem. You could have discovered all this by searching the thread or reading documentation.
Click to expand...
Click to collapse
True man, but i am looking for that documentation for a few days (cause i like to read...); so i ended up here... still... no documentation...
So please, if you are kind, give me a link to Greenify documentation.!
Thanks.!
Robotu said:
True man, but i am looking for that documentation for a few days (cause i like to read...); so i ended up here... still... no documentation...
So please, if you are kind, give me a link to Greenify documentation.!
Thanks.!
Click to expand...
Click to collapse
Greenify is obsolete; power management approaches of the past are no longer relevant. Looking forward is a better time investment. Greenify documentation exists somewhere but I'm not going hunting. Good luck, mate.

			
				
DB126 said:
Greenify is obsolete; power management approaches of the past are no longer relevant. Looking forward is a better time investment. Greenify documentation exists somewhere but I'm not going hunting. Good luck, mate.
Click to expand...
Click to collapse
Very true, though it took me a few days to convince myself..., just to remember why i freezed it few years ago...
Thanks...!

Categories

Resources