[KK][FIX] Battery Drain-Google Play Services - Xperia SP General

Hello Guys,
I have been trying almost all the KK Roms available for SP.And the only thing holding me back was battery life.
So i looked into info and found Google services/ google play services taking around 20-30% of my battery.This is the case mostly when you have location reporting turned ON.So i did some digging of myself and found a possible fix without loosing any functionality.
Google services now doesn't even make to the list of battery drainage as you can see in the screenshot below.
HOW TO-
[1] Go to settings>privacy>privacy guard(In some roms it might be under security).
[2] In privacy guard tick the option for built in apps.
[3] Then locate google play services and long press it for further options.
[4] There will be lot of options like location,read contacts,modify contacts etc..
[5] Set permissions as denied for all EXCEPT LOCATION..
[6] Reboot to see changes and terminate already running processes.
You can have a better idea with the screenshots attached below.
this doesn't affects any google apps like google search,play etc..
I Hope this works for you too:laugh:

From what I understood from the Xperia Z complains it is a bug that Google needs to fix....Altho this is a temporaly fix it is a fix so nice work
~~ Regards

mrjraider said:
From what I understood from the Xperia Z complains it is a bug that Google needs to fix....Altho this is a temporaly fix it is a fix so nice work
~~ Regards
Click to expand...
Click to collapse
yes it is there are wakelocks which keep the device awake but doing this eliminates all of 'em and improves battery tremendously

Thanks!

Did it, let's see if it does any difference, is there anyway to stop media server drainage with this?

xAD3r1ty said:
Did it, let's see if it does any difference, is there anyway to stop media server drainage with this?
Click to expand...
Click to collapse
its due to faulty mp3 or photos present in your memory.

'''''''

I'll try and I think the battery was destroying by swap memory

prabhav.3892 said:
its due to faulty mp3 or photos present in your memory.
Click to expand...
Click to collapse
What do you mean with faulty? and how do we find them? It's very frustrating

Chakk said:
What do you mean with faulty? and how do we find them? It's very frustrating
Click to expand...
Click to collapse
there are many programs available for that in windows search check or validate mp3's

prabhav.3892 said:
there are many programs available for that in windows search check or validate mp3's
Click to expand...
Click to collapse
or try clearing media storage app's data from settings

Related

Google Allo notifications not working

I am facing issues with Google Allo, the notifications do not alert me to a new message either unless i have the app open or quite a while later. Tried the usual fixes but nothing resolve this, i dont think this is rom related as all others work and i have adjusted all settings including battery optimisation.
Any ideas would be appreciated
Do you use any apps like Greenify? that could be a problem if the app is being forced to sleep..
Or maybe take a look in Settings > Device Maintenance > Battery
there is a few settings in there that maybe putting it to sleep
scroll down to the bottom and add Allo to "unmonitored apps"
EasyAndroidPro said:
Do you use any apps like Greenify? that could be a problem if the app is being forced to sleep..
Or maybe take a look in Settings > Device Maintenance > Battery
there is a few settings in there that maybe putting it to sleep
scroll down to the bottom and add Allo to "unmonitored apps"
Click to expand...
Click to collapse
I dont use greenify and omitted allo from the battery optimised apps but no change, cheers
daveparki said:
I am facing issues with Google Allo, the notifications do not alert me to a new message either unless i have the app open or quite a while later. Tried the usual fixes but nothing resolve this, i dont think this is rom related as all others work and i have adjusted all settings including battery optimisation.
Any ideas would be appreciated
Click to expand...
Click to collapse
Do you use this app from scratch, or the result of restore titanium backup?
mashardpro said:
Do you use this app from scratch, or the result of restore titanium backup?
Click to expand...
Click to collapse
Usually restore from titanium backup, however in an attempt to fix it i did uninstall and reinstall from fresh and this also had the same effect of delays

Battery drain!!

