Force hibernation shortcut - Greenify

I'm using Greenify on 4.4. Some apps like Viber or keyboard are not hibernating automatically. We can force them to, with this zzz button in which case they hibernate all the time.
I find it would be the most useful not to use zzz but to have another "Force hibernation shortcut" that would instantly hibernate all listed apps, still allowing those existing 2 shortcuts which don't hibernate all.
I hope this concept is not wrong and that it can be done. If it is, please advise how to use it.

O
TimAnd said:
I'm using Greenify on 4.4. Some apps like Viber or keyboard are not hibernating automatically. We can force them to, with this zzz button in which case they hibernate all the time.
I find it would be the most useful not to use zzz but to have another "Force hibernation shortcut" that would instantly hibernate all listed apps, still allowing those existing 2 shortcuts which don't hibernate all.
I hope this concept is not wrong and that it can be done. If it is, please advise how to use it.
Click to expand...
Click to collapse
Thats an very interesting concept,and totally possible,this used to be present on older versions of greenify but it was removed because it closed apps when they were doing something important. also,Why are you hibernating your keyboard?

danx32 said:
Why are you hibernating your keyboard?
Click to expand...
Click to collapse
I'm hibernating keyboard just because it consumes power. That's so with SwiftKey and TouchPal which are great with swype/slide functions.
Built-in keyboard in 4.4 doesn't but I don't use it. Huawei phone has this power consumption warning and those 2 are regularly on the list.

TimAnd said:
I'm hibernating keyboard just because it consumes power. That's so with SwiftKey and TouchPal which are great with swype/slide functions.
Built-in keyboard in 4.4 doesn't but I don't use it. Huawei phone has this power consumption warning and those 2 are regularly on the list.
Click to expand...
Click to collapse
Swiftkey never been battery friendly,Unfortunately Currently The only solution is to use that ZZZ button until the developer fixes that,But that's gonna take awhile since he is currently focusing on Android N support.

I feel like this should be do-able in MacroDroid using a widget button and the Send Intent action... I have never tried using that particular action though, and seems I need to get a dump of the intents and look for the right one hehe, sounds like a sober job
Some info on Intent for Tasker.. not familiar with that app but assume is similar to MacroDroid...

Related

Suggestions for Greenify

