Auto add apps and add delay before hibernation - Greenify

Since the first time I used greenify I thought it was strange that I had to add manually each of the 100 apps I have to hibernation (plus everytime I install a new one), but I never found anyone with the same problem. I wanted to know if there is some way to make greenify hibernate all apps with exceptions instead of manually add each one of them.
Also, my phone isn't rooted (warranty issues, going to return my phone soon), so I have to see that black screen when I lock my phone. However, sometimes I turn of my phone off and on after some seconds and it's terrible to have to stop the hibernation process. I wanted to know if there is a way to add a 5 minutes delay before it starts to hibernate things.
TL;DR:
- How to select all and use exceptions instead of selecting the apps you want to hibernate.
- How to add a 5 min delay before hibernation process starts after the screen is locked (on non-rooted phone).

Kinark said:
Since the first time I used greenify I thought it was strange that I had to add manually each of the 100 apps I have to hibernation (plus everytime I install a new one), but I never found anyone with the same problem. I wanted to know if there is some way to make greenify hibernate all apps with exceptions instead of manually add each one of them.
Also, my phone isn't rooted (warranty issues, going to return my phone soon), so I have to see that black screen when I lock my phone. However, sometimes I turn of my phone off and on after some seconds and it's terrible to have to stop the hibernation process. I wanted to know if there is a way to add a 5 minutes delay before it starts to hibernate things.
TL;DR:
- How to select all and use exceptions instead of selecting the apps you want to hibernate.
- How to add a 5 min delay before hibernation process starts after the screen is locked (on non-rooted phone).
Click to expand...
Click to collapse
No need to add your entire app suite to Greenify on recent Android versions; Marshmallow/Nougat/Oreo do a good job reining in background tasks via doze. That said, occasional bad actors may need some additional attention. Identify and add those to Greenify. Leave the rest out.
I don't believe there is a way to add a hibernation delay on unrooted devices. Make sure you are not using deep/aggressive hibernation which can trigger the behaviors you describe.

Related

[Q] Finally realised something about greenify

I'm sorry if something like this has come up before, it's quite hard to search for specific things like this and I probably look stupid for just realising this now but here goes:
I always assumed that Greenify would only hibernate apps that I myself didn't have running (ie apps that weren't in overview or the foreground) yet I've recently realised that apps in the overview page (recent tasks) on lollipop are also susceptible to being greenified. Is it possible to have apps be excluded from hibernation whilst they are in overview?
For example, I greenify the Eurosport app because it runs a service even though I have push notifications off for it, but I still want to be able to have it in the background and jump back to it without it reloading, so the ideal would be I could leave it in the overview and multitask into it again later. However if the screen has been off for a few minutes Greenify hibernates it meaning it requires a reload, which may in fact use more battery overall than I saved by greenifying it in the first place.
Is it possible to add the condition that apps only get greenified once they've been cleared from overview/recent tasks/multitasking (whatever you want to call it)
It has been discussed before.
1. Android 5.0 removed the ability for an app to get the list of recent apps.
2. Recent app list is actually managed by Android system. An app in the list does not mean its process is still running, and some being squeezed out of the list also do not mean their processes are ended.
So it's not reliable for hibernation to depends on the recent apps list.
In your case, if that app does not cause battery issue, it's suggested to keep it out of Greenify for process to be cached.

[Q] greenify with edge