Hello... Lately i have an issue with my phone with battery drain
Android System takes so much battery
Anyway to fix or may cause the problem?
Conditions of phone :
No Root
Locked Bootloader
Stock ROM v331
Stock Kernel
Mods i use :
Andromeda + Substratum : Flux White & Navigate
Here is the screenshot
Which Rom?
Did you test the drain and stuff, or used any battery stats app to figure out the leak?
Are you rooted?
Need more info.
Velosofy said:
Here is the screenshot
Click to expand...
Click to collapse
Which rom you are running
akshmau5 said:
Which Rom?
Did you test the drain and stuff, or used any battery stats app to figure out the leak?
Are you rooted?
Need more info.
Click to expand...
Click to collapse
i havent use any battery stats app, more info is on OP
Zepar7 said:
Which rom you are running
Click to expand...
Click to collapse
stock
Velosofy said:
stock
Click to expand...
Click to collapse
Okey latest stock is giving battery drain so wait for update .one with October security update will be released soon...
Zepar7 said:
Okey latest stock is giving battery drain so wait for update .one with October security update will be released soon...
Click to expand...
Click to collapse
Thanks for info!
The latest update has re-enabled Google Play Services (GPS) as the prime battery drainer. Not so much Android System, which is made to work overtime by GPS. I've confirmed this on my 6/64 ZB602KL after much monitoring.
My sequence of remedial action goes something like this (not necessarily in the exact order or method*):
Wipe cache partition after 331 update and use your phone normally for a day or so.
Then, with network and data on, open GPS in Settings->Apps and notifications->Show system.
Click on Storage. Clear cache and then click on Manage Space. Click Clear all data bar at the bottom a few times.
Return to the initial menu. Click on FORCE STOP and then click on the 3 dots at the top right. Choose Uninstall updates.
DISABLE.
Now re-enable GPS.
Scroll down to the bottom and click on App details. This will take you to Play Store where you can update GPS to the latest version again.
Launch Google based apps like Play Store, Gmail, Contacts, YouTube, etc to reconnect GPS and/or Android System to Google again.
Done. Excessive battery drain with 331 will still be there but not as bad as before.
* You may try this method or just uninstall updates from the beginning, clear data/cache, disable, enable and then update GPS again. I'm not very sure either as I'm still trying out this solution.
Either way, there seems to be a slight improvement in power drain after performing this unnecessary task - thanks to Asus' idea of "system optimization".
Good luck.
Edit: restart your phone after doing the above.
Velosofy said:
i havent use any battery stats app, more info is on OP
Click to expand...
Click to collapse
Which you edited?.
zenbandit said:
The latest update has re-enabled Google Play Services (GPS) as the prime battery drainer. Not so much Android System, which is made to work overtime by GPS. I've confirmed this on my 6/64 ZB602KL after much monitoring.
My sequence of remedial action goes something like this (not necessarily in the exact order or method*):
Wipe cache partition after 331 update and use your phone normally for a day or so.
Then, with network and data on, open GPS in Settings->Apps and notifications->Show system.
Click on Storage. Clear cache and then click on Manage Space. Click Clear all data bar at the bottom a few times.
Return to the initial menu. Click on FORCE STOP and then click on the 3 dots at the top right. Choose Uninstall updates.
DISABLE.
Now re-enable GPS.
Scroll down to the bottom and click on App details. This will take you to Play Store where you can update GPS to the latest version again.
Launch Google based apps like Play Store, Gmail, Contacts, YouTube, etc to reconnect GPS and/or Android System to Google again.
Done. Excessive battery drain with 331 will still be there but not as bad as before.
* You may try this method or just uninstall updates from the beginning, clear data/cache, disable, enable and then update GPS again. I'm not very sure either as I'm still trying out this solution.
Either way, there seems to be a slight improvement in power drain after performing this unnecessary task - thanks to Asus' idea of "system optimization".
Good luck.
Edit: restart your phone after doing the above.
Click to expand...
Click to collapse
Will try soon thanks for help!
akshmau5 said:
Which you edited?.
Click to expand...
Click to collapse
Bl,root etc
zenbandit said:
The latest update has re-enabled Google Play Services (GPS) as the prime battery drainer. Not so much Android System, which is made to work overtime by GPS. I've confirmed this on my 6/64 ZB602KL after much monitoring.
My sequence of remedial action goes something like this (not necessarily in the exact order or method*):
Wipe cache partition after 331 update and use your phone normally for a day or so.
Then, with network and data on, open GPS in Settings->Apps and notifications->Show system.
Click on Storage. Clear cache and then click on Manage Space. Click Clear all data bar at the bottom a few times.
Return to the initial menu. Click on FORCE STOP and then click on the 3 dots at the top right. Choose Uninstall updates.
DISABLE.
Now re-enable GPS.
Scroll down to the bottom and click on App details. This will take you to Play Store where you can update GPS to the latest version again.
Launch Google based apps like Play Store, Gmail, Contacts, YouTube, etc to reconnect GPS and/or Android System to Google again.
Done. Excessive battery drain with 331 will still be there but not as bad as before.
* You may try this method or just uninstall updates from the beginning, clear data/cache, disable, enable and then update GPS again. I'm not very sure either as I'm still trying out this solution.
Either way, there seems to be a slight improvement in power drain after performing this unnecessary task - thanks to Asus' idea of "system optimization".
Good luck.
Edit: restart your phone after doing the above.
Click to expand...
Click to collapse
Somehow i can't disable or forcestop GPS...
Velosofy said:
Somehow i can't disable or forcestop GPS...
Click to expand...
Click to collapse
No worries. Uninstalling updates and clearing cache and data should be good enough, I think.
I think the battery issue is solved in the 334 update
StoneSpider said:
I think the battery issue is solved in the 334 update
Click to expand...
Click to collapse
Well, I hope so like the builds till 318.
Will wait for more confirmation from you eager, enthusiastic guys or atleast specific some. :silly:
Thanks.
akshmau5 said:
Well, I hope so like the builds till 318.
Will wait for more confirmation from you eager, enthusiastic guys or atleast specific some. :silly:
Thanks.
Click to expand...
Click to collapse
The stand by battery drop during night until morning is good now. Woke up this morning and saw that not much battery percentage is affected on stand by.