Greenify is the most useful app yet made for Android but still so much can be done to make it better so I thought to make a thread to make Greenify better and I hope @oasisfeng would look at it.
Post your feature requests and suggestions here in this thread.
My suggestions: I think there should be an option, like a timer, after which greenify automatically greenifies apps even when the screen is on so that if I use a lot of apps continuously and then without turning the screen off once I start to watch a movie or play a game or anything on a phone, greenify should hibernate the background triggered apps automatically and save battery and provide better overall performance.
I know Tasker can do that but personally I don't like using Tasker because of its complex UI so I've set a shortcut on my phone when I double tap the menu button it triggers the hibernate now shortcut of greenify. But it would be of much help if greenify does it itself, having a timer of something between 1min-1hour to greenify apps automatically.
Also I would like the ram usage of greenify to be less, as sometimes it starts using as much as 60-70mb of ram, which is quite much. I hope you can find a way to reduce the ram usage.
If developer read this, i would like to have an option to disable startup apps.
If you have too much apps that starts in same time when you turn on your phone, you will have a slow boot..
I think that this is option that should exist in such great app..
And yes, some timer should exist also...
@oasisfeng
Hi sir. & tnx for the amazing greenfy.
As i talked with you I have some suggestions for greenfy & i want everyone to share more suggestions:
1) Add an option to put some apps in a group. Then put them in hibernation or degreenfy them with one click or widget.
Let me explain: for example i use some sound mods that keep special apps in memory. But when i dont listen to music i dont need them. So i want them to be in hibernation. But when i want to listen to music, i need to degreenfy them with one click
2) Add an option to deactivate & freeze some apps temporarily & easily in the greenfy app.
For example i dont want the google play services be in the memory all the time. I just need it when i want to use a google app. So i freeze it in the greenfy. & when i need it i defrost & activate it.
3)Add an option to force greenfy some apps instead of cut off the services one by one. Or an option to choose the services that we dont need them. & deactivate them.
4) Add an option to degreenfy some apps by a period of time & put it back in hibernation after that automatically.
For example: i use a calander app. That if i put it in hibernation the date that it shows freezes & sticks on a certain day. But if there be an option to degreenfy it daily for an hour automatically & put it back, it was great.
5) Add an option to change the cpu governer from ondemand(or balance) to power save automatically when the screen turns off. & when it turns on or we receive a call or notificstion it goes back to ondemand( or balance)
6)Add an option to not put in hibernation for some apps when they are downloading or uploading. ( i think it's not possible to determine this ) but just a suggesttion)
7) Add an gaming mode. That greenfy put all of the apps in hibernation instead of call,message, or apps that we mention.
kassaaam said:
Greenify is the most useful app yet made for Android but still so much can be done to make it better so I thought to make a thread to make Greenify better and I hope @oasisfeng would look at it.
Post your feature requests and suggestions here in this thread.
My suggestions: I think there should be an option, like a timer, after which greenify automatically greenifies apps even when the screen is on so that if I use a lot of apps continuously and then without turning the screen off once I start to watch a movie or play a game or anything on a phone, greenify should hibernate the background triggered apps automatically and save battery and provide better overall performance.
I know Tasker can do that but personally I don't like using Tasker because of its complex UI so I've set a shortcut on my phone when I double tap the menu button it triggers the hibernate now shortcut of greenify. But it would be of much help if greenify does it itself, having a timer of something between 1min-1hour to greenify apps automatically.
Also I would like the ram usage of greenify to be less, as sometimes it starts using as much as 60-70mb of ram, which is quite much. I hope you can find a way to reduce the ram usage.
Click to expand...
Click to collapse
Alright im not oasisfeng but i can certainly answer some questions as to why this might be possible atm
First, the so-called hibernation whem screen on will only drain your battery futher and will cut-off android system's background process for apps. To put it shortly, it'll cut-off the functions of apps that needs another app for its services.. Some instances includes xposed for whatsapp and the whatsapp itself and others alike. This will have an excessive power drain due to two reasons:
1.) Greenify will constantly monitor background time when screen on hence battery drain
2.) Hibernating apps while screen is on will only re-trigger it, as an example is facebook/messenger.. As hibernating them screen on would only awaken it again after a few seconds which results in more wakelocks and more unneccesarry battery drain
And for the ram usage i have never encountered such, the biggest i have is 11 mb so im quite puzzled.. What services are running in your greenify? I personally disable campaign tracking and analytics services to minimize ram usage
mire777 said:
If developer read this, i would like to have an option to disable startup apps.
If you have too much apps that starts in same time when you turn on your phone, you will have a slow boot..
I think that this is option that should exist in such great app..
And yes, some timer should exist also...
Click to expand...
Click to collapse
Disabling startup apps is the job of other 3rd party apps such as appopsxposed and bootmanager.. Greenify hibernates but not limits. You can never have too much butter on one bread sir

Hibernate apps but they wake back up... Facebook for one

