greenify and the oneplus 3t - Greenify

Does the app and the built in function of the o+3t do exactly the same thing or would installing the app improve battery life?

I'm curious as well on my OP5

Eggstones said:
Does the app and the built in function of the o+3t do exactly the same thing or would installing the app improve battery life?
Click to expand...
Click to collapse
Im using Greenify with my (ROOTED) o+3t. I made some test sessions with BBS and Geenify (with AD) improve MY battery life. I also hibernating few apps that waking up device too often. You need try and check if it can improve yours battery life. But with my device it does.
EDIT: Oneplus removed that built in function few betas ago. But what i remember it didnt worked with notifications so good than greenify does.

Any tip not to loose notifications?
I'm using Greenify on a rooted OP3T (OOS OB 13) and I'm getting good battery life with more that 7h SOT.
Only in the same time I have lost most of my notifications. And all the settings (Battery Optimization, Advanced Optimization, Nougat doze mode and Greenify) and last OS changes (aggressive doze seems to no longer be there), I getting a bit lost into trial and fail.
Any advice on how to make the best use of Greenify on my device, without loosing notification would be welcome.

mr.charlie said:
I'm using Greenify on a rooted OP3T (OOS OB 13) and I'm getting good battery life with more that 7h SOT.
Only in the same time I have lost most of my notifications. And all the settings (Battery Optimization, Advanced Optimization, Nougat doze mode and Greenify) and last OS changes (aggressive doze seems to no longer be there), I getting a bit lost into trial and fail.
Any advice on how to make the best use of Greenify on my device, without loosing notification would be welcome.
Click to expand...
Click to collapse
Assuming Android 6.x base:
- you will need to install Xposed Framework and the donation build of Greenify for best results
- enable "Doze on the go" which is perhaps the most important tweak on MM
- also enable wake-up timer coalescing and permission to Greenify system apps
- forget about aggressive/shallow doze and/or deep hibernation (reasons are outside scope of this post); likely the source of your notification issue
- temporarily disabled other power/battery optimization apps such as Amplify, Force Doze, Power Nap, etc.
- remove any apps previously excluded from battery optimization unless you are highly confident they do not perform well unless excluded
- clear all apps from Greenify's action list
That should correct any notification issues assuming Greenify and/or one of the above apps was the culprit. You can monitor and add 'bad actors' to Greenify's action list as needed. On most devices this list should be very short (assuming Android 6.x or better).

Related

[GUIDE] Aggressive Doze - New experimental feature for Marshmallow (NO ROOT REQUIRED)

