Battery Life Tweaks if you think your battery has degraded. - Xiaomi Redmi Note 3 Guides, News, & Discussion

Many kenzo users are now in the final stages of using the device, but, for people like me who are planning to use it for some time more, I will be giving certain tweaks which I used and the combination I prefer for best battery life. Keep in mind that this might (will) slow down your phone a bit. I was getting a sot of not more than 4-5 hr. prior to this combination and now I do get a sot of 6-7 hrs. easily.
ROM and kernel Combination- RR by Movzx + Agni 11.5
1) After coming on this combination, flash magisk and download greenify module.
2) Greenify (will be preinstalled on RR MOVZX) all apps having network usages in background ( don't greenify apps like whatsapp, snapchat )
3) Download force doze and turn it on (whitelist apps such as whatsapp, snapchat, basically the ones who's notifications are required by you)
4) Download Spectrum app and turn on battery mode (will slow down performance)
5) Block Nlp Collector wakelocks from settings- configurations- miscellaneous- wakelock blocker
6) Block google alarm wakelock and location detector from settings- configurations- miscellaneous- alarm blocker
7) Purchase any app ( like EXKM) from playstore to monitor battery usage (OPTIONAL)
8) Under Miscellaneous- suspend actions, block location services as soon as device turns off to prevent idle drain.
9) Turn Adreno Idler on from any kernel manager app ( use Agni's ) and turn cpu small and big governer's to glassfish (optional)
THESE STEPS SHALL PROVIDE YOU THE JUICE YOU NEED. PLEASE TELL ME IF I SHOULD ADD ANYTHING ELSE AS MANY USERS ARE CONSIDERING CHANGING BATTERY'S EVEN THOUGH SUCH TWEAKS CAN HELP UP TO A GREAT EXTENT
Links
https://play.google.com/store/apps/details?id=com.suyashsrijan.forcedoze&hl=en
https://play.google.com/store/apps/details?id=org.frap129.spectrum&hl=en
Credits
 @MOVZX
 @psndna88

ROM link
---------- Post added at 10:58 AM ---------- Previous post was at 10:55 AM ----------
Are u using this build
https://androidfilehost.com/?fid=745849072291691383

sunnyGUN said:
ROM link
---------- Post added at 10:58 AM ---------- Previous post was at 10:55 AM ----------
Are u using this build
https://androidfilehost.com/?fid=745849072291691383
Click to expand...
Click to collapse
Yes he is...

This trick is too old. Don't want to Hibernate apps. If you have any trick to change processor of this device .:laugh:

Dobly not working?

Noor9933 said:
This trick is too old. Don't want to Hibernate apps. If you have any trick to change processor of this device .:laugh:
Click to expand...
Click to collapse
Yup... Buy a new device... :laugh:

Related

[Q] Help my W8/x8...!!

I'm using GingerDx.v022 and all going smooth n nice...
I've install many other .akp app from xda .. but i want the whole list of .apk file for my cell...!!
Also can any 1 say me which app can help my x8 for long battery life...
i'm using Advance task killer also reboot my cell twice a day.. n also have freeze unwanted apps ...n normally my battery supports my cell till 1day....but still want to extent my battery life.. so if there is any possible way then share it here...
N others who read this thread n thinks that there x8/w8 looks smart n sexy then share your Screenshots here ....
About the apk list
luckily, you're able to manage an app list to install and/or uninstall with sd card storage optimizer. this app is cool, it lets you maintain a backup of all your aps and choose install or uninstall them. It's perfect when you're changing of rom. Its disadvantage is that you have to go one by one. This is annoying but be pacient. download it from android market
---------- Post added at 12:14 AM ---------- Previous post was at 12:09 AM ----------
to save battery just avoid too many widgets, set automatic or low contrast, turn off wifi and bt when unecessary, and obviously kill the running apps (I usually set the back button to do this, more practical). As simple as that, better than and sofisticated app.

Lollipop:rapid battery drain.

After upgrade to 5.1,there are some serious issues .Whenever the tablet is woke,it heats up almost instantly,even if its simply left with the screen-on.This causes rapid battery drain.I think the processor runs at its peak state,all the time during screen-on.I find many users complaining about the same.So,if anyone has a solution, please be generous enough to share-possibly without rooting.
Nandroid7736 said:
After upgrade to 5.1,there are some serious issues .Whenever the tablet is woke,it heats up almost instantly,even if its simply left with the screen-on.This causes rapid battery drain.I think the processor runs at its peak state,all the time during screen-on.I find many users complaining about the same.So,if anyone has a solution, please be generous enough to share-possibly without rooting.
Click to expand...
Click to collapse
I didn't get the heating or battery drain but every time I rebooted the tablet it would optimize all the apps. A factory reset solved the problem.
Sent from my TegraNote-P1640 using Tapatalk
factory reset solved only the problems for a few days now weeks later the tablet still is not function normal.. heats up quick, seems to have cpu at 100% almost nonstop because of the nvidia tegra services running in the background stealing 30-60% cpu and makes the cpu go 100% full alltime thats what causing lag and heat problems for me so many weeks and because of this i barely use it so frustrating and nvidia dont even seem to care - posted on their geforce forums but not a word response month later fking clowns!
I found a fix for lollipop issues
oppodi said:
I found a fix for lollipop issues
Click to expand...
Click to collapse
and i found a way to be a millionaire..............................just kidding :silly:
could you pls share some more details here?
Things needed , twrp recovery
Greenify donation
First go to recovery advanced wipe and wipe cache and dalkvik cache
Reboot
Go to greenify experimental features and select greenifying system services
Add nvidia tetra services and hibernate
Remove SD card try not to use it
The problems are fixed
---------- Post added at 05:12 AM ---------- Previous post was at 05:11 AM ----------
oppodi said:
Things needed , twrp recovery
Greenify donation
First go to recovery advanced wipe and wipe cache and dalkvik cache
Reboot
Go to greenify experimental features and select greenifying system services
Add nvidia tetra services and hibernate
Remove SD card try not to use it
The problems are fixed
Click to expand...
Click to collapse
Hit thanks if works
Mine was overheating too. Now it's good.
In my case turning all apps configuration to optimised for nvidia worked.
To do that you need to download activity launcher app from play store then install it.
In the app press all then go to settings. Look for "SETTINGS com.android.settings.NvControlPanel" (If you hold you will be able to create a shortcut on home screen). Then in APPS tab press optimise all. From now all previously installed apps will be optimised and will not run at Max performance mode. New apps need to be optimised after installation.
Can someone look in their /lbh partition at the prop file in there trying to see if one can bypass Advents servers for OTA updates as it seems Advent servers do not have the 3.0 update. Thanks in advance
Not seen the overheating described, but I was seeing very fast battery drain on standby (25% overnight!). The main culprit turned out to be the Photos app - it wasn't syncing anything, but google services were using 40ish% battery and Photos another 20%. Since removing Photos and disabling unused google stuff (hangouts, google+ etc) standby is back to kitkat levels (2-3% overnight).
Is there a guide somewhere to fix the massive battery drain, in standby/hibernate that I have now after I upgraded to Lollipop? Just some settings or something easy to install? What's this Activity Launcher App then?
iMaterial said:
Is there a guide somewhere to fix the massive battery drain, in standby/hibernate that I have now after I upgraded to Lollipop? Just some settings or something easy to install? What's this Activity Launcher App then?
Click to expand...
Click to collapse
Read my this thread about activity launcher and power management in lollipop (No root)
Sent from my TegraNote-P1640 using XDA-Developers mobile app

[DOZE] Enable Android DOZE on MIUI ROMS

Some MIUI ROM/Custom ROMS do not have doze enabled and this is due to Xiaomi disabling doze on China STABLE/BETA builds because they don't have to comply to google standards as of now. There has been some reports that some China based custom MIUI roms do have doze enabled and that is simply because roms like Xiaomi.eu and others do some mix and matching between the GLOBAL BETA builds and CHINA BETA builds to get best performance out of their roms. It explains why doze is enabled. I have personally decompiled the framework-res of both the Xiaomi.EU and MultiROM roms and found that on Xiaomi.EU the value
Code:
bool name="config_enableAutoPowerModes">true</bool>
is set true (doze enabled) On MultiROM its the opposite. You guys can go ahead and check on your own. To remind you folks, if you use Better Battery Stats (BBS), the Doze Interactive stat means the amount of time the device IS NOT DOZING. That value in no way shows that doze is working. Instead look for Doze Idle stat. No Doze Idle stat, then no doze. MultiROM on the other hand bases its roms solely on the China builds which explains why their roms don't doze at all.
So how did I enable/fix doze? MIUI has this feature when it lets theme make overlays on certain values of files and apk in their rom. In this case its framework-res.apk. With the help of a template that I got from here http://en.miui.com/thread-387638-1-1.html I edited the files to apply the correct values on framework-res.apk to enable doze. I also tried to edit navbar size using this method but it didnt work :angel: but the doze tweak DEFINITELY works. So it pretty much confirms that it only works on certain parts of the code/certain APKs. There is a similar concept on AOSP android called RRO/Overlays. But its much more complicated You'll need to det up an environment and compile apk etc...thats not possible because we dont have source code rofl. It's better to use what I have here.
So how do we apply this tweak? Download this file and put it into system/media/theme/default and reboot.
https://drive.google.com/open?id=0B_Q4QjvbODxodTRhQnJVeURubUU
to get doze kicking in faster/faster doze time (instead of the 30 minutes that android sets default) install doze editor and choose the last profile. You can uninstall the app after that because the value sticks/is saved somewhere else.
and of course you'll need to be rooted
Hope this is any help to any of you
Interested in how doze works and its requirements? look here https://source.android.com/devices/tech/power/mgmt.html#doze-reqs
Useful thread! Good job
There is an app to check Doze config flag in framework-res.apk
https://forum.xda-developers.com/android/apps-games/app-check-doze-support-t3374265
For RMN4 AOSP rom, just decompile framework-res.apk, set config_enableAutoPowerModes from false to true, recompile and install back to system then you will have Doze enabled AOSP rom like me
longnt2007 said:
There is an app to check Doze config flag in framework-res.apk
https://forum.xda-developers.com/android/apps-games/app-check-doze-support-t3374265
For RMN4 AOSP rom, just decompile framework-res.apk, set config_enableAutoPowerModes from false to true, recompile and install back to system then you will have Doze enabled AOSP rom like me
Click to expand...
Click to collapse
I tried that and I gave up because every time I replaced the recompiled apk, the phone wouldn't boot lol.
Can you recommend a better way to decompile and recompile MIUI apks?
asusm930 said:
I tried that and I gave up because every time I replaced the recompiled apk, the phone wouldn't boot lol.
Can you recommend a better way to decompile and recompile MIUI apks?
Click to expand...
Click to collapse
If you want modify system apk, the first thing you must do is remove signature check in PackageManagerService.smali (compareSignatures func) of services.jar.
Here is the guide but can appy to any rom, just modify compareSignatures func like that guide. To decompile and recompile apk, I'm using apktool 2.1.1 and it's work fine with AOSP rom of RMN4.
https://forum.xda-developers.com/showthread.php?t=1698352
Seems we have our own doze-like operation. Battery life on this phone is stellar. The app/battery management is highly customizable and effective.
Thanks.
I can confirm that Epic ROM for MIUI devices have doze enabled.
ok, i recently discovered the L-speed app.
in battery menu i see "doze iptimization"
- aggressive doze
- light doze optimization
do they enable THE SAME your trick? or something else?
i don't even know it l-speed is fully compatible for my globerom ( derived from xiaomi.eu)
miui have his own doze mode
realista87 said:
ok, i recently discovered the L-speed app.
in battery menu i see "doze iptimization"
- aggressive doze
- light doze optimization
do they enable THE SAME your trick? or something else?
i don't even know it l-speed is fully compatible for my globerom ( derived from xiaomi.eu)
Click to expand...
Click to collapse
L speed's Aggressive doze simply forces the device to enter doze whenever screen is off.
A user has has tested the app on a non-doze FLAG enabled MIUI rom (in this case multirom) and it worked for him. The app simply forces doze mode.
The light doze optimization changes around the doze timouts etc to save a bit more battery. A user has tested L-Speed on a rom without doze and it does enable it. My problem with using a separate app is it can get killed (even worse on MIUI because it likes to kill apps) and the feature/app wont work anymore.
asusm930 said:
L speed's Aggressive doze simply forces the device to enter doze whenever screen is off.
A user has has tested the app on a non-doze FLAG enabled MIUI rom (in this case multirom) and it worked for him. The app simply forces doze mode.
The light doze optimization changes around the doze timouts etc to save a bit more battery. A user has tested L-Speed on a rom without doze and it does enable it. My problem with using a separate app is it can get killed (even worse on MIUI because it likes to kill apps) and the feature/app wont work anymore.
Click to expand...
Click to collapse
Great work @asusm930, made the XDA news!
https://twitter.com/xdadevelopers/status/834356065596821504
Sent from my Redmi Note 4 using Tapatalk
Hi all,
This thread talks about a problem similar of mine.
i've made a stupid thing.
I've found this article:
xxx.androidworld.it/forum/guide-e-tutorial-11/%5Bguida%5D-come-abilitare-android-doze-sulle-rom-miui-211382/#post1722713
where there is a tutorial to activate doze on miui.
i downloaded the framework-res and place it in system/media/theme/default.
reboot
then i find that every 30 minutes of screen off, apps went killed, but tasker too, and i need tasker always active.
then i delete the framework-res and reboot it.
after that, every 30 minutes of screen off, apps are killed too, tasker too.
then i try to install over the miui ita, the new build of miui ita, but nothing changes.
how can i make tasker always active?
sorry for my poor english.
db
I can confirm that this works for RMN4 AOSP.
---------- Post added at 08:25 AM ---------- Previous post was at 08:24 AM ----------
As for the steps, there's a bit of a condition that you need to complete before it starts working as intended
deathkid13 said:
I can confirm that this works for RMN4 AOSP.
---------- Post added at 08:25 AM ---------- Previous post was at 08:24 AM ----------
As for the steps, there's a bit of a condition that you need to complete before it starts working as intended
Click to expand...
Click to collapse
What condition?
Try it. .and now My RN3SD has Doze enabled on Multirom 6.11.3
*sory diffrent device ?
Noe_cuupz said:
Try it. .and now My RN3SD has Doze enabled on Multirom 6.11.3
*sory diffrent device ?
Click to expand...
Click to collapse
Try to use force doze with xposed module
Does this works too to doze directly after screen off?
<bool name="config_dozeAfterScreenOff">false</bool>
<bool name="config_dozeAfterScreenOff">true</bool>
Cheers
EDIT: Never mind. This is for Screen Doze (ambient screen)
asusm930 said:
Some MIUI ROM/Custom ROMS do not have doze enabled and this is due to Xiaomi disabling doze on China STABLE/BETA builds because they don't have to comply to google standards as of now. There has been some reports that some China based custom MIUI roms do have doze enabled and that is simply because roms like Xiaomi.eu and others do some mix and matching between the GLOBAL BETA builds and CHINA BETA builds to get best performance out of their roms. It explains why doze is enabled. I have personally decompiled the framework-res of both the Xiaomi.EU and MultiROM roms and found that on Xiaomi.EU the value is set true (doze enabled) On MultiROM its the opposite. You guys can go ahead and check on your own. To remind you folks, if you use Better Battery Stats (BBS), the Doze Interactive stat means the amount of time the device IS NOT DOZING. That value in no way shows that doze is working. Instead look for Doze Idle stat. No Doze Idle stat, then no doze. MultiROM on the other hand bases its roms solely on the China builds which explains why their roms don't doze at all.
So how did I enable/fix doze? MIUI has this feature when it lets theme make overlays on certain values of files and apk in their rom. In this case its framework-res.apk. With the help of a template that I got from here http://en.miui.com/thread-387638-1-1.html I edited the files to apply the correct values on framework-res.apk to enable doze. I also tried to edit navbar size using this method but it didnt work :angel: but the doze tweak DEFINITELY works. So it pretty much confirms that it only works on certain parts of the code/certain APKs. There is a similar concept on AOSP android called RRO/Overlays. But its much more complicated You'll need to det up an environment and compile apk etc...thats not possible because we dont have source code rofl. It's better to use what I have here.
So how do we apply this tweak? Download this file and put it into system/media/theme/default and reboot.
https://drive.google.com/open?id=0B_Q4QjvbODxodTRhQnJVeURubUU
to get doze kicking in faster/faster doze time (instead of the 30 minutes that android sets default) install doze editor and choose the last profile. You can uninstall the app after that because the value sticks/is saved somewhere else.
and of course you'll need to be rooted
Hope this is any help to any of you
Interested in how doze works and its requirements? look here https://source.android.com/devices/tech/power/mgmt.html#doze-reqs
Click to expand...
Click to collapse
Hello there and good job on this. Something I noticed and you might have an insight on this. If you disable miui optimization or through Naptime app you can access the battery optimization settings. In all aosp roms everything is flagged as optimized. In all MIUI roms a very large amount of apps is not optimized and in my understanding they are not "dozing well" when not optimized. I can do this by myself manual, but I'm searching for a more automated way here since they are a lot off apps. Thanks in advance!
solis_f said:
Hello there and good job on this. Something I noticed and you might have an insight on this. If you disable miui optimization or through Naptime app you can access the battery optimization settings. In all aosp roms everything is flagged as optimized. In all MIUI roms a very large amount of apps is not optimized and in my understanding they are not "dozing well" when not optimized. I can do this by myself manual, but I'm searching for a more automated way here since they are a lot off apps. Thanks in advance!
Click to expand...
Click to collapse
Hold on. Not all apps are optimized even on AOSP. Some google apps, for example, aren't optimized.
As for automating the process, there's nothing we can do. I found this to be frustrating too
asusm930 said:
Hold on. Not all apps are optimized even on AOSP. Some google apps, for example, aren't optimized.
As for automating the process, there's nothing we can do. I found this to be frustrating too
Click to expand...
Click to collapse
Yes but on aosp is 2-3 apps which can't be optimized. In miui there are a huge amount that can be and are not optimized. Check for yourself when you have time... Install naptime and go to battery optimization

Ho to get your battery life back.

Dear OP2 friends,
HUGE DISCLAIMER:
Below setup works for MY use and needs. If you are like me it will work for you too, if not go find information somewhere else and don't complain "I cannot get the same results" or things like that. It takes common sense and experience to achieve and understand below info. If you don't have common sense, I pity you, if you don't have experience it's OK. If you are polite and follow the XDA rules I don't mind answering your well structured questions, and maybe others don't mind too, there are a lot more experienced people on XDA than me.
If your question is related to any of the apps/threads mentioned below, please go to that (app) thread, that's why I have put the info right there, one click away.
battery life is something we all want to be endless, well we can't have that, but at least we can improve it from a certain point.
This is what I have been doing for the past weeks and the results are incredible, that's why I decided to share them.
First of all sharing this information is ambiguous because it's somewhat device and user dependent especially how people use it and what apps are installed.
I know that but I believe with the right approach you can get the same results as me, hopefully even better, on the OP2 and possibly other device as well.
I have 148 apps installed at the moment and sometimes even more than 200. If you control your apps properly there is no limit to the amount of apps installed related to battery life.
There are numerous threads on improving battery life out there already so please check out those threads first.
Extreme battery threads:
https://forum.xda-developers.com/android/general/guide-extreme-battery-life-t3095884
https://forum.xda-developers.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588
You can also post your BBS logs there, please don't do that in this thread as I will not investigate them.
Most useful info is already out there so I would appreciate it to go look there first before cluttering this thread. If not I will close this thread.
Let's get started:
improving battery life on Android is (unfortunately) always a combination of things, there is no 1-push button (yet).
In this case I use the following:
- privacy guard (baked in almost any Nougat ROM)
- custom kernel (I use Boeffla: original thread here, I use the Linaro version from ZaneZam)
- Greenify (original thread here)
- Wakelock blocker (built in ROM) + WakeBlock app (optional, original thread here)
- Alarm Blocker (built in ROM)
- Doze apps
- BetterBatteryStats (for finding your excessive wakelocks, thread here)
Obviously you have to be rooted to implement all of this.
The ROM of my choice is RR unofficial.
I like it because of the functionality and features but I believe any ROM with the above features should be able to achieve the same results.
Speaking of results, below screenshots are from my last cycle before writing this thread. One charge got me almost through 3 full days (66 hours).
I fully charged in the afternoon, got through the evening and the first night, then got through the full second day and night, then got through another full day and night and charged only again in the next morning.
If your still following, those are 66 hours of straight juice...
EXPLANATION: There is ALWAYS a tradeoff between SOT (screen on time) and how long your battery will last in one cycle. On my below cycle you can see that I have "only" 4 hours of SOT but almost 3 days of battery life. That is light usage.
If I would use my phone more (more SOT) the battery life cycle would have been significantly shorter. If you complain to me that you "only" have 24hrs of battery life but you show me a SOT of 7-8 hours, I would consider that great battery life! It's all relative...
I have never used one battery cycle from 100% to 0% in one go so I don't know the max SOT I would get with my setup. I would guess around 6.5-9 hours depending on the activity (gaming <=> ebook reading, mobile data <=> wifi, ...). It's all relative...
The screenshots in the bottom of the post might bring clarity for you.
See the following posts for more explanation.
Thanks to:
@nicesoni_ash
@Lord Boeffla
@ZaneZam
@oasisfeng @GioBozza @chamonix
@ssrij @The Peterle
Privacy Guard:
*setting things up wrong without thinking straight can delay notifications or not execute certain tasks*
I enable this for all user apps because I don't want any app keeping the system awake. I even have this enabled for some system apps like:
Calendar storage
Google play services
Google play store
Google app
cLock
I mostly disable all locations (if it's not a location dependent app), keep awake, run in background and even start at boot (if the app doesn't need to start on boot) toggles.
Again, use your common sense to figure out if a app needs to run on boot (for example, youtube doesn't need to run on boot, tasker does for starting up along with the system boot).
obviously some system apps need to run in the background for example cLock or calendar storage otherwise your weather and calendar will not update...
You can also configure all the apps on a gradual basis. You let the privacy guard as is on clean install an if you see excessive wakelocks from a certain app, you start blocking it one by one.
Custom kernel:
I use Boeffla config app with always the latest version of his kernel compiled by ZaneZam (Linaro 6 version).
The latest as of the time writing this thread is LOS14.1-beta14 in combination with config app 2.4.34.
I use profile IMPULSE TUNED V3.0, no lags, good performance and crazy battery life.
Screenshots of my minor changes, the rest is identical to the stock IMPULSE TUNED V3.0 profile.
Greenify:
*setting things up wrong without thinking straight can delay notifications or not execute certain tasks*
I Greenify a lot of apps, as much as I can basically, even system apps.
I cannot give too much advice on this part so please go to the Greenify thread to ask related questions. For me it's mostly a hit and miss and right now my config is a big hit.
If you want to know if you can Greenify a particular app you can ask me.
Configuration below in screenshots.
Wakelock Blocker (+ WakeBlock app):
*setting things up wrong without thinking straight can delay notifications or not execute certain tasks*
I personally think this feature is essential in getting good battery life so I'm glad it's integrated in the ROM of my choice (since we don't have xposed yet).
In combination with the WakeBlock app it basically works like Amplify on Xposed, but ROM integrated.
This part is the hardest to explain because it's different for most users. On the screenshots below you can find most of my blocked wakelocks (without losing functionality).
The procedure to block wakelocks is the same as all the other parts explained above and below:
Let your system run for some hours/days (essential!).
After that, trough BBS you can find your excessive wakelocks and through wakelock blocker you can block them completely. If you don't want to completely block the wakelocks you can use the WakeBlock app to put a timer like in Amplify for Xposed, for example I want wakelock x to run every 9999 milliseconds....
Alarm blocker:
*setting things up wrong without thinking straight can delay notifications or not execute certain tasks*
Another essential feature for keeping your device under control.
I block a lot of alarms (without losing functionality) so get ready...
Doze apps:
I use Force Doze from the Playstore to put my device in Doze mode as soon as the screen goes off.
Naptime is an alternative but I find it to generate too many wakelocks (sometimes up to 19 per hour).
I might change this app once in a while if there are better alternatives that come up.
Anyway Force Doze will work for now.
reserved. will add some advices.
CounterC said:
Doze apps:
I use Force Doze from the Playstore to put my device in Doze mode as soon as the screen goes off.
Naptime is an alternative but I find it to generate too many wakelocks (sometimes up to 19 per hour).
I might change this app once in a while if there are better alternatives that come up.
Anyway Force Doze will work for now.
Click to expand...
Click to collapse
Lesser wakelocks means not necessarily lesser drain, good example is definitely the very first lines from this Thread of an old friend from galaxy s3 lte times, he implemented microG on his device and achieved lesser wakelocks but no significant impact on his battery life(see here), what I want to point out is that this equation (more wakelocks - more battery drain) isn't so simple unfortunately, even if true for most of the time, regarding to franco's naptime, I personally made very good experience with this app in combination with his custom kernel, I think especially in this combination it's absolutely recommended..
Furthermore some inspiration about battery life a wonderful guide with plenty of useful information, the absolute majority is generally valid, so don't get confused by the i9305 tag...
Sent from my OnePlus 2 using XDA Labs
Sam Nakamura said:
Lesser wakelocks means not necessarily lesser drain, good example is definitely the very first lines from this Thread of an old friend from galaxy s3 lte times, he implemented microG on his device and achieved lesser wakelocks but no significant impact on his battery life(see here), what I want to point out is that this equation (more wakelocks - more battery drain) isn't so simple unfortunately, even if true for most of the time, regarding to franco's naptime, I personally made very good experience with this app in combination with his custom kernel, I think especially in this combination it's absolutely recommended..
Furthermore some inspiration about battery life a wonderful guide with plenty of useful information, the absolute majority is generally valid, so don't get confused by the i9305 tag...
Click to expand...
Click to collapse
Good point Sam, that's why I always say check BBS first if it's actually a wakelock, then treat it properly (disable or time-lapse it).
Overnight drain
does blocking the *alarm* wakelock cause the system to reboot!?
aditya_pan said:
does blocking the *alarm* wakelock cause the system to reboot!?
Click to expand...
Click to collapse
No, not with me.

Battery Saving Techniques

There's a lot of threads out there regarding battery saving techniques, but I didn't really see anything that went into a lot of detail on the OP3t. I own both an OP3t and an OP5T, and after running into some issues with the battery I have finally gotten my phone to idle fairly well on the devices and figured I would share my techniques.
Anyone that reads this and finds this useful, I encourage you to let me know the outcome of your battery after following this guide. Also if you have any suggestions/recommendations, please share them with me on here. I can update the original post and include your suggestions so that it can be helpful for other users as well.
The wakelocks category can be pretty intimiating because it's different for all users based on applications they have, but if you have some custom regex wakelocks or just standard wakelocks that you would like to share, please let me know.
Now to the guide...
Phone Specs:
OnePlus 3T - 64Gb
OxygenOS 5.0.3 (stock) & rooted with Magisk
Kernel - Bane Kernel https://forum.xda-developers.com/on...e-development/kernel-bane-kernel-r-1-t3801778
Recovery - https://androidfilehost.com/?fid=890129502657595792
Developer Options:
Developer - On
OEM Unlocking - Enabled
Advanced Reboot - Enabled
* Doze mode * - Disabled
-I need to highlight this, because I usually enable this option, and I know many others do as well. I'm not sure if my situation is an anomaly, however I must highlight if you use 3rd party battery saving apps such as naptime, forcedoze, leandroid, you should disable this mode. If you don't use these apps, then you should be okay to enable the option. I had this option enabled initially while using the 3rd party apps, and they were conflicting with my phone and my battery was draining very rapidly. It wasn't until after I disabled this option that I noticed a significant improvement with the battery.
USB Debugging - Enabled
Verify apps over USB - Enabled
Tools I use:
Amplify - https://forum.xda-developers.com/xposed/modules/mod-nlpunbounce-reduce-nlp-wakelocks-t2853874
Better Battery Stats - https://forum.xda-developers.com/showthread.php?t=1179809
ForceDoze - https://forum.xda-developers.com/android/apps-games/app-forcedoze-force-doze-mode-screen-t3377694
LeanDroid - https://forum.xda-developers.com/showthread.php?t=2743316
Magisk v16.0\5.8.3 - https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Nova Launcher - https://forum.xda-developers.com/showthread.php?t=1389071
Xposed Framework v90 beta3 - https://dl-xda.xposed.info/framework/sdk26/arm64/xposed-v90-sdk26-arm64-beta3.zip
OOS Debloater v5 - https://forum.xda-developers.com/on...hemes-apps--mods/aroma-oos-debloater-t3615828
Amplify Settings:
WakeLocks:
Wakelocks(Allow every 900 seconds)
WakefulIntentService[GCoreUlr-LocationReportingService]
NetworkStats
Wakelocks(Allow every 3600 seconds)
WeatherUpdateService
Wakelocks(Allow every 10800 seconds)
SyncLoopWakeLock(delays sync)
*net_scheduler*
GCoreFlp
Icing
Wakeful StateMachine: GeofencerStateMachine
NfcService:mRoutingWakeLock
wake:com.pushbullet.android/.gcm.GcmService
SyncService(Package: Push Bullet)
ai(Package: Push Bullet)
ae(Package: Push Bullet)
AsyncService
Wakelocks(Allow every 41400 seconds)
NlpWakeLock
NlpCollectorWakeLock
LocationManagerService
Config Service Fetch
Wakelock regex:
*gms* 900 seconds
*facebook* 9999999 seconds (if you use facebook)
Alarms:
Alarms(Allow every 600 seconds)
com.android.internal.telephony.data-stall
Alarms(Allow every 1800 seconds)
com.oasisfeng.greenify.CLEAN_NOW (If you use greenify)
Alarms(Allow every 3600 seconds)
android.appwidget.action.APPWIDGET_UPDATE
Alarms(Allow every 7200 seconds)
android.content.syncmanager.SYNC_ALARM(delays sync
Alarms(Allow every 10800 seconds)
android.net.ConnectivityService.action.PKT_CNT_SAM PLE_INTERVAL_ELAPSED
com.facebook.common.executors.WakingExecutorServic e.ACTION.ALARM.com.facebook.katana
com.google.android.apps.hangouts.CLEANUP_DB
com.pushbullet.android/.gcm.GcmFixReceiver
com.android.server.action.NETWORK_STATS_POLL
com.diune.pictures.intent.action.MEDIA_CHECK
LocationManagerService
Alarms[LOCATION](Allow every 41400 seconds)
ALARM_WAKEUP_LOCATOR(com.google.android.gms.nlp.AL ARM_WAKEUP_LOCATOR)
ALARM_WAKEUP_CACHE_UPDATER
ALARM_WAKEUP_BURST_COLLECTOR(com.google.android.gm s.nlp.ALARM_WAKEUP_BURST_COLLECTOR)
com.google.android.gms.location.fused.GPS_ALARM_BA LANCED_ACCURACY
ALARM_WAKEUP_ACTIVE_COLLECTOR
ALARM_WAKEUP_PASSIVE_COLLECTOR
ALARM_WAKEUP_BURST_COLLECTION_TRIGGER
com.google.android.intent.action.SEND_IDLE
ALARM_WAKEUP_ACTIVITY_DETECTION
com.google.android.location.reporting.ACTION_UPDATE_WORLD
Alarms(Allow every 93600 seconds)
android.app.backup.intent.RUN
com.google.android.gms/.checkin.EventLogService$Receiver
com.google.android.gms/.checkinCheckinService%Receiver
Alarms regex:
ALARM_WAKEUP[0-9]+ 9999999 seconds
ForceDoze
These are the options I have checked in Forcedoze settings. Everything else is unchecked.
Turn off while charging - checked
Show persistent notification - checked
Ignore lockscreen timeout - checked
Disable motion sensing for Doze - checked
LeanDroid
Disable​Wi-Fi - checked
Cellular data - checked
Cellular Radio - unchecked
Bluetooth - checked
Network location - checked
GPS location - checked
Switch​Cellular network mode to 2G - unchecked
5 min after screen off except (click except to add exceptions)
The only options I have checked under the exceptions are the following:
Except if tethering - checked
except if charging (AC) - checked
except if charging (USB/wireless) - checked
Disable (Under Exceptions settings)​The only options I have checked are
Under (wi-fi, data, network mode)
Except if active: limit 3KB/s - checked
Under Bluetooth
Except if connected - checked
Under Location
Except if GPS in use - checked
Now back to the Leandroid home screen the following settings under "Restore"
I have selected "After screen unlocked"
Every 60 min for 60 seconds after screen off - checked
except 11PM - 6AM - checked
Except below 15% - checked
Magisk
The only module I use in Magisk is "Sysconfig Patcher" - This is supposed to help with optimizing battery for the google services (that are normally exempt from battery optimizations)
Xposed
The modules I have enabled are:
Amplify
ForceDoze
No Device Check (this is a xposed module you can download from the app that helps make SafetyNet check pass)
Now in Android Settings --> Data usage
Click on the cellular data usage as well as the wifi data usage, you can click on an app that shows up in that list that uses up a lot of data and when you click on it, there is an option to toggle off the option "Background data"
I'm not sure if this is really needed, but what I did is I went through the apps that used the most data (including google play store and google play services) and I toggled the background data off
Android Settings --> Battery
Click "Battery Optimization" --> click the ellipses (top right corner) --> Advanced optimization --> turn this on
Android Settings --> Apps --> Special Access --> Usage Access
Turned off for google play store and google play services
Android Settings --> Apps --> Special Access --> Unrestricted data access
All apps are turned off
These are all my custom settings. If you would like to share any, let me know!
Probably you didn't search enough.
There are many helpful topics here or at Oneplus forum for Amplify, Betterbatterystats or with guides for increased battery.
Sent from my ONEPLUS A3003 using Tapatalk
RASTAVIPER said:
Probably you didn't search enough.
There are many helpful topics here or at Oneplus forum for Amplify, Betterbatterystats or with guides for increased battery.
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
There are several very useful posts each individually spread around these forums; the purpose of this thread is to have a unified source so people don't have to look all over like I did. I know you initially posted on my thread when I had terrible battery drain issues; and after I posted the information you requested, I haven't heard anything from anyone so I had to troubleshoot and fix it on my own. I guess what I'm saying is, I just want to help others in case they run into a similar situation because it can be frustrating when you're seeking guidance or help and no one responds.
I use Naptime and also had enabled the Doze mode in the settings, so like you say i disabled doze mode now and kept naptime running , ill update this post with my findings
manohar3787 said:
I use Naptime and also had enabled the Doze mode in the settings, so like you say i disabled doze mode now and kept naptime running , ill update this post with my findings
Click to expand...
Click to collapse
Yeah, keep me posted. I'd be interested to see if your results are similar to mine. Were you also having a lot of battery drain despite using naptime and doze mode?
manohar3787 said:
I use Naptime and also had enabled the Doze mode in the settings, so like you say i disabled doze mode now and kept naptime running , ill update this post with my findings
Click to expand...
Click to collapse
@manohar3787 - curious to hear about your phone after turning off doze. Any updates?
Leandroid app is responsible of a severe wakelock, I think is almost better not to have it? Any opinion?
Also, what about RILJ And RILJ_ACW_WL wakelocks? Are these safe to block?
Sent from my ONEPLUS A3003 using Tapatalk
RILJ was safe to block on nougat and below, but in Oreo+ it will actually cause a lot of trouble with the system. The other wakelock you mentioned "RILJ_ACW_WL", I'm not familiar with. What I woudl recommend is do a full backup in your recovery, then make the change to observe what happens. If it messes things up you can recover from your backup.
Regarding Leandroid, I haven't really heard any concerns with it. There have been some responses of users that didn't find it to help any, but I haven't heard of it having an adverse affect.
Another app I haven't tried, but am tempted to try at some point is called Island: https://play.google.com/store/apps/details?id=com.oasisfeng.island
Also a thread about it here: http://forum.xda-developers.com/android/-t3366295
@xNAPx - how is your SOT and your idle battery like? DO you use any 3rd party apps/tools to help with battery drain?
m0d hipp¥ said:
RILJ was safe to block on nougat and below, but in Oreo+ it will actually cause a lot of trouble with the system. The other wakelock you mentioned "RILJ_ACW_WL", I'm not familiar with. What I woudl recommend is do a full backup in your recovery, then make the change to observe what happens. If it messes things up you can recover from your backup.
Regarding Leandroid, I haven't really heard any concerns with it. There have been some responses of users that didn't find it to help any, but I haven't heard of it having an adverse affect.
Another app I haven't tried, but am tempted to try at some point is called Island: https://play.google.com/store/apps/details?id=com.oasisfeng.island
Also a thread about it here: http://forum.xda-developers.com/android/-t3366295
@xNAPx - how is your SOT and your idle battery like? DO you use any 3rd party apps/tools to help with battery drain?
Click to expand...
Click to collapse
My SoT is dependent on the usage, night drain is less than 1% a hour even 0% sometimes, SoT is between 7 and 5 h
About those wakelock I've heard the same about RILJ on Oreo, about the other one I don't know but is heavy as well.
About Leandroid I'm not very convinced. It messes up with notification and now I have another big wakelock to worry about
Sent from my ONEPLUS A3003 using Tapatalk
Unable to End Google play services
i am unable to doze google play services since am already running doze mode+magisk modules(sysconfig patcher + enable doze moe for gms )
Still i can see play services in Running services
Kind help needed
@xNAPx - do you have any custom settings or tools you use? Do you use Greenify?
What are the big wakelock issues that you have trouble with? Is it the one you mentioned "RILJ_ACW_WL" or other ones?
@Anusha Rao - Are you using doze mode within the Android system or 3rd party tools like I posted?
I don't think you want to use both magisk modules. As I mentioned in my post, I only use the sysconfig patcher. And make sure you reboot the phone after enabling that.
To check and see if google play services is being optimized for battery try going here:
Settings --> Apps --> Application List--> Google Play Services --> Battery
When I look at mine it shows 0m in use
0% battery usage
Battery Optimization:
Optimizing battery use
EDIT:
I'm posting screenshots of my googple play store and the google play services having battery optimization enabled and using 0% battery.
BTW, just so we're on the same page, you shouldn't completely "stop" google play services because it's essentially what drives the OS. Those services are important for letting your phone operate correctly. My thread is about optimizing those services not disabling/stopping them.
If you want to completely "freeze" certain apps and services you can try out that application I posted in my previous post called "Island". I'd be curious to hear how it works out.
That one plus "RILJ" plus "LEANDROID service" (which I un installed) , and also "AudioMix" and "xalarmx"
Sent from my ONEPLUS A3003 using Tapatalk
Amplify tells me I need to root my device but I have Magisk installed...?
I'm not familiar with the rom that you have "Dirty Unicorns". I use the stock ROM.
Most custom roms have root built in though so you might not even need to use magisk or super SU. You can check to see if there are any custom rom settings o maybe go into developer settings and see if you see a "Root" option.
Face unlock is not supported in the "Bane Kernel".
Does Lean Droid caused more battery Drain?
m0d hipp¥ said:
@Anusha Rao - Are you using doze mode within the Android system or 3rd party tools like I posted?
I don't think you want to use both magisk modules. As I mentioned in my post, I only use the sysconfig patcher. And make sure you reboot the phone after enabling that.
To check and see if google play services is being optimized for battery try going here:
Settings --> Apps --> Application List--> Google Play Services --> Battery
When I look at mine it shows 0m in use
0% battery usage
Battery Optimization:
Optimizing battery use
EDIT:
I'm posting screenshots of my googple play store and the google play services having battery optimization enabled and using 0% battery.
BTW, just so we're on the same page, you shouldn't completely "stop" google play services because it's essentially what drives the OS. Those services are important for letting your phone operate correctly. My thread is about optimizing those services not disabling/stopping them.
If you want to completely "freeze" certain apps and services you can try out that application I posted in my previous post called "Island". I'd be curious to hear how it works out.
Click to expand...
Click to collapse
Disable background data in Play Store and Play service will not disabling them right?
@Bintang Ksatria - Leandroid should be using less battery. @Rvl7 - No it won't disable them. I still use them, but it's on manual load, and not in the back ground. At least that has been my experience.
m0d hipp¥ said:
@Bintang Ksatria - Leandroid should be using less battery. @Rvl7 - No it won't disable them. I still use them, but it's on manual load, and not in the back ground. At least that has been my experience.
Click to expand...
Click to collapse
A good post , it helps us a lot .

Categories

Resources