If I hibernate an app like Facebook, its hibernated.. why does it wake back up? how can it wake back up if I dont open it or call it or do anything to share to it etc...Makes no sense.
I am rooted with greenify installed, I hibernate Facebook. Facebook is set to no chat, no notifications, nothing.. it has everything you can disable disabled... yet time after time again of hibernating it, I wake my screen up and do a manual manual hibernation OR i open greenify and Facebook is right there under Apps that will be hibernated soon. i can see the message tha says "Facebook was hibernated when i do a manual hibernation but it always seems to come back on its own.
There are quite a few apps which will wake up Facebook in the background. In particular, any apps which offer to allow you to sign in via a Facebook identity. Even though you might not have signed up via Facebook, those apps will often wake up FB anyway.
If you want to ensure FB doesn't wake up, then you need to install Xposed framework, enable the Greenify module in Xposed and then tick the option on Greenify for Wake-up Tracker and Cut-off. You can then disable having other apps open FB.
greenmark69 said:
There are quite a few apps which will wake up Facebook in the background. In particular, any apps which offer to allow you to sign in via a Facebook identity. Even though you might not have signed up via Facebook, those apps will often wake up FB anyway.
If you want to ensure FB doesn't wake up, then you need to install Xposed framework, enable the Greenify module in Xposed and then tick the option on Greenify for Wake-up Tracker and Cut-off. You can then disable having other apps open FB.
Click to expand...
Click to collapse
How can I disable other apps from waking up FB (or in general waking up other apps)? Via Greenify? Or do I need another app?
You need to root, then look up the thread on xda on how to install Xposed framework.
Then enable Greenify on Xposed.
Then there is an option in Greenify to cut off the wake ups
Sent from my HTC One using XDA Free mobile app
greenmark69 said:
You need to root, then look up the thread on xda on how to install Xposed framework.
Then enable Greenify on Xposed.
Then there is an option in Greenify to cut off the wake ups
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
All done before. But beside a text notification below the name of the greenified app stating which app woke up the greenified app there is no possibility to cut off those wake-ups.
If you highlight FB on Greenify there should appear a scissors icon on the top left.
Sent from my HTC One using XDA Free mobile app
greenmark69 said:
If you highlight FB on Greenify there should appear a scissors icon on the top left.
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
Ah, yes. This was the option I was looking for. Thank you
For other users facing the same problem: selecting the app that has been woken up (still running, not yet greenified) by long-press -> clicking on the appearing scissor symbol in the action bar will open a pop up notification where you have to confirm you want to prevent this greenified app from being woken up by other apps.
orville87 said:
Ah, yes. This was the option I was looking for. Thank you
For other users facing the same problem: selecting the app that has been woken up (still running, not yet greenified) by long-press -> clicking on the appearing scissor symbol in the action bar will open a pop up notification where you have to confirm you want to prevent this greenified app from being woken up by other apps.
Click to expand...
Click to collapse
can u post the screenshot as i m not able to see scissor sign. phone rooted and have xposed.
saadtariq73 said:
can u post the screenshot as i m not able to see scissor sign. phone rooted and have xposed.
Click to expand...
Click to collapse
Hmm, quite difficult to take a screenshot, as I can't find another app on my device which wakes up other apps as I have already cut off all such apps.
Try the following steps:
1. Open an app of which you know that it wakes up FB.
2. Close this app or go back to your homescreen.
3. Open Greenify and go to the section, where all apps that are greenified are shown (not the section where you can add apps to be greenified!) -> should be start page by default.
4. Now you should see that the app you have opened is running, but also FB, which has been woken up by this app.
5. Long press on the FB entry.
6. Now the scissor symbol should appear in the action bar and you can prevent FB from being woken up.
orville87 said:
Hmm, quite difficult to take a screenshot, as I can't find another app on my device which wakes up other apps as I have already cut off all such apps.
Try the following steps:
1. Open an app of which you know that it wakes up FB.
2. Close this app or go back to your homescreen.
3. Open Greenify and go to the section, where all apps that are greenified are shown (not the section where you can add apps to be greenified!) -> should be start page by default.
4. Now you should see that the app you have opened is running, but also FB, which has been woken up by this app.
5. Long press on the FB entry.
6. Now the scissor symbol should appear in the action bar and you can prevent FB from being woken up.
Click to expand...
Click to collapse
thanks, but see SS no scissor sign
saadtariq73 said:
thanks, but see SS no scissor sign
Click to expand...
Click to collapse
Try short press instead of long press during step 5.
BTW: make sure you have enabled Greenify in Xposed modules, rebooted your device afterwards and enabled the option "Track and Cut Off" in Greenify's experimental options.
saadtariq73 said:
thanks, but see SS no scissor sign
Click to expand...
Click to collapse
You seem to have some issue. I see that one app says it was woken up by 'Home' which means that Wake up Tracker and Cutoff is enabled. But the other apps do not say how they were woken up.
Better uninstall Greenify and then reinstall following the recommended procedure and for good measure clean up data also.
orville87 said:
Hmm, quite difficult to take a screenshot, as I can't find another app on my device which wakes up other apps as I have already cut off all such apps.
Try the following steps:
1. Open an app of which you know that it wakes up FB.
2. Close this app or go back to your homescreen.
3. Open Greenify and go to the section, where all apps that are greenified are shown (not the section where you can add apps to be greenified!) -> should be start page by default.
4. Now you should see that the app you have opened is running, but also FB, which has been woken up by this app.
5. Long press on the FB entry.
6. Now the scissor symbol should appear in the action bar and you can prevent FB from being woken up.
Click to expand...
Click to collapse
Had the same problem, and this solved it! Thanx, this setting is sooooo non-intuitive...
I cut FB from SayHi and Skout. then i decided that i might actually want to have SayHi to be able to wake up FB, so I reattached it. but it seems to have reattached everything else to FB. and I can't see the scissors icon anymore. FB doesn't say "woken up by..", it now says "content provided: AttributionIdProvider". I have tried clearing data and reinstalling the 3 apps and Greenify itself, didn't fix it. Any ideas? Thanks!
I'm on rooted S4 mini LTE running Android 4.4.2 stock and Greenify 2.6 beta 8.
nvm, scissors are showing on Greenify 2.5.2.
Is the "Track and Cut Off" function still on Greenify? I can't find it in version 2.7.1. Or is it a paid function?
Nayibmc said:
Is the "Track and Cut Off" function still on Greenify? I can't find it in version 2.7.1. Or is it a paid function?
Click to expand...
Click to collapse
I am on v2.7.1 (donation version) and the wake-up path cut-off option is still available for me, despite the fact that there is no checkbox to tick in the experimental options any more.
Nayibmc said:
Is the "Track and Cut Off" function still on Greenify? I can't find it in version 2.7.1. Or is it a paid function?
Click to expand...
Click to collapse
Yesterday the Dev stated this in another sub thread:
"Since the wake-up cut-off engine is upgraded in 2.6, Greenify now does not list the detailed paths cut-off due to the complexity, and the "re-attach" action re-attaches all the paths cut-off. I'm planning to bring back more details in Greenify for cut-off paths in the future version."
So is the Cut-off thing just for the donation version?
Nayibmc said:
So is the Cut-off thing just for the donation version?
Click to expand...
Click to collapse
As I am using the donation version and have this option available, whereas you don't have this option, I would say: yes. But have you tried looking for the scissor icon for different apps? The wakeup-path cut-off option does not work for all apps, so you might want to check it by clicking on apps that are listed under "running" when you open Greenify (main screen).
Nayibmc said:
So is the Cut-off thing just for the donation version?
Click to expand...
Click to collapse
Yes.