So i have my tmobile edge for a couple of days now and im not really impressed with the battery life so i installed greenify however its not showing me all the bloatware that came preinstalled, anyone else having these issues?
peste19 said:
So i have my tmobile edge for a couple of days now and im not really impressed with the battery life so i installed greenify however its not showing me all the bloatware that came preinstalled, anyone else having these issues?
Click to expand...
Click to collapse
Do you have experimental mode enabled? I think you need the donation pack as well as root to greenify system apps.
didnt know about that, i tried going to experimental features and you are right donation package is needed however it says xposed is needed also, is xposed compatible with s6 edge? afraid of installing stuff to brick my device. I was trying to avoid rooting it for now since i see alot of people are bricking their devices, waiting for a fix.
Has anyone noticed some improvements using greenify with s6?
peste19 said:
didnt know about that, i tried going to experimental features and you are right donation package is needed however it says xposed is needed also, is xposed compatible with s6 edge? afraid of installing stuff to brick my device. I was trying to avoid rooting it for now since i see alot of people are bricking their devices, waiting for a fix.
Click to expand...
Click to collapse
You don't need Xposed to greenify system apps. There are some other features in the experimental section that it enables, but you don't need them. (And you are right that xposed is not compatible with the edge).
However, if you are not rooted the System freezing doesn't work very well in my experience. It freezes them but they often start running again on their own. Thus you wind up with it trying to close them all down each time you turn off the phone. You might be better off disabling what apps you can manually instead.
Overall I didn't find Greenify to be great when not rooted - sometimes it gets stuck pressing the keys to force close the apps. The best way I found was to use tasker to trigger the hibernation when the phone has been idle for ~10minutes, but it was still a bit iffy.
It will probably be good enough to get you by for now if you think you will root later, but I am not sure I would bother if you probably won't ever root.
isangelous said:
You don't need Xposed to greenify system apps. There are some other features in the experimental section that it enables, but you don't need them. (And you are right that xposed is not compatible with the edge).
However, if you are not rooted the System freezing doesn't work very well in my experience. It freezes them but they often start running again on their own. Thus you wind up with it trying to close them all down each time you turn off the phone. You might be better off disabling what apps you can manually instead.
Overall I didn't find Greenify to be great when not rooted - sometimes it gets stuck pressing the keys to force close the apps. The best way I found was to use tasker to trigger the hibernation when the phone has been idle for ~10minutes, but it was still a bit iffy.
It will probably be good enough to get you by for now if you think you will root later, but I am not sure I would bother if you probably won't ever root.
Click to expand...
Click to collapse
how did you use tasker to enable the hibernation? i am a bit new at this
peste19 said:
how did you use tasker to enable the hibernation? i am a bit new at this
Click to expand...
Click to collapse
I just had a look but unfortunately I don't have the profile anymore to export it for you.
Doing it from scratch would be a bit daunting if you have never used Tasker before.
You basically need to:
1. Set a variable for the display state (ie, on, off and unlocked). %DisplayState
2. Have a task for the screen unlock which sets a variable %NeedToGreenify or similar.
3. Have a task for the when screen off event triggers and %NeedToGreenify is set. This task waits 10 minutes. Then check if the screen is still off - this is what %DisplayState is for (Stop if it is not). Clear %NeedToGreenify. Trigger Hibernate (Greenify is a 3rd Party Plugin). Wait 30 seconds. Turn the screen off "SecureSettings - LockDevice".
I think I may have also used SecureSettings to keep the screen on while the process is running. You will also need to set the task options to "abort existing task" if it is already running.
I think this is how it worked, but it was a while ago :/

HUGE background wakeup time

Hi!
Ok, I'm attaching 2 screenshots where the hibernated list shows an excessively big amount of wakeup time. If I understand correctly, the apps in this list are apps that are to be hibernatized later on since they were awaken by a service or another app, and the timers correspond to the total amount of time that said apps have been awaken in the background. Am I wrong? If so, please let me know.
atomomega said:
Hi!
Ok, I'm attaching 2 screenshots where the hibernated list shows an excessively big amount of wakeup time. If I understand correctly, the apps in this list are apps that are to be hibernatized later on since they were awaken by a service or another app, and the timers correspond to the total amount of time that said apps have been awaken in the background. Am I wrong? If so, please let me know.
Click to expand...
Click to collapse
If I understand correctly, you have chosen these apps for hibernation but they are not being hibernated.
Which version of Greenify are you running and in which mode? Do you have the donation pack and Xposed? Have you enabled Greenify in Device Administrator?
IIRC, you don't need to enable Greenify in Device Administrator. Isn't that to just allow hibernating from a shortcut on the screen?
No. It is for immediate screen off after auto hibernation, as per the description. But I have noticed that not enabling it sometimes interferes with hibernation itself.
Thank you @tnsmani and sorry for the delay in my reply. I'm using latest stable 2.8 I think? In Boost Mode, with Xposed enabled and donation package. I wasn't aware of the Device Adminitrator component, but I just enabled it. Will see how it goes.
And disable 'shallow hibernation' in Greenify if you have such an option in your version.
Yes, I do. I had disbaled that one or two days after it was first introduced. For some reason I felt Shallow Hibernation is less effective, at least my battery didn't seem to last the same vs normal hibernation.

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.

Greenify app analyzer freezes on spinning circle after I click "More"