"Aggressive Doze" is one of the new experimental features exclusive for Android 6.0 Marshmallow. The best part is that it works on non-rooted device!
Once enabled in settings, your device will enter Doze Mode in minutes (instead of hours stationary normally) after the screen goes off if not charging, to improve its power-saving efforts.
Doze mode is a new power saving mechanism introduced in Android 6.0. In this mode, background behaviors of all apps (except white-listed ones) are strictly prohibited, until next user interaction or charging. The device will also periodically (in hours) exit doze mode briefly.
This is not the complete solution for a better Doze, currently it still cannot keep your device rest in doze if you are carrying it around. It is expected to maximize the power-saving effect of the stock Doze mode. (UPDATE: This "interruption by motion" behavior can be completely prevented in the newest version 2.9 beta, see FAQ.1 for details) Also it may break some background functionality of your daily apps if they are not developed with Android Doze in mind.
FAQ
When I'm moving around, the Aggressive Doze is not working?
Android system uses a low power "Significant Motion Sensor" to track movement and exits Doze Mode if significant movement is detected. Aggressive Doze will not try to enter Doze after that, to avoid constantly entering and exiting Doze. Since the stock Doze is designed for battery-saving in stationary state, Android still wants to keep your apps in sync with fresh state if you are carrying it around.
In the new version 2.9 beta, this "interruption by motion" behavior can be prevented completely if "DUMP" permission is granted manually via USB-connected computer.
Click to expand...
Click to collapse
Why is my device very lagging when wake from sleep after a few hours.
This seems like a bad consequence of Android Doze Mode itself if too many apps are installed. Because Doze Mode effectively postpone all the background behaviors during the doze. The longer doze lasts, the more tasks to do when exiting. Consider greenifying more background-itchy apps to reduce the lag, because hibernation is still the essential solution for them.
Click to expand...
Click to collapse
Aggressive Doze is not working sometimes, but again working later.
Check whether there's a alarm clock in less than an hour, by looking for an alarm icon in the status bar. But the icon won't tell you the time of the alarm. You may click the DND tile in the quick launch panel to find out the actual time of the alarm (in the entry with "until next alarm"). This is because Android system refuses to enter doze mode if an scheduled alarm is in less than an hour.
Click to expand...
Click to collapse
Why I can't find this option in settings? My device is on Android 6.0.
Aggressive Doze in Greenify v2.8 should work on all devices with Android 6+, unless the Doze Mode is explicitly disabled by the ROM. If you are using a custom ROM made by community, ask the
ROM modder to enable this flag in the ROM:
Code:
com.android.internal.R.bool.config_enableAutoPowerModes
UPDATE: Since 2.9 beta 1, even if doze is disabled in ROM, Greenify can still activate doze mode after DUMP permission is granted manually via USB-connected computer. Beware, this may break things since the ROM is not made to be compatible with Doze.
Click to expand...
Click to collapse
oasisfeng said:
Within the new version 2.8 beta (rolling out), there's an early attempt for better Doze mode in control. It currently activate doze mode as early as the screen goes off, and deactivate it when the screen is back on or the charger is connected.
It is surely not the complete solution for a better Doze mode. It is expected to maximize the power-saving effect of Doze mode, but may also break some background functionality of your apps. So I'm listening to all your feedback and opinions, to build a smarter and finer-tweaked Doze mode in Android 6.0.
Together with the "Shallow Hibernation" released in version 2.7, let's start a new adventure of Greenify with Android Marshmallow.
Click to expand...
Click to collapse
Thanks buddy! Lets start again
Hi Oasis, I tried to perform the steps you gave but I am getting the following error
/system/bin/sh: grant: not found
this happens when I try to run the first command to grant DUMP permissions. My Nexus 5 is not rooted and ADB is running and fully up to date.
Edit: for anyone experiencing this issue try the following
1. After checking "adb devices" run "adb shell"
2. Type "pm grant com.oasisfeng.greenfiy android.permission.DUMP"
3. Type "pm grant com.oasisfeng.greenify android.permission.READ_LOGS"
Hello,
First of all, i'm happy with the donation version!
With this new feature there's a thing I've noticed right away. Apparently doze works with all the apps, including whatsapp, which is the app i use the most.
When doze it's activated messages arrive in intervals and it's not that reliable. Anyways, when doze activates by itself, i'm ok with the messages getting delayed, because i'm actually not using the phone. The thing with the integration through greenify, is that messages stop arriving right away.
Do you think there could be a way to kind of "bypass" certain applications? If it's possible it would work like stamina mode from Sony.
Anyways, it's just a comment... I like the instant doze since doze really helps with battery!
blanco2701 said:
Hello,
First of all, i'm happy with the donation version!
With this new feature there's a thing I've noticed right away. Apparently doze works with all the apps, including whatsapp, which is the app i use the most.
When doze it's activated messages arrive in intervals and it's not that reliable. Anyways, when doze activates by itself, i'm ok with the messages getting delayed, because i'm actually not using the phone. The thing with the integration through greenify, is that messages stop arriving right away.
Do you think there could be a way to kind of "bypass" certain applications? If it's possible it would work like stamina mode from Sony.
Anyways, it's just a comment... I like the instant doze since doze really helps with battery!
Click to expand...
Click to collapse
+1
In the developer preview of 6.0 you could exclude apps from being doze'd. Such an option would be great in Greenify as well, since messages don't wake up the phone with activated aggressive doze
shakuyi said:
Hi Oasis, I tried to perform the steps you gave but I am getting the following error
/system/bin/sh: grant: not found
this happens when I try to run the first command to grant DUMP permissions. My Nexus 5 is not rooted and ADB is running and fully up to date.
Edit: for anyone experiencing this issue try the following
1. After checking "adb devices" run "adb shell"
2. Type "pm grant com.oasisfeng.greenfiy android.permission.DUMP"
3. Type "pm grant com.oasisfeng.greenify android.permission.READ_LOGS"
Click to expand...
Click to collapse
Sorry for the typo, I just corrected it in the online guide. Thanks for the report.
blanco2701 said:
Hello,
First of all, i'm happy with the donation version!
With this new feature there's a thing I've noticed right away. Apparently doze works with all the apps, including whatsapp, which is the app i use the most.
When doze it's activated messages arrive in intervals and it's not that reliable. Anyways, when doze activates by itself, i'm ok with the messages getting delayed, because i'm actually not using the phone. The thing with the integration through greenify, is that messages stop arriving right away.
Do you think there could be a way to kind of "bypass" certain applications? If it's possible it would work like stamina mode from Sony.
Anyways, it's just a comment... I like the instant doze since doze really helps with battery!
Click to expand...
Click to collapse
If WhatsApp uses GCM for instant message push, then maybe the developer has not yet adopted for the priority GCM push which goes through in the Doze mode. This is what Google suggests all IM message to use.
I'll try to work around this issue, maybe allow all GCM push to exit doze mode for a while.
MrMarques01 said:
+1
In the developer preview of 6.0 you could exclude apps from being doze'd. Such an option would be great in Greenify as well, since messages don't wake up the phone with activated aggressive doze
Click to expand...
Click to collapse
You can still do that in Android 6.0 final version, but highly discouraged.
Today I got Greenify 2.8 beta 1, but still my apps aren't greenified.
Edit: I reinstalled Greenify and su asked me for permission, now it works, thank you.
Best regards
Matthias
If we are rooted does it still require the one-time procedure or can we just install as normal?
oasisfeng said:
Within the new version 2.8 beta (rolling out), there's an early attempt for better Doze mode in control. It currently activate doze mode as early as the screen goes off, and deactivate it when the screen is back on or the charger is connected.
The best part of this feature - NO ROOT REQUIRED! Still you need to perform a one-time procedure with USB-cable and a connected computer, which is surely familiar to many of you XDA members.
This is not the complete solution for a better Doze mode. It is expected to maximize the power-saving effect of Doze mode, but may also break some background functionality of your apps. So I'm listening to all your feedback and opinions, to build a smarter and finer-tweaked Doze mode in Android 6.0.
Together with the "Shallow Hibernation" released in version 2.7, let's start a new adventure of Greenify with Android Marshmallow.
Click to expand...
Click to collapse
Oasisfeng, what's the normal amount of time before doze activates? Would it perhaps be better to have an option to set the amount of minutes after screen off to start the aggresive Doze?
I just test greenify beta, and battery seems like always for now... Tomorrow I'll see better how new greenify works...
No root really ? It would be useful
@oasisfeng
mine is rooted but still the Doze feature is not activated.
Is it only for 6.0 devices?
atulclassic said:
@oasisfeng
mine is rooted but still the Doze feature is not activated.
Is it only for 6.0 devices?
Click to expand...
Click to collapse
Yes.
atulclassic said:
@oasisfeng
mine is rooted but still the Doze feature is not activated.
Is it only for 6.0 devices?
Click to expand...
Click to collapse
*Clears throat* "Aggressive Doze" is a new experimental feature for Android 6.0
Smultie said:
Oasisfeng, what's the normal amount of time before doze activates? Would it perhaps be better to have an option to set the amount of minutes after screen off to start the aggresive Doze?
Click to expand...
Click to collapse
I‘m thinking about the same thing.It'd be great to have an option to set the time to start the doze mode. It'd be so damn perfect!
Do applications which are set to bypass Doze still work?
randy6644 said:
I‘m thinking about the same time. It'd be great to have an option to set the time to start the doze mode. It'd be so damn perfect!
Click to expand...
Click to collapse
Great minds think alike!
Smultie said:
Oasisfeng, what's the normal amount of time before doze activates? Would it perhaps be better to have an option to set the amount of minutes after screen off to start the aggresive Doze?
Click to expand...
Click to collapse
Currently zero. I'm planning for a smarter delay before doze (probably the same as the delay before greenified apps hibernate). But for now, I'd like to push the benefit to the limit for a test run and find the actual drawback of 0 delay.

