Greenify service gets killed in Hydrogenos - Greenify

I am having a bad experience with greenify in Hydrogenos (oneplus) . when i clear the grennify from recent it just remove the service also. so it never hibernates any apps anymore untill i open the app again.any fix for this. and seeing greenify recent all the time in recent is really hard because of the green colour

Related

When you hit the home button, does the program close?

When you have a program open, example is a video player. When I hit the home button does that program really fully close? Why I ask this is because I'll open up a web browser and input a web page. Before the web page even fully loads I'll hit the home button. Then even after a few minutes I'll load up that same browser and that page that didn't fully load will be there loaded up. I just want to make sure that when I close a program, it really is closed. That's all.
Hitting home does not "Close" or quit the program it rather puts it in the back round to fully quit it you must hit the recent apps button (Third on the left) and swipe the app away or get a task manager for those pesky back round apps.
Tech Faded said:
Hitting home does not "Close" or quit the program it rather puts it in the back round to fully quit it you must hit the recent apps button (Third on the left) and swipe the app away or get a task manager for those pesky back round apps.
Click to expand...
Click to collapse
Actually swiping apps away from recent list doesn't really close the apps. It just removes them off the recent list. Only a task manager can do that or going into settings, then apps, then force stopping it. But really,Android manages the memory very well itself. Alot of times, the way Android works, manually stopping a program will be more harm than good. Most of the time Android will just pull it back up itself therefore causing more CPU usage for that task tl bring it back. ANDROID keeps some apps semi-loaded. Ones it feels with load faster once you launch it since its already partially loaded. ANDROID is not like a PC where the processes in background will automatically slowbthings down or drain battery faster. Only certain apps that truly run in background can have that effect if too many loaded up. Whatever you do, don't use any auto memory killers or auto task managers or battery saver apps like juice defender, etc... those do more harm than good.
Unless your tablet is running with alot of lag, just try to ignore or resist the urge to keep constantly killing apps or whatever. You will see Android itself does a great job at managing it and will free up memory when actually needed. I'm still trying to do the same also resisting the urge. I just use Asus built in Task manger widget to see what's running in the background. If something clearly not needed then ill kill it. Beware though not to kill system apps or you might cause them to crash or be unstable.
A good app I came across is called BetterBatteryStats. Made by an xda member. Just type name of app in search box here in forum. That app will let you see what's truly running in the background and using up most battery or CPU processes. Has some great tips in there also in help section. IT LET me see how the Google currents app, although I wasn't using it, kept running in the background and using up processes and adding to battery drain. I would always see it pop up in my task manager although I never opened it and I have the refresh data set to long intervals. So it's basically a rouge app..lol. I uninstalled that mofo. Its a great app but runs to much in background regardless of data refresh settings and sometimes doesn't allow prime to stay in deep sleep when screen is off. Partial wakelocks, kernel wakelocks, etc...are all things you have to look over when determining what apps are causing most battery drainage or not allowing prime tl stay in deep sleep. Because they will partial wakelock n get data or whatever. It gets technical..lol learned alot from that one app. Free here in xda forums .
demandarin said:
Actually swiping apps away from recent list doesn't really close the apps. It just removes them off the recent list. Only a task manager can do that or going into settings, then apps, then force stopping it. But really,Android manages the memory very well itself. Alot of times, the way Android works, manually stopping a program will be more harm than good. Most of the time Android will just pull it back up itself therefore causing more CPU usage for that task tl bring it back. ANDROID keeps some apps semi-loaded. Ones it feels with load faster once you launch it since its already partially loaded. ANDROID is not like a PC where the processes in background will automatically slowbthings down or drain battery faster. Only certain apps that truly run in background can have that effect if too many loaded up. Whatever you do, don't use any auto memory killers or auto task managers or battery saver apps like juice defender, etc... those do more harm than good.
Unless your tablet is running with alot of lag, just try to ignore or resist the urge to keep constantly killing apps or whatever. You will see Android itself does a great job at managing it and will free up memory when actually needed. I'm still trying to do the same also resisting the urge. I just use Asus built in Task manger widget to see what's running in the background. If something clearly not needed then ill kill it. Beware though not to kill system apps or you might cause them to crash or be unstable.
A good app I came across is called BetterBatteryStats. Made by an xda member. Just type name of app in search box here in forum. That app will let you see what's truly running in the background and using up most battery or CPU processes. Has some great tips in there also in help section. IT LET me see how the Google currents app, although I wasn't using it, kept running in the background and using up processes and adding to battery drain. I would always see it pop up in my task manager although I never opened it and I have the refresh data set to long intervals. So it's basically a rouge app..lol. I uninstalled that mofo. Its a great app but runs to much in background regardless of data refresh settings and sometimes doesn't allow prime to stay in deep sleep when screen is off. Partial wakelocks, kernel wakelocks, etc...are all things you have to look over when determining what apps are causing most battery drainage or not allowing prime tl stay in deep sleep. Because they will partial wakelock n get data or whatever. It gets technical..lol learned alot from that one app. Free here in xda forums .
Click to expand...
Click to collapse
I was under the assumption that ICS fixed that? I suppose I was mistaken I apologize for my misunderstanding.
Demandarin, what makes you think swiping doesn't close a program? It does and its very obvious it works, just swipe then open the same program and you will see it starts over and will not be where you left off.
Try Settings > Developer Options > Don't Keep Activities. Sounds like it will fully close tasks once they are closed.
atgmartin said:
Try Settings > Developer Options > Don't Keep Activities. Sounds like it will fully close tasks once they are closed.
Click to expand...
Click to collapse
This is a very bad setting to enable if you ever have to switch back and forth between two different activities (for example email & web browsing). In general you should just leave the developer options alone.
As for closing apps.. why does it matter?
Apps that are not actively running don't use CPU and therefore don't use battery. Some apps sync information in the background, such as weather apps and email and while they do this battery is being used, however you can optimize the frequency of the updating to preserve as much battery life as possible.
In general unless you have experiencing performance issues, let Android manage itself.
If you absolutely need to turn off running apps, use the Asus Task Manager widget that comes pre-loaded on your tablet. You can use the Asus Task Manager to kill individual apps or all apps with a single click.
ON ICS, the swipe does stop the task running in the background, but I've seen where it the app may begin again, but as a background activity as almightywhacko describes.
People don't understand. Apps DON'T "run" in the background. They only run when you interact with them.
Buff McBigstuff said:
People don't understand. Apps DON'T "run" in the background. They only run when you interact with them.
Click to expand...
Click to collapse
Well, it depends. Apps don't run in the background like they do in windows, but some apps do continue to run processes in the background like data syncing and what not. However, it the app doesn't do this stuff then it only holds its state.
Also, I have not seen swiping recent apps closing apps. I think it is just happenstance if an app is closed by swiping it off the recent apps. Looking at the logging and monitoring the app state I have seen no correlation between running/not running apps and the recent app list.
However, as other people said, manually closing apps in Android will most likely reduce your performance rather than do anything beneficial.
I always get mad at those stupid apps that pretend to be providing a service. They won't go away. even if kill them they just come back(like Kenny). The app that likes to bother me the most is Zen pinball. I really like the game but it is always popping up prompting me to enable openfeint which I had already signed up for. I press enable but it still does not go away.
UmbraeSoulsbane said:
Well, it depends. Apps don't run in the background like they do in windows, but some apps do continue to run processes in the background like data syncing and what not. However, it the app doesn't do this stuff then it only holds its state.
Also, I have not seen swiping recent apps closing apps. I think it is just happenstance if an app is closed by swiping it off the recent apps. Looking at the logging and monitoring the app state I have seen no correlation between running/not running apps and the recent app list.
However, as other people said, manually closing apps in Android will most likely reduce your performance rather than do anything beneficial.
Click to expand...
Click to collapse
Only if they spawn a service. As far as activities, which most people would consider to be the "app" part, those do not run in the background. It just sits until it gets killed or used.

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

