Related
Greenify "greenifies" applications that are in active use, for example Google Maps that I use for navigation and music streaming and player apps like Deezer and Vanilla Music. By "foreground" I mean that the application is currently in use, I don't go back to home screen. I just turn of my screen to save battery. Music playback cuts off after a minute or so and the only solution is to "degreenify" all music player apps. Google Maps will reset shortly when my screen turns off.
Is this how Greenify works?
The latest version with the donation package. [UNOFFICIAL] Xposed for Android 5.1 - API v64 / Alpha 4 / 20150514, HTC One M7. Xposed is enabled in the Greenify settings.
Greenify is designed to not hibernating the currently foreground app. Are you using any 3rd-party lock-screen app? It might interfere the recognition of foreground app.
oasisfeng said:
Greenify is designed to not hibernating the currently foreground app. Are you using any 3rd-party lock-screen app? It might interfere the recognition of foreground app.
Click to expand...
Click to collapse
Not to my knowledge. I'm on CyanogenMod 12.1.
I've experienced similar behavior for quite some time as well, on my Nexus 5 (LP 5.1.1, although I believe the issue goes back to at least 5.0). I am not running a custom lockscreen, nor can I think of anything that would steal the foreground.
Was Greenify compatible with the Unofficial Xposed for Lollipop 5.1 before the today's update?
I only tested a bit, but Greenify seems to be working correctly now :victory:
I'm currently having this same problem with Google music and greenify
Sent from my LG-D851 using Tapatalk
Same problem.
All apps are hibernated after some minutes of screen off.
Before this bug: runtastic and music player active while jogging -> screen off -> all apps beside those too get hibernated
Now: runtastic and music player active -> screen off -> ALL apps get hibernated
Please fix it.
I think it's cm12.1 related.
Tried with Greenify 2.6.2 and 2.7.x all betas.
Still the same.
iamnotkurtcobain said:
Same problem.
All apps are hibernated after some minutes of screen off.
Before this bug: runtastic and music player active while jogging -> screen off -> all apps beside those too get hibernated
Now: runtastic and music player active -> screen off -> ALL apps get hibernated
Please fix it.
I think it's cm12.1 related.
Tried with Greenify 2.6.2 and 2.7.x all betas.
Still the same.
Click to expand...
Click to collapse
Can we use a previous version and it will work?
Sent from my LG-D851 using Tapatalk
Dibsbighead said:
Can we use a previous version and it will work?
Sent from my LG-D851 using Tapatalk
Click to expand...
Click to collapse
Doesn't seem so.
Same problem here after updating my rom yesterday. It must be caused by a CM commit between the 10th and yesterday. Even apps with persistant notifications are being greenified.
an0n981 said:
Same problem here after updating my rom yesterday. It must be caused by a CM commit between the 10th and yesterday. Even apps with persistant notifications are being greenified.
Click to expand...
Click to collapse
Please help @oasisfeng
Greenify isn't usable this way
Very same issue here. the cyanogenmod update is the reason i feel.
At this point greenify is almost unusable.
Was okay till i updated my cm to 20150816 from 20150811...
someone please post a fix if any available at all...
joker_you2007 said:
Very same issue here. the cyanogenmod update is the reason i feel.
At this point greenify is almost unusable.
Was okay till i updated my cm to 20150816 from 20150811...
someone please post a fix if any available at all...
Click to expand...
Click to collapse
It's really unusable at the moment. And I don't wanna downgrade to an older nightly (stagefright issue,...)
Same problem here!
I do not know whether this is related to recent CM updates, but I am also running Greenify on CyanogenMod 12.1 (20150816 nightly on LG D855) and Greenify is hibernating Spotify while it is playing (despite it's ongoing event notification). Both Greenify latest stable and latest beta versions have this issue (I was running stable and then updated to beta while trying to resolve this issue).
There is no need to hibernate Spotify.
Sent from my bacon!!!!!
Saving RAM and preventing Spotify from spawning up Facebook is a reason for me to hibernate it.
NickosD said:
There is no need to hibernate Spotify.
Sent from my bacon!!!!!
Click to expand...
Click to collapse
I also have the problem with greenify hibernating running apps like radio player and strava. Also using Cm12.1, nightly 2608. Was working fine until about a week ago.
The issue has been fixed in version 2.7 beta 8.
Many thanks to @oasisfeng for quick solution!
I get the "app is not installed" error when updating to the newest beta.
The older versions don't have the fix what I'm looking for.
Well, i have observed it with Facebook Messenger and Viber, should be the same issue with other greenified applications
The GCM push works fine, but the problem is, that the notification won't be visible till i actually open or unlock my screen
That said, i can see that the application has been woken by a push( seconds or minutes before i get the notification) but you can't see it till you actually open the phone so the application opens in foreground.
I am almost definitely sure this used to work at KitKat normally
I have tested this using Greenify beta(the latest) with the xposed-alpha 14-05 on OnePlus One
Reptant said:
Well, i have observed it with Facebook Messenger and Viber, should be the same issue with other greenified applications
The GCM push works fine, but the problem is, that the notification won't be visible till i actually open or unlock my screen
That said, i can see that the application has been woken by a push( seconds or minutes before i get the notification) but you can't see it till you actually open the phone so the application opens in foreground.
I am almost definitely sure this used to work at KitKat normally
I have tested this using Greenify beta(the latest) with the xposed-alpha 14-05 on OnePlus One
Click to expand...
Click to collapse
I can confirm this too! @oasisfeng you should definitely look into this issue.I've tried it on my two devices running 5.0.2 and 5.1.1 respectively.The notification doesn't come through until I wakeup the screen.The app is waken up but the notification doesn't arrive until I turn on the screen.
Removing the app from greenified list fixes the issue.
Tapped from my furious dogo
vaisakh7 said:
I can confirm this too! @oasisfeng you should definitely look into this issue.I've tried it on my two devices running 5.0.2 and 5.1.1 respectively.The notification doesn't come through until I wakeup the screen.The app is waken up but the notification doesn't arrive until I turn on the screen.
Removing the app from greenified list fixes the issue.
Tapped from my furious dogo
Click to expand...
Click to collapse
Well sometimes, after a random amount of time it may appear.. But the randomness is what troubles me as well..
@oasisfeng Can confirm this. Unless I turn on the screen manually, I don't hear the notification chime. And yes, it did work fine in KitKat.
Have same issue, no notification with Facebook and Messenger.
I get the when screen turns on, but not instantly...after a while.
Any fix?
Sent from my Samsung Galaxy S5 SM-G906K using TapaTalk
Same here, but also without greenify. I switched to a new ROM and phone. So perhaps it is ROM related.
bongster said:
Same here, but also without greenify. I switched to a new ROM and phone. So perhaps it is ROM related.
Click to expand...
Click to collapse
Hi again, I have managed to get it work again. I degreenified all apps, deselected everything under experimentally features. After a reboot I ticked off my normal feature set. And voila I'm getting gcm messages again! I guess I messed something up by using titanium...
BTW I'm using cm 12.1 optimized on a S4
bongster said:
Hi again, I have managed to get it work again. I degreenified all apps, deselected everything under experimentally features. After a reboot I ticked off my normal feature set. And voila I'm getting gcm messages again! I guess I messed something up by using titanium...
BTW I'm using cm 12.1 optimized on a S4
Click to expand...
Click to collapse
Can you be more precise in what you've done?
For now I've made an app with Tasker that closes Facebook and Messenger and then Greenify all my app list and then locks system, so to not put Facebook and Messenger on Greenify and have push messages, but don't constantly have them on Active Apps last if used.
If you want I can share it.
Sent from my Samsung Galaxy S5 SM-G906K using TapaTalk
PIRATA! said:
Can you be more precise in what you've done?
For now I've made an app with Tasker that closes Facebook and Messenger and then Greenify all my app list and then locks system, so to not put Facebook and Messenger on Greenify and have push messages, but don't constantly have them on Active Apps last if used.
If you want I can share it.
Sent from my Samsung Galaxy S5 SM-G906K using TapaTalk
Click to expand...
Click to collapse
OK. I'll try to explain a bit more precisely.
My issue was, that e.g. whatsapp does not receive messages while greenified. I had to start it manually to see if I got new messages.
This started a few days ago with my new phone. Before the new phone I had no problems with greenify in combination with cm12.1.
Here my steps:
1. Remove all Apps from greenify
2. Remove all options from experimental features
3. Restart the phone
4. Select all apps that I want to greenify
5. Reselect my normal options under experimental options.
That's it
Regards
Unfortunately this didn't work for me. But I tried something else that might be helpful. I use Amplify and decided to disable it temporarily to see if I received the GCM push and the notifications, and yes, it did work flawlessly. I might have stopped a wakelock or a service being of google that might be helpful in this.
same issues, then went to settings security device administrators checked greenify now i get push notifications when screens off
stesteste said:
same issues, then went to settings security device administrators checked greenify now i get push notifications when screens off
Click to expand...
Click to collapse
You mean you turned on the administrator setting?
ottomanrage said:
You mean you turned on the administrator setting?
Click to expand...
Click to collapse
yes just for greenify
blisspop 6.3 .arter97 kernel xposed
Same here :/ It's enabled in security settings
stesteste said:
yes just for greenify
blisspop 6.3 .arter97 kernel xposed
Click to expand...
Click to collapse
Well, it didn't help much. I tried flashing all the ROMs available for S3 and it works, partially, in the latest BlissPop. The thing is that GCM push gets received instantaneously but the notification doesn't get posted. It does though, like after 30 mins or so. But never soon enough.
any news why GCM doesnt work proberly anymore with some apps like WhatsApp ? It used to work so i wonder if this a ROM, App, Xposed or Greenify problem.
About 6-8 weeks ago i had this working with CM12.1 on a GT-I9505 (Galaxy S4) with at that time actual apps, modules and ROM.
This is the first beta version of Greenify 2.7. This major version is aimed to improve the over-all user experience in every aspect (if possible).
Beta 8
Fixed the detection for background active app on Android 5.1.1_r9 and 6.0, with new implementation.
Fixed crash on Android 4.0.x.
Simplified the confusing state reason of postponed hibernation.
Beta 7
Fixed crash during auto-hibernation in non-root mode.
Beta 6
Due to a permission change in the newest revision of Android 5.1.1 and 6.0, Greenify has to use the usage stats permission to detect the foreground app and avoid hibernating it. Unfortunately, this new implementation could no longer detect the active background apps (such as music player).
Improved compatibility with Android 6.0.
FIX: Xposed feature settings lost issue on arm64.
Beta 5
Foreground app no longer hibernates even if "state always ignored" is checked.
Reduced the impacts of wake-up cut-off.
FIX: Native processes cleaning.
FIX: Wake-up action in Tasker plug-in on Android 5.x.
FIX: No longer list disabled apps.
Beta 4
Fixed the reboot issue in root mode if core system app is greenfied.
Beta 3
Greenify now cleans up native processes after hibernation, to prevent self-reviving.
Fixed root mode on Android 4.0 & 4.1.
Fixed non-root mode on Android M.
No longer pause auto-hibernation when charging.
Beta 2
Fixed the manual hibernation not working issue when charging. (introduced in beta 1)
Beta 1
Dim the screen when performing auto-hibernation on non-root device.
Auto-hibernation will pause when external power is connected.
"Hibernate and Lock Screen" shortcut does not require device-admin privilege activated, and is now compatible with Smart Lock on Android Lollipop & M. (root-only)
Experimental support for Android M Developer Preview, with new "Shallow Hibernation" - application context and push notification are all preserved in hibernation.
Click to expand...
Click to collapse
About Android M support (experimental)
Since Android M is still in early developer preview stage, anything could change before the final version is out. So is the experimental support in Greenify.
Greenify now takes advantage of App Standby feature in Android M and combine it with the efforts of traditional implementation to create a new "Shallow Hibernation" state for greenified apps. In this state, app won't lose the context before being switched to the background and could also receive GCM push message in hibernation.
Known issues
The "... Lock Screen" shortcut with new implementation is reacting slower than before in some lower end device, due to slow root invocation.
Get beta versions
Opt-in to beta channel or download the apk file.
Please apk file Greenify v2.7 beta 1 ..
http://www13.zippyshare.com/v/HAwp78U6/file.html
Any changes for LP? or for M only?
aeonix_05 said:
Any changes for LP? or for M only?
Click to expand...
Click to collapse
Only the first one is for Android M.
cenzo1996 said:
Please apk file Greenify v2.7 beta 1 ..
Click to expand...
Click to collapse
Link is now provided in OP.
@oasisfeng Thanks for the update. Working fine but the problem that the notifications don't get delivered unless the screen is turned on manually remains on LP. Greenify shows as push received "x" minutes ago but no notification sound or anything related when phone screen is off.
nice
I have a slight problem with the newest version: Any app that happens to be awake when I open Greenify just stays awake. At the moment Google App, Google Play Store, ACalendar Plus and Weather don't wanna get closed, they just stay persistently. If I press to hibernate them, I get a toast message that they're hibernated, but they are not... Now I don't know whether it's an error of function or of displaying
gALEXyS4 said:
I have a slight problem with the newest version: Any app that happens to be awake when I open Greenify just stays awake. At the moment Google App, Google Play Store, ACalendar Plus and Weather don't wanna get closed, they just stay persistently. If I press to hibernate them, I get a toast message that they're hibernated, but they are not... Now I don't know whether it's an error of function or of displaying
Click to expand...
Click to collapse
Yup, I have that problem too. The toast says hibernated but they actually don't get hibernated.
I have a slight problem with the newest version: Any app that happens to be awake when I open Greenify just stays awake. At the moment Google App, Google Play Store, ACalendar Plus and Weather don't wanna get closed, they just stay persistently. If I press to hibernate them, I get a toast message that they're hibernated, but they are not... Now I don't know whether it's an error of function or of displaying
Click to expand...
Click to collapse
+1 for Samsung Galaxy S6 android 5.0.2 root
gALEXyS4 said:
I have a slight problem with the newest version: Any app that happens to be awake when I open Greenify just stays awake. At the moment Google App, Google Play Store, ACalendar Plus and Weather don't wanna get closed, they just stay persistently. If I press to hibernate them, I get a toast message that they're hibernated, but they are not... Now I don't know whether it's an error of function or of displaying
Click to expand...
Click to collapse
+1
Sent from my SM-G900F using Tapatalk
gALEXyS4 said:
I have a slight problem with the newest version: Any app that happens to be awake when I open Greenify just stays awake. At the moment Google App, Google Play Store, ACalendar Plus and Weather don't wanna get closed, they just stay persistently. If I press to hibernate them, I get a toast message that they're hibernated, but they are not... Now I don't know whether it's an error of function or of displaying
Click to expand...
Click to collapse
Same here. S4 with S6 featured ROM.
Gesendet von meinem Nexus 7 WiFi mit Tapatalk
Sony Z1c LP 5.0.2 too . I am back on the last version now.
Gesendet von meinem D5503
ottomanrage said:
@oasisfeng Thanks for the update. Working fine but the problem that the notifications don't get delivered unless the screen is turned on manually remains on LP. Greenify shows as push received "x" minutes ago but no notification sound or anything related when phone screen is off.
Click to expand...
Click to collapse
I'm sorry, I still can't figure out the cause of that issue yet. It seems like only affect some apps in some situations. This combination is not clear in any form.
gALEXyS4 said:
I have a slight problem with the newest version: Any app that happens to be awake when I open Greenify just stays awake. At the moment Google App, Google Play Store, ACalendar Plus and Weather don't wanna get closed, they just stay persistently. If I press to hibernate them, I get a toast message that they're hibernated, but they are not... Now I don't know whether it's an error of function or of displaying
Click to expand...
Click to collapse
Which Android version and device model? What working mode?
oasisfeng said:
I'm sorry, I still can't figure out the cause of that issue yet. It seems like only affect some apps in some situations. This combination is not clear in any form.
Click to expand...
Click to collapse
Thanks for the reply. For me it's mostly in whatsapp and viber. I have the logs for the GCM push if you need. And it happens everytime. Basically in all situations.
And as for the latest beta update, I have an I9300 running 5.1.1 with boost mode (xposed).
oasisfeng said:
Which Android version and device model? What working mode?
Click to expand...
Click to collapse
android 5.0.2 SAMSUNG GALAXY S6
ottomanrage said:
Thanks for the reply. For me it's mostly in whatsapp and viber. I have the logs for the GCM push if you need. And it happens everytime. Basically in all situations.
And as for the latest beta update, I have an I9300 running 5.1.1 with boost mode (xposed).
Click to expand...
Click to collapse
I have collected many logs in the past months. But both Google Play services and these apps are closed source. Logs are not enough to figure out why they can't post notifications even if push message was received.
Several attempts have been made trying to fix the issue, but still no luck yet.
Maybe they are not prepared to receive push message in hibernation state.
gALEXyS4 said:
I have a slight problem with the newest version: Any app that happens to be awake when I open Greenify just stays awake. At the moment Google App, Google Play Store, ACalendar Plus and Weather don't wanna get closed, they just stay persistently. If I press to hibernate them, I get a toast message that they're hibernated, but they are not... Now I don't know whether it's an error of function or of displaying
Click to expand...
Click to collapse
Have you connected external power to the device? If so, that's because Greenify will not perform auto-hibernation during charging since this version. The incorrect prompt information is the known issue I've listed in the OP. I'll add more clear prompt for this.
all ok with hypernate here
Hi!
Greenify hibernates all apps, even the ones that are active (in my case runtastic and music player)
Before this bug: runtastic and music player active while jogging -> screen off -> all apps beside those too get hibernated
Now: runtastic and music player active -> screen off -> ALL apps get hibernated
Please fix it.
I think it's cm12.1 related.
Tried with Greenify 2.6.2 and 2.7.x all betas.
Still the same.
Edit: could this be the cause?
http://review.cyanogenmod.org/#/c/105617/
Same problem here.
Running CM 12.1 August 16 nightly and getting Spotify hibernated while playing.
I believe there should be another commit in CM which breaks Greenify's ability to detect running apps.
Probably we should continue discussion in this thread.
The issue has been fixed in version 2.7 beta 8.
Many thanks to @oasisfeng for quick solution!
DavisNT said:
The issue has been fixed in version 2.7 beta 8.
Many thanks to @oasisfeng for quick solution!
Click to expand...
Click to collapse
I have beta 8 right now and it works for Google music.
Sent from my LG-D851 using Tapatalk
I just did a 5 mile run and it shows as 1.8 miles. Every time I use Greenify my runs are jacked up
I had the issue, that Greenify 2.9beta3 killed my TTS (Text-To-Speech), TTS fell back to Pico (Samsung, not very good) then.
So I uninstalled the Beta (left the beta program) and installed 2.8.1 (not-beta).
Now it works again.
Anyway with the 2.9b3 there was some notification terror, which wasnt possible to disable constantly in the settings. I had to disable all notification of Greenify app in the system settings to get rid of this annoying stuff. Just Beta it is.
Samsung Galaxy S4 with CM12.1
EDIT: I uninstalled Greenify completely, when I noticed that it uses about 100 MB RAM itself.
I use nite the small Xposed module "prevent running". Much easier and smaller and does the same.
Hi,
I'm running greenify (donation version) on a nexus 10 running CM13 release, and I can't get auto hibernation to work.
All i get from greenify are notifications listing apps that can be manually hibernated.
On my other devices (all rooted) auto hibernation works fine. Yes I do have root access turned on in CM13, and greenify has root access.
Any suggestions?
Cheers
[L]
What kind of screen lock method?
[Lemmy] said:
Hi,
I'm running greenify (donation version) on a nexus 10 running CM13 release, and I can't get auto hibernation to work.
All i get from greenify are notifications listing apps that can be manually hibernated.
On my other devices (all rooted) auto hibernation works fine. Yes I do have root access turned on in CM13, and greenify has root access.
Any suggestions?
Cheers
[L]
Click to expand...
Click to collapse
hevesi_j said:
What kind of screen lock method?
Click to expand...
Click to collapse
no idea, how can I tell?
Right now I'm inclined to say "Whatever is the default", since I'm not conscious of making any changes to any settings about screen lock methods.
after some observation time I can see that it's always the amazon apps (amazon video, kindle, amazon app store, amazon music) that are not automatically hibernated.
...the strange part is that they go to sleep with greenify just fine on my other devices, none of which runs cyanogen.
edit: just saw several google apps from the gapps package in the list as well.
same problem as yours automated hibernation not work.
[Lemmy] said:
Hi,
I'm running greenify (donation version) on a nexus 10 running CM13 release, and I can't get auto hibernation to work.
All i get from greenify are notifications listing apps that can be manually hibernated.
On my other devices (all rooted) auto hibernation works fine. Yes I do have root access turned on in CM13, and greenify has root access.
Any suggestions?
Cheers
[L]
Click to expand...
Click to collapse
Are you absolutely sure they don't hibernate after awhile? You probably have the setting "Quick Action Notification" turned on and that is what you are seeing? I have both the Nexus 4 and 7 running CM13 and hibernation works on them just fine, however the notification does show the option of manual hibernation as well. I don't worry about it anymore and let Greenify deal with it.
On a side note, I noticed the beta update yesterday does keep my devices "dozing" better.
colin p said:
Are you absolutely sure they don't hibernate after awhile? You probably have the setting "Quick Action Notification" turned on and that is what you are seeing? I have both the Nexus 4 and 7 running CM13 and hibernation works on them just fine, however the notification does show the option of manual hibernation as well. I don't worry about it anymore and let Greenify deal with it.
On a side note, I noticed the beta update yesterday does keep my devices "dozing" better.
Click to expand...
Click to collapse
*facepalm*
thanks! that's what that was.