Greenify + Whatsapp + Doze + Notifications

Hello,
I was having issues with Greenify + Doze + LED notifications, so I decided not to optimize battery for Whatsapp and not to Greenify it neither.
I was optimizing the rest and in the end Whatsapp became the most battery consuming application on my phone. So I dug into that again. I did not find how it could be done on the net. Sorry if there is a cleaner solution, I never found it. This post is intended to share my findings.
What you can expect? You can expect to activate Doze, to Greenify Whatsapp and still receive real-time notifications via LED.
What could I not make work? Doze battery optimization for Whatsapp.
My configuration: Android Marshmallow, Greenify 2.9, Whatsapp 2.16.225
You require: Xposed, Greenify paid version, Xposed module XLED and, for sure, Whatsapp.
I think that the trick is done thanks to XLED module. I also tried Light Flow and it seems to work. However, it seemed to consume more battery than Whatsapp itself.
XLED, on the contrary, does not consume battery “at all”, at least it doesn't appear in the top of battery consuming records.
Greenify configuration:
Installed with Xposed (set to boost)
Paid version
Deep hibernation activated
Aggressive doze activated
All Xposed options enabled except the one concerning the vulnerability in previous versions of Android 4.3
Whatsapp is not optimized for Doze (on System, Battery, Battery optimization). If I let Whatsapp optimized, I loose notifications.
On XLED module, I create a configuration for Whatsapp: I activate “Enable custom LED”, and “Force LED Flashing”. The rest, I leave with default values.
To reduce even more battery, I removed for Whatsapp the right to “Keep awake” via AppOpsXposed. This is for sure optional.
And that is. For me, so far, so good.
PS: What I am missing is the Doze battery optimization and the vibration in Doze mode. I do not know how to enable vibration on Doze. It is maybe against the principle of Doze but still I miss it.
thanks. i really need whatsapp no matter what...
even i add it to white list.. no it didnt work. i paid it. now i will try your method