[Q] Pending apps in Greenify 2.5.2 with donation pack

I have recently bought the donation pack for greenify and I have several questions. First of all, I want to say that the app is really fulfilling all my expectations but as someone worried about my battery performance I still have some question, but first I'll say the conditions of my smartphone:
Samsung galaxy s5 with lollipop using greenify 2.5.2 donation pack (non rooted)
Questions:
1) I cannot see apps like chrome to be greenified and I want to have them like that as I see chrome takes up to several hours of internet connection even if I have just used it for some minutes. I wonder this is possible because I suppose this can be made as in other apps like battery killers, chrome can be killed, but I just haven't seen how.
2) Everytime I open greenify there are many "pending" apps that are not hibernated, even if I click in "zzz" button or in the button that says "hibernate and turn off the screen". The only way to deal with these pending apps is to select all of them and click on "zzz". I guess there should be a way to have them automatically hibernated.
3) There is an option in the menu that talks about an automatic manner to do this but I don't see how to activate it. I have it marked the greenify options for locking the screen but there are even more things to set that I don't see where and how. Maybe you can guide me in this better. In case I have this option chosen, pending apps will be automatically closed after some minutes, as it is said? if so, how many minutes?
Thanks in advance!
paco_ramirez said:
Questions:
1) I cannot see apps like chrome to be greenified and I want to have them like that as I see chrome takes up to several hours of internet connection even if I have just used it for some minutes. I wonder this is possible because I suppose this can be made as in other apps like battery killers, chrome can be killed, but I just haven't seen how.
2) Everytime I open greenify there are many "pending" apps that are not hibernated, even if I click in "zzz" button or in the button that says "hibernate and turn off the screen". The only way to deal with these pending apps is to select all of them and click on "zzz". I guess there should be a way to have them automatically hibernated.
3) There is an option in the menu that talks about an automatic manner to do this but I don't see how to activate it. I have it marked the greenify options for locking the screen but there are even more things to set that I don't see where and how. Maybe you can guide me in this better. In case I have this option chosen, pending apps will be automatically closed after some minutes, as it is said? if so, how many minutes?
Thanks in advance!
Click to expand...
Click to collapse
Have you set Greenify to "on" in SETTINGS>Accessibility?
If you want to manually hibernate, create the shortcut from within Greenify (use the three button icon on the top right). When you use the shortcut, the chosen apps will be hibernated and the screen will be locked afterwards.
In Autohibernate, the time taken for hibernation varies but all apps should be hibernated within 10 minutes max.
For hibernating system apps like Chrome, I think you need root permission.
Yes, the accesibility for Greenify is set to activated. However this options is never enabled within the "experimental settings" menu. It's always set to off. So I have never seen my phone awaking ten minutes after to turn off all pending apps. They remain opened. Any hint?.
Best regards!
paco_ramirez said:
Yes, the accesibility for Greenify is set to activated. However this options is never enabled within the "experimental settings" menu. It's always set to off. So I have never seen my phone awaking ten minutes after to turn off all pending apps. They remain opened. Any hint?.
Best regards!
Click to expand...
Click to collapse
When you click the "always off" Automatic Hibernation option in Experimental Features, what happened? It is supposed to be a accessibility setting dialog for you to enable the accessibility service from Greenify for the first time, then Device Admin dialog to enable the other service for the second time, and being checked at last for the third time.
Here I post the sequence I do in screenshots. Evrytime I click in that button it appears the same dialog. I don't know if I'm doing something wrong...but i dont get it working and I have to hibernate manually pending apps
Thanks for helping! ?
paco_ramirez said:
Here I post the sequence I do in screenshots. Evrytime I click in that button it appears the same dialog. I don't know if I'm doing something wrong...but i dont get it working and I have to hibernate manually pending apps
Thanks for helping! ?
Click to expand...
Click to collapse
Have you enabled 'secure key guard'?
If so, disable it and then check.
tnsmani said:
Have you enabled 'secure key guard'?
If so, disable it and then check.
Click to expand...
Click to collapse
Yes! it was that!. I supposed it was enough by allowing greenify in the security menu. Thanks!
However, I wanted to have it working because I thought it was the only way to have pending apps hibernated because with the button "hibernate and lock" was not hibernating pending apps. After rebooting the phone (thing that I do seldom) it works as I expected. I guess this was the cause why greenify wasn't worked as I expected. Then, for me it is ok if I have that button since it does what I expected to.
Thanks to all!