Firstly, I'm a non-root user of Greenify. When I first installed it (over a year ago, I believe), I was able to add most of my apps to hibernation (by hitting the "+" button and then "show all apps", then "More" at the bottom, and then choosing the apps from there. I admit, I have many apps installed (I know, it's not great and I tend to collect apps more than I use them but that's why I installed Greenify) so once I went to hibernate all those apps, it would take a bit but eventually go through with the additions. From then on, I would periodically add newly installed apps to the hibernation protocol through the same routine (+, Show all apps, More). I hadn't installed new apps for awhile until recently, when I decided to do another round of additions but for the past few months, any time I've tried, I get the loading circle for a second before it freezes and nothing happens - I have to close the app and reopen it only to run into the same issue again. I can hibernate the apps previously added with the widget and from the app itself but I can't add any new ones to the hibernation list. I've tried multiple times and even let my phone sit there with the frozen spinny circle to see if it just needs time to load but after 5 whole minutes of waiting, I had to give up. I do have a lot of apps but most of them have been given the hibernation treatment so the remaining pool of apps to be added to the list should be relatively small and when I choose the option to "hibernate system apps", system apps show up in the list when I hit the "+" (although I haven't added any system apps to the hibernate list for fear I could mess with my phone's functionality) but I when I hit the "More" option at the bottom, it does the same spinny-circle freeze thing again and marking or not marking "show all apps" makes no difference. I have a Galaxy S8, update to Oreo 8.0 so I'm wondering if this is an issue I'm running into because of the update, but I think I had this problem before joining the Beta. Any help would be greatly appreciated. I also have the donation package - I've had it since shortly after installing Greenify and there weren't any problems since then before the last few months. Thanks!
ActionGabby said:
Firstly, I'm a non-root user of Greenify. When I first installed it (over a year ago, I believe), I was able to add most of my apps to hibernation (by hitting the "+" button and then "show all apps", then "More" at the bottom, and then choosing the apps from there. I admit, I have many apps installed (I know, it's not great and I tend to collect apps more than I use them but that's why I installed Greenify) so once I went to hibernate all those apps, it would take a bit but eventually go through with the additions. From then on, I would periodically add newly installed apps to the hibernation protocol through the same routine (+, Show all apps, More). I hadn't installed new apps for awhile until recently, when I decided to do another round of additions but for the past few months, any time I've tried, I get the loading circle for a second before it freezes and nothing happens - I have to close the app and reopen it only to run into the same issue again. I can hibernate the apps previously added with the widget and from the app itself but I can't add any new ones to the hibernation list. I've tried multiple times and even let my phone sit there with the frozen spinny circle to see if it just needs time to load but after 5 whole minutes of waiting, I had to give up. I do have a lot of apps but most of them have been given the hibernation treatment so the remaining pool of apps to be added to the list should be relatively small and when I choose the option to "hibernate system apps", system apps show up in the list when I hit the "+" (although I haven't added any system apps to the hibernate list for fear I could mess with my phone's functionality) but I when I hit the "More" option at the bottom, it does the same spinny-circle freeze thing again and marking or not marking "show all apps" makes no difference. I have a Galaxy S8, update to Oreo 8.0 so I'm wondering if this is an issue I'm running into because of the update, but I think I had this problem before joining the Beta. Any help would be greatly appreciated. I also have the donation package - I've had it since shortly after installing Greenify and there weren't any problems since then before the last few months. Thanks!
Click to expand...
Click to collapse
You may have to go through a tedious process. Clear the data and cache of Greenify, uninstall it, reboot and then reinstall it. Grant the necessary permissions through adb. Then choose all the apps that you want to hibernate. Other than this, I don't think that there is any other way to solve your issue.
Be aware that backing up and restoring the settings of Greenify may also restore the issue you are facing.
tnsmani said:
You may have to go through a tedious process. Clear the data and cache of Greenify, uninstall it, reboot and then reinstall it. Grant the necessary permissions through adb. Then choose all the apps that you want to hibernate. Other than this, I don't think that there is any other way to solve your issue.
Be aware that backing up and restoring the settings of Greenify may also restore the issue you are facing.
Click to expand...
Click to collapse
Also recommend being judicious about what apps are added to Greenify's action list. With the introduction of doze Android does a pretty good job reigning in resource abusers. Adding a huge portfolio of apps to Greenify has few/no upsides and can potentially lead to greater resource consumption and poor overall device behavior. Greenify is best used for targeted action against demonstrated 'bad actors' that do not respond well to native resource management. On Oreo your list of Greenified apps should be quite small.

Categories

Resources