Greenify vs always sleeping

I'm unrooted Samsung s9 plus user. Use force doze and naptime for faster dozing. My question is which is better greenify or the built in "always sleeping" option for preventing apps from running in the background?
Greenify, I am unrooted as well and have noticed great battery life improvements since using it. I have it set up to use aggressive doze.

Greenify+ Servicely= Good combination?

Hi all,
I was wondering if I go for Greenify + servicely, are they a good combination?
Understood that servicely app is under Franco, Franco kernel creator, I was thinking that will the app compatible with kernel other than Franco kernel?
Servicely doesnt depend on rom or kernel, it just tries to supresses the wakelocks from selected apps and services.
matharuajay said:
Servicely doesnt depend on rom or kernel, it just tries to supresses the wakelocks from selected apps and services.
Click to expand...
Click to collapse
OK, understood. Will try this combination and see how.
Don't use Greenify on Pie. It's basically useless because of how OS optimizes the battery usage. Also, the developer deprecated it.
whrynox said:
Don't use Greenify on Pie. It's basically useless because of how OS optimizes the battery usage. Also, the developer deprecated it.
Click to expand...
Click to collapse
I see, so is there any good one to go?
thomas140 said:
I see, so is there any good one to go?
Click to expand...
Click to collapse
Naptime works fine alone since you only need to optimize sleep behavior. The Pie itself can perfectly manage apps' battery usage already.
I'm using Servicely + Naptime during the night, and I get about 0,3% idle drain! So f.....ing amazing!
thomas140 said:
Hi all,
I was wondering if I go for Greenify + servicely, are they a good combination?
Understood that servicely app is under Franco, Franco kernel creator, I was thinking that will the app compatible with kernel other than Franco kernel?
Click to expand...
Click to collapse
I use both, together with franco kernel, and battery life is awesome. I could use Naptime too in place of Greenify. I don't know about it being deprecated, it still is alive in the Play Store.
I use Greenify more for its Doze On the Go feature, I don't know if Pie caters for that. Naptime has it too.
On my Huawei phone which is unrooted, I use Naptime since Greenify's Doze On the Go is inactive.
Naptime:
"Why?
Because why the hell not?
Doze is amazing but with it has its quirks. It can take at least 2 hours to kick in (if the device is stationary, not charging etc). If you move around, even with the screen off, doze won't kick in, so there are a lot of potential battery saving opportunities lost, gone with the wind."
For Greenify :
"Doze on the Go
Android system uses a low power "significant motion sensor" (if present in hardware) to track movement and exits Doze Mode if significant movement is detected, because the stock Doze Mode is designed for battery-saving in stationary state. Doze on the Go effectively removes this restriction and keeps your device in Doze Mode even during movement.
Android 7.0 introduced native support of Doze on the Go and a new light doze mode, which blocks network access but not wake-up timers of the app. When movement is detected, it exits deep doze and keeps in light doze, and then goes back into deep doze after device is stationary for some time. The Greenify version of "Doze on the Go" will always keep your device in deep doze on Android 7.0, regardless of movement."
Using greenify on pie will likely break **** tbh

