[GUIDE] BEST BATTERY SAVING setup tips one can find - Android Q&A, Help & Troubleshooting

I have seen a lot of people not getting batter battery life on AOKP, AOSP, CM, HYBRID or STOCK ROMs....
So I thought of setting up this step by step guide to set up the phone with very good battery life.
1. Flash the ROM that you would like to use. (AOKP,AOSP, CM, HYBRID or even STOCK)
2. After flashing the rom, reboot the phone and set it up.
3. If your custom Kernel supports any of the following settings than it will be good as well
CPU & GPU - Undervolt 100mV (If your phone can handle it, I have done it since day one never had problems. )
CPU IDLE MODE - AFTR + LPA
Zram - you can use swap partition on Sd Card or swap file. both are great.
Governer settings - FREQ_LIMIT_SLEEP - 500 Mhz
4. IF YOU ARE USING 4.3+ ROM than - Go to Settings>wifi>Options>Advance> UNCHECK "Scanning always available". Also uncheck NFC services in settings.
5. If you are not using location services all the time than you can do the following as well and you can enable the location services whenever you need them.
Go to GOOGLE SETTINGS APP>Location> UNCHECK "Access Location"
google settings app>maps & lattitude. UNCHECK "report from this device"
6. Install SYSTEM TUNER PRO with GREEN ICON from market.
This is the link: https://play.google.com/store/apps/details?id=ccc71.pmw.pro
7. Follow the guide in my video. The link is below: It will remove useless wakelocks from apps like google wallet, google talk, google plus, IF YOU ARE NOT USING THEM.
Video with DISCLAIMER :
Thread with DISCLAIMER : http://forum.xda-developers.com/showthread.php?t=2357417 Thanks to SKIPJACKS
8. Install Greenify and Greenify Donation. Links are below:
You need to install XPOSED FRAMEWORK for the Donation app to work.
Greenify: https://play.google.com/store/apps/details?id=com.oasisfeng.greenify
Greenify Donation: https://play.google.com/store/apps/details?id=com.oasisfeng.greenify.pro
Xposed Framework: http://forum.xda-developers.com/showthread.php?t=2327541
9. Greenify all user apps and some of the system apps.
System apps that I have greenified:
google contacts sync
google play services
network location
nfc service
android keyboard
bluetooth share
browser
calender storage
cell broadcast
certificate installer
com.google.android.voicesearch
DRM protected content storage
exchange services
google account manager
google bookmark sync
google partner setup
google search
google text to speech engine
html viewer
key chain
market feedback agent
media storage
one time init
org.codeaurora.bluetooth
package access helper
package installer
pico TTS ( I use IVONA Voices)
10. Install 3G/4G Optimizer Pro and go to additional tweaks and check all the 4 of them and than reboot the phone.
https://play.google.com/store/apps/details?id=provision.netspeed.optimizer.pro
We need pro version because it has some additional tweaks for wifi scan, RILS, TCP which saves battery a lot.
11. This step is going to take few minutes of observation.
In the new greenify app there is an option to CUT the connection of the app that is waking up the services.
Now for example,
I am using swift key keyboard not the android keyboard that comes with the rom, but android keyboard also wakes up GOOGLE PLAY SERVICES and keeps it running, so I cut the wake-up path. So now android keyboard will not wake-up GOOGLE PLAY SERVICES.
SO you need to find out which apps are waking-up the system apps and cut the wake-up paths IF THE APP IS NOT IMPORTANT.
12. Go to setting>MORE> DISABLE NFC Services.
13. Download ROM tools box pro
Go to build.prop Editor
change the value of PM Sleep mode>to 1
If you dont have this line than add it.
And Reboot.
-screen time 3 Hrs with 60% brightness
-Mobile Data, Sync and Bluetooth on around 7 Hrs 30 Mins
-Battery Drain during Night for around 8.30 PM to 6.00 AM - 3% to 4%
CREDIT goes to all of the developers of ROM, MODs, and APPs...

Related

Xperia S battery tweaking

