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:
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.
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.
from xda-developers http://ift.tt/2bw3g1m
via IFTTT
No comments:
Post a Comment