Hi guys,
No doubt that Greenify is a wonderful app to save the battery. Once we use it, we cannot step back. With root access it even hibernates the system apps which is fantastic.
But I seriously wish to have profile or sleep time options to hibernate specified apps only during a period of time or for a duration of time. I do not use hangouts, facebook, messenger in the office time but they are my means of contact at home. But to save battery, I hibernate them in the morning time and forget to remove from the hibernate list in the evening. Seriously who would want to do that. With profiles we can fix the duration or time of the say which an app should be hibernated. I hope Dev considers this.
Thanks in advance.
kandalamv said:
Hi guys,
No doubt that Greenify is a wonderful app to save the battery. Once we use it, we cannot step back. With root access it even hibernates the system apps which is fantastic.
But I seriously wish to have profile or sleep time options to hibernate specified apps only during a period of time or for a duration of time. I do not use hangouts, facebook, messenger in the office time but they are my means of contact at home. But to save battery, I hibernate them in the morning time and forget to remove from the hibernate list in the evening. Seriously who would want to do that. With profiles we can fix the duration or time of the say which an app should be hibernated. I hope Dev considers this.
Thanks in advance.
Click to expand...
Click to collapse
There's no plan yet to add that complexity of settings to Greenify. Still you can use Tasker to achieve that, since Greenify exposes two Tasker plug-in for hibernation and wake-up.
IMO, a Tasker plugin is all that's needed.
BTW, if you're on a ROM with profiles (e.g. CM11) there's also a Tasker plugin for profiles - so you can call the Greenify plugins when in a particular profile (and only deal with managing profile-change events in one place).
Hi everyone,
I made a simple search yet I'm not sure I know how to really pronounce my problem for a good search result
For over 2 months now I've been having issues with Facebook app. I'd like to describe my symptoms and things I've been checking out and I'd be more than happy if you pro's could share your 2 cents.
1) Facebook crashes spontaneously .. and I don't mean FC. It simply "vanishes". The app disappears from main view (I have no ghost of it under "Running Apps"). I have to open it again. When I do, my feed is rearranged as if its the first time I launch facebook after boot. No specific thing I do that does is. I can browse, I can type a comment, I can press a like. I can simply live the screen on (keep awake with power).
2) Faceboot app constantly "disconnects" and denies updating its data. For instance, I may finger-browse my feed and suddenly I get to the bottom of the feed with "Can't Connect" and a sad cloud icon. Same happens if I try to "refresh" the page, search for a user or go into a group - "Can't Connect". I have to manually close facebook (apps-screen and swipe away) for it to get fixed..
Things I've noticed:
1) I'm using 1plus2 oxygen latest (2.2.2?). I've changed app permission to block access to "calendar", "contacts", "camera", "audio", "clipboard", "location"
2) I noticed that when I recoked app permission "Keep Awake" - vids didn't start properly. Some of them crashed my app like in (1) above. I restored "Keep awake" and "Audio" and vids play fine. I restored the rest of the permissions and I still get the "cant connect" issue.
3) I've constantly limited facebook permissions even on my old Nexus 5 phone (using cyanogen privacy default deny any permissions unless specified by me)
READ FURTHER FOR EXTRA ISSUES IF POSSIBLE
1) Whatsapp. My current whatsapp is constantly backed up and the .db file moves between phones I change (for over 3 years now).
2) my db file is ~1GB. I sometimes also copy media/photos and media/videos too .. so I'll always have access to my historic images and videos shared by contacts.
3) Whatsapp, every 2-3 weeks, behave erratically. I may open a message notification from the drawer and whatsapp takes 15-20 seconds to open that chat! I may open a picture in a group (MAINLY in groups) and it would take 15-20 seconds to open. It opens half way, device is "laggy", and after 15-20 image is fully viewable.
Same laggy activity (for both facebook and whatsapp) happened over at my old nexus 5 making me believe I actually had faulty hardware. Now its 1plus2.
Not a lot of rooted apps, other than the obvious (Titanium, SuperSU, Call Recorder - which is currently disabled).
Sorry for the long post, I lack a potato for you. Will be glad for any thoughts.
After enabling aggressive doze mode, my battery life improves greatly. However, the price is that I only receive gmail notification after screen on. I have whitelisted gmail app and google play services of course, even all other apps related to Google. Other apps I whitelist work just fine, like Whatsapp and WeChat. So is there any other apps I need to add to whitelist to make gcm work? Or the aggressive doze mode has something wrong with it?
I'm using samsung s6 edge, marshmallow with xposed, and greenify in boost mode. Before updating to version 2.9, everything was fine.
zhjn921224 said:
After enabling aggressive doze mode, my battery life improves greatly. However, the price is that I only receive gmail notification after screen on. I have whitelisted gmail app and google play services of course, even all other apps related to Google. Other apps I whitelist work just fine, like Whatsapp and WeChat. So is there any other apps I need to add to whitelist to make gcm work? Or the aggressive doze mode has something wrong with it?
I'm using samsung s6 edge, marshmallow with xposed, and greenify in boost mode. Before updating to version 2.9, everything was fine.
Click to expand...
Click to collapse
Have you found the other apps to whitelist? I am having the same issue.
price31 said:
Have you found the other apps to whitelist? I am having the same issue.
Click to expand...
Click to collapse
I'm afraid not. I disabled aggressive doze mode now?
zhjn921224 said:
After enabling aggressive doze mode, my battery life improves greatly. However, the price is that I only receive gmail notification after screen on. I have whitelisted gmail app and google play services of course, even all other apps related to Google. Other apps I whitelist work just fine, like Whatsapp and WeChat. So is there any other apps I need to add to whitelist to make gcm work? Or the aggressive doze mode has something wrong with it?
I'm using samsung s6 edge, marshmallow with xposed, and greenify in boost mode. Before updating to version 2.9, everything was fine.
Click to expand...
Click to collapse
and @price31
Google has not set the notifications from the Gmail app as priority, the logic being that instant messaging has more urgency than emails. Whether you like it or not, I think that you will not get Gmail notifications during Doze.
It may be true, but this issue only happens when I enable "aggressive doze" mode in Greenify. I can still receive gmail notification even if I leave my phone there for hours (when it is in doze).
tnsmani said:
and @price31
Google has not set the notifications from the Gmail app as priority, the logic being that instant messaging has more urgency than emails. Whether you like it or not, I think that you will not get Gmail notifications during Doze.
Click to expand...
Click to collapse
zhjn921224 said:
It may be true, but this issue only happens when I enable "aggressive doze" mode in Greenify. I can still receive gmail notification even if I leave my phone there for hours (when it is in doze).
Click to expand...
Click to collapse
May be the maintenance windows in Doze are only a few minutes apart whereas in AD, they are a few hours apart.
tnsmani said:
May be the maintenance windows in Doze are only a few minutes apart whereas in AD, they are a few hours apart.
Click to expand...
Click to collapse
Aggressive Doze effectively doubles the starting interval between maintenance windows, which should be one hour (in AD) if I remember correctly.
---------- Post added at 09:31 PM ---------- Previous post was at 09:22 PM ----------
As always, you can enable the doze debug notification to figure the correlation between doze and the unexpected behaviors. It works for both stock doze and Aggressive Doze.
Very similar configuration (Samsung s6, stock marshmallow with root, xposed, and greenify beta in boost mode) and same issue as TE here:
Gmail notifications are coming in only approximately once per hour with "aggressive doze" on after the device falls in "doze idling"/ "doze idle mode", so the time frame mentioned by @oasisfeng in post #7 appears to be correct. As soon as I completely disabele aggressive doze, all mails come in immediately as expected (stock doze not tested). What I did to resolve the issue (to no avail):
Gmail ist whitelisted in the battery section
Gmail is not set up for greenifying
Even GCM push for greenified apps is enabled
Mobile/wifi heartbeat is set to 6/5 minutes with PNF
Is there really nothing else we could do? Is it really as mentioned by @tnsmani, that Google mails will come in never (or only once per hour) during doze? I am asking because not too many other people appear to report this issue so the issue might also be related to some particularities of Samsung phones.
killerm said:
Very similar configuration (Samsung s6, stock marshmallow with root, xposed, and greenify beta in boost mode) and same issue as TE here:
Gmail notifications are coming in only approximately once per hour with "aggressive doze" on after the device falls in "doze idling"/ "doze idle mode", so the time frame mentioned by @oasisfeng in post #7 appears to be correct. As soon as I completely disabele aggressive doze, all mails come in immediately as expected (stock doze not tested). What I did to resolve the issue (to no avail):
Gmail ist whitelisted in the battery section
Gmail is not set up for greenifying
Even GCM push for greenified apps is enabled
Mobile/wifi heartbeat is set to 6/5 minutes with PNF
Is there really nothing else we could do? Is it really as mentioned by @tnsmani, that Google mails will come in never (or only once per hour) during doze? I am asking because not too many other people appear to report this issue so the issue might also be related to some particularities of Samsung phones.
Click to expand...
Click to collapse
What I said comes from here: https://developers.google.com/cloud-messaging/concept-options
It says
"High priority. GCM attempts to deliver high priority messages immediately, allowing the GCM service to wake a sleeping device when possible and open a network connection to your app server. Apps with instant messaging, chat, or voice call alerts, for example, generally need to open a network connection and make sure GCM delivers the message to the device without delay. Set high priority only if the message is time-critical and requires the user’s immediate interaction, and beware that setting your messages to high priority contributes more to battery drain compared to normal priority messages.
Normal priority. This is the default priority for message delivery. Normal priority messages won't open network connections on a sleeping device, and their delivery may be delayed to conserve battery. For less time-sensitive messages, such as notifications of new email or other data to sync, choose normal delivery priority."
@tnsmani
Darn. Then, of course, we must expect that GMail will stick to Google's own GCM/priority policy. And it is obvious that stock doze will lead to the same GMail issue as Greenify's aggressive doze
New idea: It would already help if I could wake up the device when it has been idling for 20 minutes or so. I would then receive all e-mail notifications at least every 20 minutes. Greenify provides an action to wake up the device for Tasker. Is there any chance to identify the device's current doze state with tasker so that I could start a timer or set a calendar event (less energy intensive) when the device goes into doze mode? Unfortunately, even Tasker appears not to be realiable if the device is idling, unless Tasker's option "reliable alarms" is turned on (http://bit.ly/2cfvAaZ, http://bit.ly/2cfx4lo). This option, however, apparently prevents the device from entering any kind of doze state and thus makes all efforts to save battery with doze mode quite useless.
So if I need reliable notifications when E-Mails are coming in, I could (simply) set tasker to "reliable alarms". But in this case, the device will never enter any kind of doze mode. :-/
Is there any other option you can think of?
Best regards
Mick
Ok, I am not the first one with the idea to abuse tasker's "reliable alarm" option in order to disable doze...
https://www.reddit.com/r/Android/co...g_tasker_on_marshmallow_its_reliable/.compact
Gesendet von meinem SM-G920F mit Tapatalk
Hi!
after some research i realised that SolMail is an email client with gcm feature (i use it with yahoo)
is there any other mail apk able to notify over GCM?
i'm testing SolMail in this days and notifications are a bit random (i set to 3 mins the update time and put the app in white list of aggressive doze)
can be useful to reduce heartbeat?
thanks in advance.
maserati1972 said:
Hi!
after some research i realised that SolMail is an email client with gcm feature (i use it with yahoo)
is there any other mail apk able to notify over GCM?
i'm testing SolMail in this days and notifications are a bit random (i set to 3 mins the update time and put the app in white list of aggressive doze)
can be useful to reduce heartbeat?
thanks in advance.
Click to expand...
Click to collapse
Aquamail supports GCM. Mature, robust client with excellent support via user forum. Free and paid variants. Find it in the Play Store.
Believe K9 also supports GCM along with Google's native app. Also take a look at the free Microsoft Outlook client.
Thanks Davey126
this afternoon i tried many mail clients...i found this:
Outlook works on latest versions (previous don't connect), same for CloudMagic (now Newton Mail);
Both in last releases are super heavy for my little Droid4 (CM13);
so i'm experimenting now "myMail" that spit instant inbox notifications even greenifying the app...i'm very impressed!
on the other hand is over 90MB which wiredly figures on cached process and never on running ones...
is in your opinion Aquamail lighter and efficient with Greenify and notifications?
maybe i could try an older release?
Thanks!!!
maserati1972 said:
Thanks Davey126
this afternoon i tried many mail clients...i found this:
Outlook works on latest versions (previous don't connect), same for CloudMagic (now Newton Mail);
Both in last releases are super heavy for my little Droid4 (CM13);
so i'm experimenting now "myMail" that spit instant inbox notifications even greenifying the app...i'm very impressed!
on the other hand is over 90MB which wiredly figures on cached process and never on running ones...
is in your opinion Aquamail lighter and efficient with Greenify and notifications?
maybe i could try an older release?
Thanks!!!
Click to expand...
Click to collapse
Aquamail satisfied all my needs and runs well on lower end devices. That said mail clients are like a box of chocolates. What is beautiful to one is distasteful to another. Try and profit (or not).
I have a dual sim Sony Z5 running Android 6.0.1, but I am posting here because my question should be generic and not Sony-specific.
I have been doing lots of reading online, but cannot find the answer to these very basic questions:
When exactly does Doze kick in? Some sites say after 1 hour, some say after 3 or more, and Android’s website only says “after a period of time” (https://developer.android.com/training/monitoring-device-state/doze-standby.html ). Isn’t there any official documentation on this?
After a device enters Doze mode, how often does the system exit Doze and for how long? The previous link only says: Periodically, the system exits Doze for a brief time to let apps complete their deferred activities. During this maintenance window, the system runs all pending syncs, jobs, and alarms, and lets apps access the network. Again, isn’t there any official documentation on this?
Is there a way to monitor when the phone was in Doze and when in a maintenance windows
I want 3 apps to continue functioning normally even in Doze mode: whatsapp, k9 mail (on which I use imap idle for push email to my private email address), and Good Work (now owned by Blackberry) to connect to my company’s Exchange server and retrieve work emails etc. How can I achieve this? Is it documented anywhere if these apps issue the high priority GCM messages that Doze expects? I have excluded these apps from the battery optimization settings, yet I have been experiencing erratic behaviour (sometimes they sync, sometimes they don’t) when I leave the phone on a desk, connected to wifi (with keep wifi on during sleep set to always).
I am open to considering another email client which supports imap idle (as long as it doesn’t store my data and passwords on its servers (like Type App / Blue mail do), but I cannot replace Good Work with anything else as that is the only app which my employer allows to connect to its network.
Incidentally, I didn’t want Marshmallows on my phone, also because I believe Sony’s Stamina is more transparent and efficient (http://www.xda-developers.com/sonys-stamina-mode-did-it-first/ ); I was hoping my phone would ship with Lollipop, but unfortunately it came with Marshamllows. Ah, I cannot root because otherwise Good Work wouldn’t work.
This lack of transparency is a step in the wrong direction; Google is behaving like Apple in telling us not to worry our pretty little heads, but Google doesn't always know best! Apps which rely on push notifications may not work unless developers rewrite them, and there is no way to disable doze. it's crazy!
cdl2 said:
I
Is there a way to monitor when the phone was in Doze and when in a maintenance windows [...] ?
Click to expand...
Click to collapse
I have found that the GSAM battery app tracks it: https://play.google.com/store/apps/details?id=com.gsamlabs.bbm&hl=en_GB ( charts --> other).
I haven't found a way to monitor it from Android's system - not on my sony Z5, at least.
No one knows?
Anyway, this partial solution works for me: http://androidforums.com/threads/ma...x-is-preventing-doze-with-macrodroid.1058445/
It's about using MacroDroid to wake up the phone every 45 minutes, thus prveenting Doze mode from kicking in at all. Battery usage is acceptable (1% /hour with two push emails on)
No updates? Am I the only one who cares about push email not working?
cdl2 said:
No updates? Am I the only one who cares about push email not working?
Click to expand...
Click to collapse
Go to settings then go to power manager(in my phone) and click on battery optimization and select apps that you want to run in doze mode and select don't optimized.
I hope it solved your problem.
No, it does not. Android's official documentation explains that whitelisting is effectively useless, because 'other restrictions still apply' :
https://developer.android.com/train...doze-standby.html#support_for_other_use_cases
I have tried, and imap idle with k9 mail does not work when my Sony z5 is in doze, despite the whitelisting
I was looking through the developer options in my Xperia 1, and I was curious about the following attributes. So was wondering if anyone had any thoughts on these:
Under Networking: "Mobile data always active" was enabled. Will disabling this lead to better battery life? Not sure if it's necessary to use mobile data while connected to WiFi.
Under Apps, what does the "Background Check" option actually show? Are these application that are running in the background?
Under Standby Apps, it's a list of all apps on the phone with "App Standby State" option either "RARE, FREQUENT, WORKING_SET and ACTIVE". For example, if the Amazon app says "FREQUENT" and I toggle it to "RARE", will that mean the app will stay in standby state and save battery? Or am I misinterpreting this?
On a side note, under Setting--> Apps, toggling the following options individually for most user apps improved my standby/idle drain significantly.
Data Usage - Toggle "Background Data" off
Battery - Toggle "Background Restriction" to "Restricted"
I probably won't recommend this for any apps that need to send notifications like WhatsApp since toggling these 2 options seems to stop any messages from coming in unless I open WhatsApp manually.
That setting might help with battery life, but kills smartphone functionality.
nurav666 said:
Data Usage - Toggle "Background Data" off
Battery - Toggle "Background Restriction" to "Restricted"
I probably won't recommend this for any apps that need to send notifications like WhatsApp since toggling these 2 options seems to stop any messages from coming in unless I open WhatsApp manually.
Click to expand...
Click to collapse
Interesting question @nurav666
The standby apps is a feature of Android 9 that divides apps in 4 buckets based on how much you use them. Apps that you rarely use will have fewer rights to send you notifications for example. Apps you use frequently will have full rights.
App developers need to make sure their app works properly in any of the states.
You can find more detailed information in the Google developer documentation. https://developer.android.com/topic/performance/appstandby
This is an interesting read for advanced users and not necessarily only for developers.