[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!

Force hibernation shortcut

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...

can I use deepclear for recent apps in mi a3 ?

hi
my recent xiaomi phone had miui and could deep clear recent apps !
but in mi a3 ( all of android one devices ) it does not deep clear and all of apps stay running in background !
is any way to add this option to the rom without install any 3rd party app ?
Not sure what kind of mumbo jumbo "deep clear" is, but you can "clear all" when you swipe to the left in recents screen. However keep in mind that aggressively killing apps to free up RAM is useless and counterproductive.
_mysiak_ said:
Not sure what kind of mumbo jumbo "deep clear" is, but you can "clear all" when you swipe to the left in recents screen. However keep in mind that aggressively killing apps to free up RAM is useless and counterproductive.
Click to expand...
Click to collapse
when i close apps and clean them from recent apps tgey are still running !
i can see this from other 3rd party apps that i install
but in miui rom when we close recent apps they will be forced close .
i don't wanna free up Ram , want to close them becauae they use my battery so much
#MmdRza said:
when i close apps and clean them from recent apps tgey are still running !
i can see this from other 3rd party apps that i install
but in miui rom when we close recent apps they will be forced close .
i don't wanna free up Ram , want to close them becauae they use my battery so much
Click to expand...
Click to collapse
Which apps are using battery after closing them? Also don't mistake cached apps and running apps. You can force close app from recents manually - click on app icon -> app info -> force stop. Don't forget that some apps are designed to be always running, so they will most probably restart once they receive corresponding intent.
_mysiak_ said:
Which apps are using battery after closing them? Also don't mistake cached apps and running apps. You can force close app from recents manually - click on app icon -> app info -> force stop. Don't forget that some apps are designed to be always running, so they will most probably restart once they receive corresponding intent.
Click to expand...
Click to collapse
so you mean there is no way to force stop apps automatically when i close recent apps ?
#MmdRza said:
so you mean there is no way to force stop apps automatically when i close recent apps ?
Click to expand...
Click to collapse
"Although some people may think that clearing an app from Recent Apps menu will*fully*close it, they are unfortunately mistaken. There is a difference between clearing an app from Recent Apps menu and clicking Force Stop on it.
Clearing an app from Recent Apps menu may not fully close the app specifically the apps that use services such as Music Player, Whatsapp, Facebook, etc. When you clear Music Player for example, the music won't stop because the app uses a service running in the background,*BUT*if you force stop it from mobile settings, the music will stop hence the service is terminated.
So if you want to clear some memory to increase your RAM, you should force stop the apps that use services.
In conclusion, clearing an app from Recent Apps menu will*only*kill the activity lifecycle of the app but not the services that are run by that app."
Source: https://android.stackexchange.com/q...by-clearing-it-from-recent-apps-menu-and-forc

Categories

Resources