Curious about a few battery saving things. Need clarification

I know that a lot of folk use apps like Greenify, Power Nap, Amplify, Force Doze, etc along with things like Pixel Filter, Smart Pixel feature in some roms etc, but are all these really necessary with current phones?
I have used all of the above together for years but curious about if I really need to now and if they are just impacting my battery more than they save? Do I really need them all now? I'm not using ForceDoze currently as Havoc OS has it's own doze settings and aggressive profile, but I'm wondering if Power Nap is even needed if I have Greenify and Amplify.
Just trying to reduce the apps I need without compromising my standby drain as I am running into odd issues like Magisk failing to grant root after a few minutes or so uptime unless I restart the phone and quickly open the app I need to grant root (once in the allowed list, they work flawlessly. It's just the initial prompt), messages like Whatsapp/Facebook not coming through even though they are exempt from battery optimisations and whitelisted in all the above apps and fingerprint/double tap to wake not working after 10 minutes unless I hit the power button first. I feel there are conflicts going on here which I have only had since having my OnePlus 6 this month. Not an issue with my S5 with this exact setup which was running for years and all my issues are non-existent if I leave the phone stock.
I am obviously going wrong somewhere and need to figure out where.
Also, if I run pixel filter or the smart pixel feature built into Havoc OS, am I better doing that or just turning it off and lowering the brightness? Smart pixel dims the screen slightly which I have to counter by raising the brightness. That's the one thing that has me confused as to which is actually using more juice.
Just in case I am doing something wrong, I have written down what I do in order after installing a new ROM in the attempt of maximising battery life. Doesn't seem tied to Havoc OS, but to my OnePlus 6 as I never had these issue with my previous S5.
Below is after the usual TWRP, Magisk, ROM and setting up settings etc
-Install Greenify (donation package), Amplify, Power Nap, EdXposed, Riru Core, Riru Yahfa, NFS, Better Battery Stats.
-After enabling all of them in EdXposed and restarting, I fire up Greenify and turn on all Xposed features and donation features but leave smart hibernation, ignore background free and aggressive doze off.
-Greenify all games, apps I use rarely and system apps like Camera, Print Spooler and Bookmark Provider
-Open Power Nap, select Endurance mode and whitelist Magisk, EdXposed, Greenify, Tasker, Messages, Phone, WhatsApp, BBS and LastPass (Power Nap seemed to disable it's autofill service)
-Start up Amplify so it does it's checks and exit
-Set up BBS
-Remove all these apps from OS battery optimisation
-Reboot to recovery and copy over the Amplify settings file to it's folder within data/data/Amplify folder/shared prefs and restart to system. (basic Google and app specific wakelocks you will find in all Amplify guides on XDA and nothing else)
-Add Play Store, Services, Framework, Google Pay and my banking app to Magisk Hide list and EdXposed blacklist to pass SafetyNet.
And this is where my problems start happening. This is what I have done for years and I never had issues. I suppose I could do these one at a time until I hit that wall where things go wrong, but thought I would ask here in case any of you can spot the mistake. Thanks in advance for the help or roasting lol
*Edit*
If anyone has any other ideas to reduce battery drain, you can tell me. I'm trying to maximise both screen on and screen off time without compromising too much.

Categories

Resources