I am getting bad battery performance and I want to disable and even totaly uninstall few stock packages which I am sure I will not need any time.
So far what I have done.
Synchronize set to Manuall
Closing applications that I am not using
Disabled Live wallpaper
Set phone to GSM only (2G)
Uninstalled Mccafee
Disabled LTE via HTC Thunderbolt (not sure it worked or not but message showing it is disabled)
Disabled Google + and Exchange service
Removed all widgets
Disabled NFC, Bluetooth, Wifi, Data network etc.
Disabled keypress tones and keypress vibrations
Set brightness to 30%
Disabled Bravia Engine
What else I can do to improve battery life.
Few peoples also suggest to remove some programs such as bloadwares, foursquare, photo viewer, moving wallpaper, facebook integration, twitter integration, photo and movie integration etc.
I also noticed alot of other programs are also auto starting even when I close them such Google+, Maps, Search, Play store etc. I also don't need alot of other things such as LiveWire, NFC and other stcock packages.
Would be better if there is any Clean or Vanilla ROM for Xperia S available. Also suggest me best Task Manager and Battery tool I am currently using Go Power Master and Task Manager.
Note: Noticed that System is consuming more then 80% of battery (ICS Settings > Battery) is it normal?
azfar said:
I am getting bad battery performance and I want to disable and even totaly uninstall few stock packages which I am sure I will not need any time.
So far what I have done.
Synchronize set to Manuall
Closing applications that I am not using
Disabled Live wallpaper
Set phone to GSM only (2G)
Uninstalled Mccafee
Disabled LTE via HTC Thunderbolt (not sure it worked or not but message showing it is disabled)
Disabled Google + and Exchange service
Removed all widgets
Disabled NFC, Bluetooth, Wifi, Data network etc.
Disabled keypress tones and keypress vibrations
Set brightness to 30%
Disabled Bravia Engine
What else I can do to improve battery life.
Few peoples also suggest to remove some programs such as bloadwares, foursquare, photo viewer, moving wallpaper, facebook integration, twitter integration, photo and movie integration etc.
I also noticed alot of other programs are also auto starting even when I close them such Google+, Maps, Search, Play store etc. I also don't need alot of other things such as LiveWire, NFC and other stcock packages.
Would be better if there is any Clean or Vanilla ROM for Xperia S available. Also suggest me best Task Manager and Battery tool I am currently using Go Power Master and Task Manager.
Note: Noticed that System is consuming more then 80% of battery (ICS Settings > Battery) is it normal?
Click to expand...
Click to collapse
if u want a custom rom that saves battery u can use cyanogenmod or aokp.. cyanogenmod is about fully functional but aokp is not,
there is a rom called ka sspeed it does save battery but not like the vanilla based formers..
i also suggest u use battery saving softwares like juice defender or what i prefer greenpower.. they work while the phone is asleep (or u are as greenpower has night mode) and disconnect all connections or connects them intervally..
there is a tweak that i personally havent tried yet called PIMP MY ROM.. the majority say its good but i cant give opinions here..
for me i use ka sspeed from krabappel with greenpower premium and it gives me good battery life.. like 20 hours on daily use but without 3g!

[GUIDE] Things to do after rooting Grand Prime, focused on privacy setup mainly.