Disable manual non-root hibernation nag screen

I know that there is currently no option to disable it, but maybe this will be implemented as it makes sense.
In non-root mode, every time I hibernate apps, the screen that tells me I need to force stop or enable automation comes up.
I learned that I need to press force stop, and I don't want automation because it runs in background, eating RAM.
Moreover, on a tablet, the nag screen covers a part of the force stop button.
Could an option to disable that screen over and over again be provided?
Thank you.
nick_white said:
I know that there is currently no option to disable it, but maybe this will be implemented as it makes sense.
In non-root mode, every time I hibernate apps, the screen that tells me I need to force stop or enable automation comes up.
I learned that I need to press force stop, and I don't want automation because it runs in background, eating RAM.
Moreover, on a tablet, the nag screen covers a part of the force stop button.
Could an option to disable that screen over and over again be provided?
Thank you.
Click to expand...
Click to collapse
When you enable automation, the app will close and will not run in the background. It only automates your action of force closing it.
tnsmani said:
When you enable automation, the app will close and will not run in the background. It only automates your action of force closing it.
Click to expand...
Click to collapse
I wasn't talking about the app I want to hibernate, I was talking about Greenify itself running in the background if I enable automation (see in my screenshot).
Keeping 47 MB of RAM for Greenify all the time for a few times when I want to manually hibernate apps just doesn't make sense... after all, one of it's (main) goals is freeing resources.
If I'm fine manually pressing "Force stop" (the alternative being to sacrifice 47 MB of RAM), then I shouldn't be nagged every time I do it to enable automation (I got the picture the first time.... no, thank you) . This is why there sould be an option to dismiss that "warning".
nick_white said:
I wasn't talking about the app I want to hibernate, I was talking about Greenify itself running in the background if I enable automation (see in my screenshot).
Keeping 47 MB of RAM for Greenify all the time for a few times when I want to manually hibernate apps just doesn't make sense... after all, one of it's (main) goals is freeing resources.
If I'm fine manually pressing "Force stop" (the alternative being to sacrifice 47 MB of RAM), then I shouldn't be nagged every time I do it to enable automation (I got the picture the first time.... no, thank you) . This is why there sould be an option to dismiss that "warning".
Click to expand...
Click to collapse
47MB seems high. For me, it is 24MB only. And I always have >1GB free
nick_white said:
I wasn't talking about the app I want to hibernate, I was talking about Greenify itself running in the background if I enable automation (see in my screenshot).
Keeping 47 MB of RAM for Greenify all the time for a few times when I want to manually hibernate apps just doesn't make sense... after all, one of it's (main) goals is freeing resources.
If I'm fine manually pressing "Force stop" (the alternative being to sacrifice 47 MB of RAM), then I shouldn't be nagged every time I do it to enable automation (I got the picture the first time.... no, thank you) . This is why there sould be an option to dismiss that "warning".
Click to expand...
Click to collapse
"3 processes" looks unusual, could you please capture another screenshot in the detail screen showing which 3 process in use?
Anyhow, I'm planning to remove that floating screen in the next major version.
oasisfeng said:
"3 processes" looks unusual, could you please capture another screenshot in the detail screen showing which 3 process in use?
Click to expand...
Click to collapse
Yes (attached).
It looks like Google Services bloats it up.
Can we disable those background usage reportings? Apart from free memory, they're the reason we're using Greenify in the first place.
Thanks.
nick_white said:
Yes (attached).
It looks like Google Services bloats it up.
Can we disable those background usage reportings? Apart from free memory, they're the reason we're using Greenify in the first place.
Thanks.
Click to expand...
Click to collapse
Does them linger for a long time, or just in a short time?
I hardly noticed them within in Greenify, but it definitely worth a further observation.
oasisfeng said:
Does them linger for a long time, or just in a short time?
I hardly noticed them within in Greenify, but it definitely worth a further observation.
Click to expand...
Click to collapse
I have one service and three processes running. Nothing connected to Google. See the screenshots.
tnsmani said:
I have one service and three processes running. Nothing connected to Google. See the screenshots.
Click to expand...
Click to collapse
It's 3 services in one process as showed in the screenshot, not 3 processes.