music pause

Do anybody have a fix for while playing music or watching videos it keeps pausing. Thanks in advance
U need disable the battery save option of yr music app
emmegi said:
U need disable the battery save option of yr music app
Click to expand...
Click to collapse
Where do u do that at
First find and long press the app you want to play music with in this case I'm doing ytmusic.
Then click app info another menu should pop up then click battery
After that just make sure it is set to allow background usage.
It is set like that
lukesellwood2 said:
First find and long press the app you want to play music with in this case I'm doing ytmusic.
Then click app info another menu should pop up then click battery
After that just make sure it is set to allow background usage.
Click to expand...
Click to collapse
It is set like that I'm having the problem on apple music and Google play music
rj2215 said:
It is set like that I'm having the problem on apple music and Google play music
Click to expand...
Click to collapse
You could try turning off battery optimisation from the option just below it and see if that helps
lukesellwood2 said:
You could try turning off battery optimisation from the option just below it and see if that helps
Click to expand...
Click to collapse
It dont show up when I look optimisation battery
rj2215 said:
It dont show up when I look optimisation battery
Click to expand...
Click to collapse
It will not at first you have to change the filter from not optimised to all and then uncheck the app you don't want to be optimised
lukesellwood2 said:
It will not at first you have to change the filter from not optimised to all and then uncheck the app you don't want to be optimised
Click to expand...
Click to collapse
Thanks a lot I feel like a dummy
rj2215 said:
Thanks a lot I feel like a dummy
Click to expand...
Click to collapse
No problem your not samsung just make these things way to complicated I'm just a technology nerd ? with too much time to dig into the settings and find out what they do. Hope this stops the playback issues
I just happened to run into this issue this past week with jetaudio player. I've never experienced my music stopping with my other music apps with optimization on at all times and sleeping app in the background always on. But for some reason with jetaudio it does this and I hate it lol. I find when I turn running in the background on for the app it really drains the battery alot.
Also I can't even seem to get the jetaudio app to stop running on my lock screen whenever music is playing it's annoying with no fix sadly.

WhatsApp location sharing problem