Hi people!
I recently rooted my grand prime and i want to share the modifications and tweaks that you can apply to your phone.
Mine is the G530FZ, but these can be applied to any grand prime, since this settings are generic even to other phones.
I am very interested in improve the privacy and the functionality of my phone, and some settings don't need root, but im going to share with you anyway since improves your privacy.
HOPE YOU LIKE IT
-----------------------------------------------------------------------------------------------------------------
Enable Dev Options:
Go to About this device, Compilation number and press it repeatedly until it says "Now you are a developer!"
Go back, developer options and tick USB Debugging to enable ADB over USB
-----------------------------------------------------------------------------------------------------------------
I installed Busybox, using Smart Install (Safest), this is important for most of tweaks.
-----------------------------------------------------------------------------------------------------------------
I disabled KNOX, SAMSUNG SUPPORT TOOL and bloats like:
-Play Music
-Play Kiosk
-Play Videos
-Drive
-Samsung Billing
-Play Games
-Galaxy Apps
-Google+
-Samsung Account
-Chrome
And some replaced by:
-Apollo
-FBReader
-MXPlayer
-
-
-
-FDroid (Open Source App Market, your privacy want Open Source!)
-
-
-Firefox
To disable knox and support tool connect your phone through adb or use the terminal emulator and type:
su
pm disable com.sec.knox.seandroid
pm disable com.rsupport.rs.activity.rsupport.aas2
The other apps can be disabled through settings/Application Manager.
------------------------------------------------------------------------------------------------------------------
I installed Xposed Framework, and then this plugins:
-The POWERFUL GravityBox [KK] (Interface and usability tweaks)
-XPrivacy (A privacy manager that lets you choose what information can be read by an application, asking you when the application tries to read something like contacts, use superuser, read messages and so on.)
-XPrivacy in App Info (Injects the XPrivacy settings in app info for the selected app)
-XHalo Floating Windows (Something like a window manager, lets you use apps in the way of windows or anything like that)
-Call Blacklist Pro (The name says all)
-App settings (To fix issues with the dpi change, I will explain it later)
-Xposed Preference Injector (To inject xposed plugins settings on the settings app)
-------------------------------------------------------------------------------------------------------------------
To control what applications connect though WIFI and what though 3G I used AFWall+, and configured it like that:
Mode: Black list (Block Selected) --> This can be done pressing the message that says: Mode: White list (Allow Selected)
On Options/Preferences/UI Preferences I unchecked LAN Control.
Then you can check the apps you want on WIFI, on 3G, on none of that, or unchecked for WIFI and 3G
The first time you need to go to Options/Enable Firewall, and every time you modify the settings press Options/Apply.
Is useful if you have a Bank application and you are afraid about ARP Poisoning on WIFI (Man in the middle) or things like that and you often connect to public WIFI's. You can block WIFI for this app, and let only connect trough 3G.
Or you can block data hungry apps to work only on wifi and mantain your 3G data usage on acceptable limits.
---------------------------------------------------------------------------------------------------------------------
I installed
-Performance Control (The performance app on AOKP I think o.o')
With this app i changed the DPI using the build.prop editor on the last tab, and changed ro.sf.lcd_density to 190
Then you need to use Xposed App Settings plugin to set the DPI's of this apps to 240, because are made to this DPI's and looks ugly, and some even not work:
-Camera
-Contacts
If you have any other app looking ugly after DPI change, use this fix, and tell us here
Also the pin numbers on lockscreen will move to the left, but it works, and if you change the DPI's of com.android.systemui the status bar and the notification bar will look fat... (o-__-O)
Don't change cpu settings, i did that and look that does nothing... XD
----------------------------------------------------------------------------------------------------------------------
Also, I am afraid about predictive keyboards and where they send what they predict, so I installed the only Open Source keyboard I found really useful:
-AnySoftKeyboard
It can be installed from FDroid or Google Play, I think that the google play edition updates often
Play a little bit with the settings to get your keyboard of choice, it can be tricky at first.
-----------------------------------------------------------------------------------------------------------------------
If you are really conscious about your privacy, you can search for the dev reports that apps send to the developers without your consent and disable it, if you don't care about that, this reports can be useful to some devs
And last, and the most conspiranoic app here:
-Android IMSI catcher
This app theorically warns you about IMSI stations near you. This stations are fake GSM antennaes with encryption disabled to hear what you hear and read what you send, explaining it quickly.
I don't know if this app really works, but if it works, and you have spyes around you, tell me if it works ;D
------------------------------------------------------------------------------------------------------------------------
Sorry if i wrote something wrong, I'm don't speak english on my country, I only know the english I learned from series, games and documentation
If you need some screenshots for any explained here, tell me
Cheers!
kentone said:
Hi people!
I recently rooted my grand prime and i want to share the modifications and tweaks that you can apply to your phone.
Mine is the G530FZ, but these can be applied to any grand prime, since this settings are generic even to other phones.
I am very interested in improve the privacy and the functionality of my phone, and some settings don't need root, but im going to share with you anyway since improves your privacy.
HOPE YOU LIKE IT
-----------------------------------------------------------------------------------------------------------------
Enable Dev Options:
Go to About this device, Compilation number and press it repeatedly until it says "Now you are a developer!"
Go back, developer options and tick USB Debugging to enable ADB over USB
-----------------------------------------------------------------------------------------------------------------
I installed Busybox, using Smart Install (Safest), this is important for most of tweaks.
-----------------------------------------------------------------------------------------------------------------
I disabled KNOX, SAMSUNG SUPPORT TOOL and bloats like:
-Play Music
-Play Kiosk
-Play Videos
-Drive
-Samsung Billing
-Play Games
-Galaxy Apps
-Google+
-Samsung Account
-Chrome
And some replaced by:
-Apollo
-FBReader
-MXPlayer
-
-
-
-FDroid (Open Source App Market, your privacy want Open Source!)
-
-
-Firefox
To disable knox and support tool connect your phone through adb or use the terminal emulator and type:
su
pm disable com.sec.knox.seandroid
pm disable com.rsupport.rs.activity.rsupport.aas2
The other apps can be disabled through settings/Application Manager.
------------------------------------------------------------------------------------------------------------------
I installed Xposed Framework, and then this plugins:
-The POWERFUL GravityBox [KK] (Interface and usability tweaks)
-XPrivacy (A privacy manager that lets you choose what information can be read by an application, asking you when the application tries to read something like contacts, use superuser, read messages and so on.)
-XPrivacy in App Info (Injects the XPrivacy settings in app info for the selected app)
-XHalo Floating Windows (Something like a window manager, lets you use apps in the way of windows or anything like that)
-Call Blacklist Pro (The name says all)
-App settings (To fix issues with the dpi change, I will explain it later)
-Xposed Preference Injector (To inject xposed plugins settings on the settings app)
-------------------------------------------------------------------------------------------------------------------
To control what applications connect though WIFI and what though 3G I used AFWall+, and configured it like that:
Mode: Black list (Block Selected) --> This can be done pressing the message that says: Mode: White list (Allow Selected)
On Options/Preferences/UI Preferences I unchecked LAN Control.
Then you can check the apps you want on WIFI, on 3G, on none of that, or unchecked for WIFI and 3G
The first time you need to go to Options/Enable Firewall, and every time you modify the settings press Options/Apply.
Is useful if you have a Bank application and you are afraid about ARP Poisoning on WIFI (Man in the middle) or things like that and you often connect to public WIFI's. You can block WIFI for this app, and let only connect trough 3G.
Or you can block data hungry apps to work only on wifi and mantain your 3G data usage on acceptable limits.
---------------------------------------------------------------------------------------------------------------------
I installed
-Performance Control (The performance app on AOKP I think o.o')
With this app i changed the DPI using the build.prop editor on the last tab, and changed ro.sf.lcd_density to 190
Then you need to use Xposed App Settings plugin to set the DPI's of this apps to 240, because are made to this DPI's and looks ugly, and some even not work:
-Camera
-Contacts
If you have any other app looking ugly after DPI change, use this fix, and tell us here
Also the pin numbers on lockscreen will move to the left, but it works, and if you change the DPI's of com.android.systemui the status bar and the notification bar will look fat... (o-__-O)
Don't change cpu settings, i did that and look that does nothing... XD
----------------------------------------------------------------------------------------------------------------------
Also, I am afraid about predictive keyboards and where they send what they predict, so I installed the only Open Source keyboard I found really useful:
-AnySoftKeyboard
It can be installed from FDroid or Google Play, I think that the google play edition updates often
Play a little bit with the settings to get your keyboard of choice, it can be tricky at first.
-----------------------------------------------------------------------------------------------------------------------
If you are really conscious about your privacy, you can search for the dev reports that apps send to the developers without your consent and disable it, if you don't care about that, this reports can be useful to some devs
And last, and the most conspiranoic app here:
-Android IMSI catcher
This app theorically warns you about IMSI stations near you. This stations are fake GSM antennaes with encryption disabled to hear what you hear and read what you send, explaining it quickly.
I don't know if this app really works, but if it works, and you have spyes around you, tell me if it works ;D
------------------------------------------------------------------------------------------------------------------------
Sorry if i wrote something wrong, I'm don't speak english on my country, I only know the english I learned from series, games and documentation
If you need some screenshots for any explained here, tell me
Cheers!
Click to expand...
Click to collapse
After rooting your G530 is booting normally?
To remove system apps Nobloat app is a option for users not familiarized with adb prompt & comand lines.
Nope, i need to install phillz recovery to avoid recovery on reset, besides that is working fine
Cheers.
kentone said:
Nope, i need to install phillz recovery to avoid recovery on reset, besides that is working fine
Cheers.
Click to expand...
Click to collapse
i installed philz recovery but still doing manual reboot
The post by yhazarous contains the instruction, i don't tried it yet?
Sent from my SM-G530FZ using XDA Free mobile app
Add Wanam Xposed to that list. It works awesome.
imkhalid said:
i installed philz recovery but still doing manual reboot
Click to expand...
Click to collapse
Try Wipe Cache from recovery..if does not works, download stock rom matching ur phon csc and rom version from sammobile .. then flash it through odin, then re root... make sure this time u flash those two files with method exactly as suggested in the root post.if u get boot into recovery prob again then make sure wipe cache n then reboot.
Sent from my SM-G530H using XDA Free mobile app
@kentone, which method of rooting did you use?
Is it then KingUser or SuperSU?
Maybe you could throw a link to rooting manual?
one thing I'm happy about is using Greenify and Clean master to hibernate and block apps from autostarting, it leaves me with 320-380 mb free RAM most of the time, however if u add whatsapp and chat apps, you wont get notifications till you open the application which I personally prefer it to be like this.
I rooted with odin method, i have the reboot to recovery bug, but is not a problem for me, this is my 'production' phone and i will not touch it so much until we have cyanogenmod or something. Or when we know why the reboot to recovery bug appears o.o'
Sent from my SM-G530FZ using XDA Free mobile app
About greenify and clean master, throw clean master away and dont hibernate the apps with notifications like IM apps XD if you want more ram download kernel adiutor and put the memory preset on ''agressive'' or one level down that! Dont touch the cpu settings, it does nothing with this samsung rom u.u'
Sent from my SM-G530FZ using XDA Free mobile app
@kentone what if I dont disable the knox ? or what if it tripped ? what are the side effects ? and what is the purpose of knox? sorry I dont know that , and thanks in advance for your answer , I hope you will answer my question
In gravity box, cant able to change signal cluster look. Cant add day of week to status bar tweaks. Help me please. I have selected lollipop icons but they are not changing. I also tried reboot.
Amazing things you can do after rooting
Yeah but there are lot more benefits of rooting even though there are certain risks , . Most amazing benefit I think is we can remove bloatware and also block ads which is brainstorming though there are still deelopments going on in that field. Have you tried adblocker Browser??
Android Rooting Benefits
Thanks,
Parth Patel
could you please help me to install xposed framework in g531h

Greenify and Google play services keep awake

Team - I am running the latest version of greenify posted on the playstore. I've followed guides for enabling agressive doze on android 6.0 on my moto x pure (non root) -- including adbing to the device to grant permissions on the app. It seems to be working most of the time. The device seems to go to sleep and i've seen a great increase in battery. However, seemingly randomly i'll notice battery draining fast. When i look at my usage its google play services keeping the device awake 100% of the time. If i reboot the phone, google play services stops doing that and all is well for awhile, till it repeats. I've been unable to find the cause of this. I imagine i'm missing some information that we might need to track this down. thanks in advance!
tange1 said:
Team - I am running the latest version of greenify posted on the playstore. I've followed guides for enabling agressive doze on android 6.0 on my moto x pure (non root) -- including adbing to the device to grant permissions on the app. It seems to be working most of the time. The device seems to go to sleep and i've seen a great increase in battery. However, seemingly randomly i'll notice battery draining fast. When i look at my usage its google play services keeping the device awake 100% of the time. If i reboot the phone, google play services stops doing that and all is well for awhile, till it repeats. I've been unable to find the cause of this. I imagine i'm missing some information that we might need to track this down. thanks in advance!
Click to expand...
Click to collapse
That may not have anything to do with Greenify unless you have greenified Play Services. If you have, remove it from hibernation.
Usually Play Services will go berserk upon updating itself in the background. What you can try is clear it's data and cache and reboot. If you have TWRP, do it in recovery. If not, do it in Settings>Apps.
tnsmani said:
That may not have anything to do with Greenify unless you have greenified Play Services. If you have, remove it from hibernation.
Usually Play Services will go berserk upon updating itself in the background. What you can try is clear it's data and cache and reboot. If you have TWRP, do it in recovery. If not, do it in Settings>Apps.
Click to expand...
Click to collapse
Thanks for the info. Here's what i've done:
I removed greenify, performed the actions you suggested and left greenify off for about 12 hours. No issues with google play services and keep awake. I reinstalled greenify and everything was good for a number of hours. Unfortunately the play services keep awake started again about 3.5 hours ago. The phone has a solid 'awake' bar in battery settings and play services is the culprit with 3.5 hours awake. While i dont blame greenify, there's some sort of correlation of events here that I can't explain.
tange1 said:
Thanks for the info. Here's what i've done:
I removed greenify, performed the actions you suggested and left greenify off for about 12 hours. No issues with google play services and keep awake. I reinstalled greenify and everything was good for a number of hours. Unfortunately the play services keep awake started again about 3.5 hours ago. The phone has a solid 'awake' bar in battery settings and play services is the culprit with 3.5 hours awake. While i dont blame greenify, there's some sort of correlation of events here that I can't explain.
Click to expand...
Click to collapse
Do you have Xposed? If so, install AppOpsXposed and untick the "Keep Awake" function of Play Services. Another thing you can try is uninstalling the update to the Play Services, reboot and then manually update it and again reboot.
If it is still not arrested, Google is your friend.
Unfortunately I've the same problem on my OnePlus 2 with stock ROM. I've installed Greenify two days ago, and enabled aggressive doze with amazing results! Last night I enabled Doze on the Go (using ADB) and since unplugging my phone this morning there is this constant wakelock of Google Play Services. Disabling Doze on the Go as well as reinstalling Greenify didn't help. Looking forward to a solution!
This is a known problem. Sometimes it's worse and sometimes less, but Google Play Services is a known offender in this manner. And Google processes in general. Part of the reason for this is that Google often wakes up your device, periodically, to track your location (horrible, yes, and it continued to happen for me even when all Google location options I could find, as well as GPS, were turned off).
Solutions that have reportedly worked for some people in the past (try one at a time or all of them) - they don't require root:
-Make sure you do not Greenify/freeze/hibernate Google Play Services, or similar processes, as this may make the issue worse.
-Clear cache and data of Google Play Services.
-Manually update Google Play Services to latest APK version available from your device, downloaded from the web. Make sure you select the right version for you. http://www.apkmirror.com/apk/google-inc/google-play-services
-Try turning off as many Google background features as you can, such as location tracking/history, etc.
I guess some of these steps may only work after the next reboot, so reboot the device when you're done.
But as I said, this process is a known big offender. The above may not work, or may work temporarily. The stronger and more permanent solutions require root (you don't really need to try the above options if you do these). The more of them you do, the less 'keep awake' you should experience:
-Install Xposed Installer app and install Xposed Framework, so you can use the modules mentioned below...
-Use AppOpsXposed module (or CM Privacy Guard if you have it) to deny keep awake permission to Google Play Services, and other Google background apps.
-This is a big one: Install Amplify (Xposed module) from the Play Store, and it will automatically take care of limiting Google wakelocks. That's it. If you pay for the pro version, then you can additionally tweak and limit all wakelocks, alarms and services on your device (pretty cool and useful, but more involved, so for advanced users).
Cultar said:
..............
-This is a big one: Install Amplify (Xposed module) from the Play Store, and it will automatically take care of limiting Google wakelocks. That's it. If you pay for the pro version, then you can additionally tweak and limit all wakelocks, alarms and services on your device (pretty cool and useful, but more involved, so for advanced users).
Click to expand...
Click to collapse
The unpaid version of Amplify will block a maximum of a couple of wakelocks related to location. Only the pro version is capable of blocking other wakelocks and alarms including those of Play Services. But as you said, it is not automatic and you will have to set it up.
Any updates on this?
Google play services is awful
MSK1 said:
Any updates on this?
Google play services is awful
Click to expand...
Click to collapse
Not a Greenify issue. Some devices/ROMs/configs seem more susceptible to GPS runaway. Clearing GPS cache+data on occasion followed by an immediate reboot has proven helpful for some. Good luck.

Tasker & Other Background Apps Closing (Android 9)

Hi all!
BIT OF BACKGROUND
Before I post this I wanna say I posted this earlier thinking it is a Tasker issue, into Reddit sub for Tasker. But it seems that it is an Android issue. I have in detailed mentioned what are the problems below. No one could identify this issue.
If you have any suggestion please help me out. Looks like this is the worst Android One phone I have got.
There is even a log in the end of the post. If someone can guide me on how to understand which app is force closing it, it will be great.
Thanks a lot in advance!
-------------------------
Hi,
I have been given a phone by office to use to send Whatsapp messages in the early hours of the morning.
This is a Infinix x604B (Indian Model) running stock Android (One) version Pie with security patch 5 March 2019.
I have unlocked bootloader and rooted with Magisk. (this issue was there since it came originally with Android 8)
I have a problem of Tasker and Autoinput not staying open in the background. I use these two along with
Whatsapp
Clipper
Autoresponder PRO (SMS
AutoResponder for WA
And the only one that doesn't fail to work in the background is AutoResponder for WA and Whatsapp.
Till now searching the forums and other places I have
1. Set the battery setting to "NOT OPTIMIZED"
2. Intelligent power saving standby - SET TO OFF
3. Battery Saver - SET TO OFF
4. Adaptive Battery - SET TO OFF (there is no option to exclude apps in this)
5. Developer Options - Background Process Limit - SET TO DEFAULT - STANDARD
6. Developer Options - Standby Apps - All the running apps are - SET TO ACTIVE
Under Tasker
1. App Check Method - App usage stats OR Accessibility (Both are used and still it closes)
2. Use Reliable Alarms - Always
3. Tasker has been given all permissions and others which connect with Android (only device admin is not permitted at the moment)
All the above don't work
As someone suggested in another post in Reddit, to use sys.keep_app_1 and I have added to build.prop and that doesn't bother at all. It still closes.
It barely takes 15 minutes to set the phone in idle stage and Tasker and AutoInput both will be taken out from the BG list.
In Accessibility options they both will appear as "This Service Is Malfunctioning" and have to disable and enable it back to make it work. Then it will be dead in 10-15 minutes. Very short time.
Till now i have reset the app, cleaned the preferences and started all over again without restoring the xml file for profiles and tasks. Still no change here.
Here is the Tasker log which I am sharing here. Hope you can get something out of it.
https://pastebin.com/zzdCugjP
Is there anything I can share to help?
Thank you!

Alarms in Better Battery Stats - Help!

Hello,
I have a Mi note 10 Lite (unrooted) that I have tried to set in order to avoid any battery drainage. The phone is pretty new, so I don't have many Apps installed (WhatsApp, Spotify and few others. No FB, instagram etc yet).
- Naptime with aggressive doze is installed;
- No auto-sync whatsover
- No automatic backyp
- Block ads via nextdns.it
- Position history, wifi scan etc is all disabled
- all apps ore optimized in the battery settings
- Already tried to wipe Google play serivces' cache, than to unistall updates and wipe again. I have also disabled the ability to change system settings (even if it keeps coming back on after a while);
- Set LTE/WCDMA in the hidden 4636 menu (I do it every time I reboot my phone);
- Removed MSA authorisation,
- Disabled MIUI optimisation
- did a lot of similar things and in-app optimisation (no tracking/history in Google maps, no Play safe, no personalised adv in MIUI apps) etc etc
Everything I could do without rooting my phone is done. I am not using it intensively (still as a 2nd phone till I can get this drainage sorted), so I use it only for some WhatsApp and online articles (with mint browser).
With Naptime I was able to reduce the screen off drainage (now it's -2% overnight), but Google Play services is always at the top of my battery chart. I installed BBS and I don't have worrysome Partial wakelocks, but I do have a lot of alarms from Google and Android:
BBS
Google-BBS
Android-BBS
Can you please take a look at these screenshot and tell me what should I do?

Categories

Resources