Is Greenify useful if you have Marshmall and above?

I've been using Greenify for years and love the app. Since Marshmallow, Android has included a kill app(s) option from the recent apps button menu. With this option, is Greenfiy necessary anymore? The one benefit to using Greenify I can think of is that it does the hibernation automatically after you lock the screen vs manually having to do it with the Android kill option but are there other benefits to using Greenfiy over the Android built-in option?
shobuddy said:
I've been using Greenify for years and love the app. Since Marshmallow, Android has included a kill app(s) option from the recent apps button menu. With this option, is Greenfiy necessary anymore? The one benefit to using Greenify I can think of is that it does the hibernation automatically after you lock the screen vs manually having to do it with the Android kill option but are there other benefits to using Greenfiy over the Android built-in option?
Click to expand...
Click to collapse
Killing and hibernation are two different things. Ability to terminate individual apps from the recents menu has been around since at least KitKat. Greenify still has value in Marshmallow depending on configuration and expectations.
Davey126 said:
Killing and hibernation are two different things.
Click to expand...
Click to collapse
On Marshmallow, you have the option to do both hibernate and kill w/in the OS.
shobuddy said:
On Marshmallow, you have the option to do both hibernate and kill w/in the OS.
Click to expand...
Click to collapse
Yep - you said "kill". As for needing Greenify original response remains accurate. If you are satisfied Marshmallow's limited implementation of doze/hibernate and battery endurance is satisfactory there is no reason to retain Greenify. If you want more control Greenify is probably best-in-breed when it comes to hibernation emulation/helper apps.
Is there a way to add Android's "Doze" shortcut to the home screen?

Categories

Resources