Hi all
I use my share location sometimes on way home from work, but it doesn't work, as soon as I open the app again it starts to work again?
Seems the app has to be open and running and on to be working.
Not an issue on previous phones, is there a way to allow it to remain running? Seems silly to need to have it on?
Try to not optimize the battery usage on WhatsApp. That may solve the issue. I have experienced delay in notifications with WhatsApp, so I removed that optimization. Normally this solves the 90% of the issues with location, notifications or background processes
WhatsApp location permission setting change from only when app is running to always allow?
hjin said:
WhatsApp location permission setting change from only when app is running to always allow?
Click to expand...
Click to collapse
Take a look, there is no option.
WeedBilbao said:
Try to not optimize the battery usage on WhatsApp. That may solve the issue. I have experienced delay in notifications with WhatsApp, so I removed that optimization. Normally this solves the 90% of the issues with location, notifications or background processes
Click to expand...
Click to collapse
That makes sense, cheers will give it a whirl.
Disabled it, let's see how it goes, there really is no option to leave it constantly on, how crap is that.
dladz said:
Take a look, there is no option.
Click to expand...
Click to collapse
Never noticed that wasn't an option for Whatsapp. Thats an option with most other apps, but found this
https://android.stackexchange.com/q...-all-the-time-location-permission-to-whatsapp
hjin said:
Never noticed that wasn't an option for Whatsapp. Thats an option with most other apps, but found this
https://android.stackexchange.com/q...-all-the-time-location-permission-to-whatsapp
Click to expand...
Click to collapse
Nice find, glad to see it wasn't just me either

Phone been acting weird... need help

My phone has been acting really weird for a few months now and I can't figure it out. Is there a way to find all apps on the phone user installed, system, and hidden?? My phone isnt rooted; well I havent rooted it nor does it say it has. For instance earlier when I pushed my volume button there was an accessibility guy there nothing would open when I pushed him and while looking threw my accessibility settings and checking here and there to see if he was still there, he just vanishes without me turning anything off. Like WTF. Theres other weird things but that's just the most recent 1. And it's got me very concerned. Pls help!!
Your probably have a setting on in Accessibility like visibility enhancements or screen reader, you'll need to turn it off.
For list of apps you can view them in Settings > Apps ( Tap the 3 dots on the top right and tap "Show system apps" )
Jeremy_J7 said:
Your probably have a setting on in Accessibility like visibility enhancements or screen reader, you'll need to turn it off.
For list of apps you can view them in Settings > Apps ( Tap the 3 dots on the top right and tap "Show system apps" )
Click to expand...
Click to collapse
That's what I thought at first so I went threw my accessibility settings and they r all off. He hasn't been back so far that I have noticed. I know there r some spyware and malware that u can hide from being seen or make it look like some random app. Is there a way to use like adb or android studio to scan it for something that shouldn't be there.
Dendy420 said:
That's what I thought at first so I went threw my accessibility settings and they r all off. He hasn't been back so far that I have noticed. I know there r some spyware and malware that u can hide from being seen or make it look like some random app. Is there a way to use like adb or android studio to scan it for something that shouldn't be there.
Click to expand...
Click to collapse
I'm not sure too much about malware, I do know that Samsung has their own "Security Features" in Settings > Device Care > Security if you want to scan your device, also try Play Protect.
Seeing that the Accessibility issues are out of the way, what other problems are you experiencing ?
Jeremy_J7 said:
I'm not sure too much about malware, I do know that Samsung has their own "Security Features" in Settings > Device Care > Security if you want to scan your device, also try Play Protect.
Seeing that the Accessibility issues are out of the way, what other problems are you experiencing ?
Click to expand...
Click to collapse
I saw the guy again but this time I kinda got to look at the running services and I found this. Could that have something to do with it?? As u can kinda tell, once I forced stopped that cloud messaging service the time changed on it and went under the dual messenger service. But as I was saying beforehand, google play services always had a pop up saying using headphones in the background. But my data doubled in the last 2-3 months, things I download will just disappear and pictures (like my phone will restore itself a few days but not my messages or calls), my phone also keeps adding a new camera gallery like it's not connected anymore and is a new camera same with the screenshot folder. Theres also a few other things
Dendy420 said:
I saw the guy again but this time I kinda got to look at the running services and I found this. Could that have something to do with it?? As u can kinda tell, once I forced stopped that cloud messaging service the time changed on it and went under the dual messenger service. But as I was saying beforehand, google play services always had a pop up saying using headphones in the background. But my data doubled in the last 2-3 months, things I download will just disappear and pictures (like my phone will restore itself a few days but not my messages or calls), my phone also keeps adding a new camera gallery like it's not connected anymore and is a new camera same with the screenshot folder. Theres also a few other things
Click to expand...
Click to collapse
So Cloud Messaging's time would change because after you stopped the process it restarted itself. But the other things make it look like your phone is being haunted :laugh:
Can you send your list of installed Applications ?
KineSight said:
So Cloud Messaging's time would change because after you stopped the process it restarted itself. But the other things make it look like your phone is being haunted :laugh:
Can you send your list of installed Applications ?
Click to expand...
Click to collapse
https://photos.app.goo.gl/WF1EBxMV44ws6TXU9
Might be easier just to share an album, if u cant view it let me know I'll post separate pics on here
Dendy420 said:
https://photos.app.goo.gl/WF1EBxMV44ws6TXU9
Might be easier just to share an album, if u cant view it let me know I'll post separate pics on here
Click to expand...
Click to collapse
You sure do have alot of apps. I'm not from your country so I'm not 100% of what all your apps do.
But these are the apps that look suspicious to me :
AnyMusic
Device Info (Multiple Apps)
Downloader
I-Say
InboxDollars
Lucky Dice,Money,Pusher
Match to Win
McAfee Security
Mobile Performance Meter
Movie Hunt
MP3 Music Download
Music Downloader
Numerology
Phone INFO
Phone Reveal
QuickShortcutMaker
S'more
Scam Sheild
Shortcut Master (Lite)
Step Younger+
TextNow
Torrent Movies
Tubi
If I were you, I'd get rid of them.
If this doesn't fix your issues. I recommend you reset the device and do not install apps like this.
KineSight said:
You sure do have alot of apps. I'm not from your country so I'm not 100% of what all your apps do.
But these are the apps that look suspicious to me :
AnyMusic
Device Info (Multiple Apps)
Downloader
I-Say
InboxDollars
Lucky Dice,Money,Pusher
Match to Win
McAfee Security
Mobile Performance Meter
Movie Hunt
MP3 Music Download
Music Downloader
Numerology
Phone INFO
Phone Reveal
QuickShortcutMaker
S'more
Scam Sheild
Shortcut Master (Lite)
Step Younger+
TextNow
Torrent Movies
Tubi
If I were you, I'd get rid of them.
If this doesn't fix your issues. I recommend you reset the device and do not install apps like this.
Click to expand...
Click to collapse
I uninstalled most of those but look what else I happened to stumble across... why is there 2 recoveries??
Dendy420 said:
I uninstalled most of those but look what else I happened to stumble across... why is there 2 recoveries??
Click to expand...
Click to collapse
The one on the left is your recovery. The one on the right is Download Mode (Used to reinstall firmware via PC)
KineSight said:
The one on the left is your recovery. The one on the right is Download Mode (Used to reinstall firmware via PC)
Click to expand...
Click to collapse
If u look close y does it say android recovery twice
Dendy420 said:
If u look close y does it say android recovery twice
Click to expand...
Click to collapse
Sorry. I see it now. I'm not sure why that is. I have never seen that before in my life, it's very weird.
I recommend you backup your files and reinstall the firmware.
Thank u so much for u help but I think I'm actually gonna root this phone and get rid of some of these odd apps and that work profile that I have no idea how to get into. Now to just find and download everything I need to do just that. Lol
Dendy420 said:
Thank u so much for u help but I think I'm actually gonna root this phone and get rid of some of these odd apps and that work profile that I have no idea how to get into. Now to just find and download everything I need to do just that. Lol
Click to expand...
Click to collapse
Everything you need is here
[Root] [TWRP] [More] Android 10 (Q) Complete Guide for the A20 (A205xx)
1. ROOT The following procedures worked for me but I can't guarantee they will work for everyone. Use them at your own risk Save Your Data Copy files to SD card or to usb or to computer Use sms backup and restore app to save texts and phone...
forum.xda-developers.com

Categories

Resources