[Q] VERY serious battery drain issue -- all of a sudden - Nexus 5 Q&A, Help & Troubleshooting

I've had my N5 since Nov. 2013 -- running stock 4.4.4, rooted. I've never had a battery problem, until last Sunday.
Thinking some update or another had changed things, I restored a week-old Nandroid and did not update anything from that state.
I recharged the phone and let it sit on my desk. In 1hr. 40min. battery is down to 75%
Google Play Services has gone crazy. It's kept the phone awake for 1hr. 16min. of the time since I took it off the charger.
What has changed? How can I turn it off? I can't even get a day of idling the phone at this rate -- much less actually use it.
Any suggestions appreciated -- and, yes I did Google first, but nothing really helped...

Settings -> Accounts
Remove your Google account
Settings -> Apps -> Google Play services
Clear cache & data
Reboot to recovery, clear cache partition and dalvik cache.
Reboot and add your Google Account again

Did you use the Disable Service app by any chance?

experience7 said:
Settings -> Accounts
Remove your Google account
Settings -> Apps -> Google Play services
Clear cache & data
Reboot to recovery, clear cache partition and dalvik cache.
Reboot and add your Google Account again
Click to expand...
Click to collapse
Thank you! Tried it. Won't know, for a while if it works, or not -- but I'll check in later, and let you know.

_MetalHead_ said:
Did you use the Disable Service app by any chance?
Click to expand...
Click to collapse
No.

moseso said:
Thank you! Tried it. Won't know, for a while if it works, or not -- but I'll check in later, and let you know.
Click to expand...
Click to collapse
Okay, much luck! I guess that some background service accidentially stored corrupt data and thus doesn't stop syncing or something like that

experience7 said:
Okay, much luck! I guess that some background service accidentially stored corrupt data and thus doesn't stop syncing or something like that
Click to expand...
Click to collapse
It's only been a short time, but, this doesn't seem to have turned the trick. Phone is still very warm to the touch. Battery is dropping like a rock -- about 10% in 5 minutes -- and Google services is adding wakelocks and awake time at an alarming rate.
Does this pic give you any useful info?

It took me a couple more tries to get it, but I did get my phone back to normal. What worked, in the end, was:
Settings-> Apps -> Google Services -> clear data
Settings -> Apps -> Google Search -> clear data
Reboot to recovery -> clear cache & Dalvik
Reboot.
Thanks to all who replied / helped!

moseso said:
It took me a couple more tries to get it, but I did get my phone back to normal. What worked, in the end, was:
Settings-> Apps -> Google Services -> clear data
Settings -> Apps -> Google Search -> clear data
Reboot to recovery -> clear cache & Dalvik
Reboot.
Thanks to all who replied / helped!
Click to expand...
Click to collapse
Thanks for letting us know. I think the general storage cache clear is what tends to fix this. I have resolved it myself using Settings > Storage > Cached data and rebooting.

Related

A Fix for Lag and com.android.phone crashes

IF YOU ARE HAVING A LAG, try this, it cured my lag and also stopped com.android.phone boot errors.
1. Do a nandroid backup
2. (optional) Clear your cache. You can do this from Recovery or there are nice apps that will let you do it from Android (I use Elixir 2).
3. Go to Settings > Applications > Manage Applications, click the All tab.
4. For the following applications, click the application, click Force Stop, the click Clear Data. You should also click Clear Cache if it is not greyed out:
- Account and Sync Settings
- Dialer
- Dialer Storage
- Google Calender Sync
- Google Contacts Sync
- Google Services Framework (this one is important)
- Google Services Framework (yes, do it twice)
5. Turn your phone off, then on (do not reboot)
Clearing Data clears application settings for that app particular to your phone. If you have flashed lots of kernels and ROMs, the Data may contain unused or incorrect information. Cache is merely "scratchpad" information, temporary data related to the app's processing.
Let me know if this cures your lag. It worked great for me - no more crashes and phone is snappier. But I don't know if my phone had a particular issue or if this is good for all Android phones. Give it a try and let me know if it makes a difference!
Cool - I'm seeing much better battery life!
Didnt work
EEngineer said:
IF YOU ARE HAVING A LAG, try this, it cured my lag and also stopped com.android.phone boot errors.
1. Do a nandroid backup
2. (optional) Clear your cache. You can do this from Recovery or there are nice apps that will let you do it from Android (I use Elixir 2).
3. Go to Settings > Applications > Manage Applications, click the All tab.
4. For the following applications, click the application, click Force Stop, the click Clear Data. You should also click Clear Cache if it is not greyed out:
- Account and Sync Settings
- Dialer
- Dialer Storage
- Google Calender Sync
- Google Contacts Sync
- Google Services Framework (this one is important)
- Google Services Framework (yes, do it twice)
5. Turn your phone off, then on (do not reboot)
Clearing Data clears application settings for that app particular to your phone. If you have flashed lots of kernels and ROMs, the Data may contain unused or incorrect information. Cache is merely "scratchpad" information, temporary data related to the app's processing.
Let me know if this cures your lag. It worked great for me - no more crashes and phone is snappier. But I don't know if my phone had a particular issue or if this is good for all Android phones. Give it a try and let me know if it makes a difference!
Click to expand...
Click to collapse
Sry man it didnt work for me could u help me ?

GPS seems to have died

S7 on MM SuperMan ROM
So a few days ago my GPS started taking longer to find me, and today it just stopped entirely. Been on the same version of the ROM for probably 6+ months. Google maps, Waze, weather, etc, basically any GPS related app can't find me.
Done all the usual stuff, checked settings, disabled xposed, uninstalled any recently installed apps, wiped cache, no go.
Downloaded that GPS tool app everyone recommended and reset GPS settings etc and it didn't help. The diagnoses page says my sensors are all fine, and it can actually find my coordinates but other apps still can't.
I did a nandroid backup then did a clean wipe, and it works on a fresh ROM so I know it's not hardware. Issue comes back when I restore the backup, so it has to be some kind of software related bug or issue.
I just can't think of what it could be. I'll probably have no choice but to set it all up again from scratch, but any ideas of what it could be would be nice.
Did you try delete cache and dalvik cache in recovery only?
Poslano sa mog SM-G930F koristeći Tapatalk
Yep, I'll give it another try now.
I've just did an all setting reset within android settings. Which seems to have just made it worse.
edit: nope, tried cache, davlik and internal storage wipe (but leaving data and system). still broke.
Beanvee7 said:
Yep, I'll give it another try now.
I've just did an all setting reset within android settings. Which seems to have just made it worse.
edit: nope, tried cache, davlik and internal storage wipe (but leaving data and system). still broke.
Click to expand...
Click to collapse
Try Reset App Preferences from Settings > Apps > 3 dots top right menu > Reset app preferences
Also Settings > Apps > 3 Dots > App Permissions > Location, check everything is set to accept location that you want to have location access (Top right 3 dots again > show system)
*Detection* said:
Try Reset App Preferences from Settings > Apps > 3 dots top right menu > Reset app preferences
Click to expand...
Click to collapse
Already tried the permissions settings to no avail, but doing that seems to have done it. Cheers!
Beanvee7 said:
Already tried the permissions settings to no avail, but doing that seems to have done it. Cheers!
Click to expand...
Click to collapse
:good:

God, this phone is so good! Also, here's a bug. [SOLVED]

I love this phone - after the Pixel XL disaster, which I had for 19 months, this is a breath of fresh air. Yet a new bug in 5.1.8 - my cellular data is now listed at 6KB in Settings/Data Usage after the update. Also in the Dashboard when you swipe right from the homescreen. When you go deeper into the settings - Settings/Data usage/Cellular data usage - it shows the actual number, that is 8MB.
Damn, when I bought the phone, it was 5.1.5. And it was perfect. Did they hire some idiot intern to do 5.1.6-7-8?
[SOLUTION]
https://forum.xda-developers.com/showpost.php?p=76868571&postcount=13
nabbed said:
I love this phone - after the Pixel XL disaster, which I had for 19 months, this is a breath of fresh air. Yet a new bug in 5.1.8 - my cellular data is now listed at 6KB in Settings/Data Usage after the update. Also in the Dashboard when you swipe right from the homescreen. When you go deeper into the settings - Settings/Data usage/Cellular data usage - it shows the actual number, that is 8MB.
Damn, when I bought the phone, it was 5.1.5. And it was perfect. Did they hire some idiot intern to do 5.1.6-7-8?
Click to expand...
Click to collapse
I updated to 5.1.8 last night and it
Looks fine in mine, have you tried clearing cache from recovery
manus31 said:
I updated to 5.1.8 last night and it
Looks fine in mine, have you tried clearing cache from recovery
Click to expand...
Click to collapse
Clear cache from recovery? I tried accessing recovery and it has one option - "Wipe data and cache." Is that factory reset? Sounds like it. I did clear cache from "Settings/Storage & memory" though.
nabbed said:
Clear cache from recovery? I tried accessing recovery and it has one option - "Clear cache and data." Is that factory reset? I did clear cache from "Settings/Storage & memory" though.
Click to expand...
Click to collapse
No.There is an option in there to clear cache only ,just be careful you don't hit erase everything
manus31 said:
No.There is an option in there to clear cache only ,just be careful you don't hit erase everything
Click to expand...
Click to collapse
I am not using TWRP or any custom recovery - the phone is completely stock.
Are you saying that there are more options further in the menu called "Wipe data and cache?"
nabbed said:
I am not using TWRP or any custom recovery - the phone is completely stock.
Are you saying that there are more options further in the menu called "Wipe data and cache?"
Click to expand...
Click to collapse
Don't worry,you need to select wipe data and cache to get to the 3 options,the middle option is wipe cache after that
,Don't worry,it won't wipe your data and cache by just selecting the initial "wipe data and cache" option
manus31 said:
Don't worry,you need to select wipe data and cache to get to the 3 options,the middle option is wipe cache after that
,Don't worry,it won't wipe your data and cache by just selecting the initial "wipe data and cache" option
Click to expand...
Click to collapse
Thank you.
Still the same problem. Dashboard and Settings/Data usage show 48kb used, Settings/Data usage/Cellular data usage show 8MB used.
Broken?
nabbed said:
Still the same problem. Dashboard and Settings/Data usage show 48kb used, Settings/Data usage/Cellular data usage show 8MB used.
Broken?
Click to expand...
Click to collapse
I presume you mean when you swipe right for shelf on one plus launcher,for me data usage 71.5mb here and in settings the same,so no problem for me.Dont know why you have this
manus31 said:
I presume you mean when you swipe right for shelf on one plus launcher,for me data usage 71.5mb here and in settings the same,so no problem for me.Dont know why you have this
Click to expand...
Click to collapse
Must be some kind of a bug? I rebooted and wiped cache from recovery and Storage multiple times. Right?
nabbed said:
Must be some kind of a bug? I rebooted and wiped cache from recovery and Storage multiple times. Right?
Click to expand...
Click to collapse
I don't know if you use OnePlus community forums,but they are good for discussing these issues,They also have a feedback option to report bugs,but I doubt this is a widespread thing,
https://forums.oneplus.net/feedback/
manus31 said:
I don't know if you use OnePlus community forums,but they are good for discussing these issues,They also have a feedback option to report bugs,but I doubt this is a widespread thing,
https://forums.oneplus.net/feedback/
Click to expand...
Click to collapse
I actually have the Community app on my phone. I just don't want to create a new account - more places to be hacked to steal my secondary passwords so my primary passwords would be easier to guess.
But I agree - this seems like a superficial bug that will go away in the next billing cycle/month for this phone.
[SOLUTION]
You can fix the discrepancy between Settings/Data Usage and Settings/Data Usage/Cellular data usage by manually syncing those values.
Go to Settings/Data Usage/Billing cycle and tap on Amount of data used. There you can adjust the amount of data used to the same value as in Settings/Data Usage/Cellular data usage.
I just tested it, and upon using cellular data, both amounts increased by the same number of MBs - so they are synced now.
Not sure if this desync is gonna happen every time a new update comes out or what.

[Not Solved] Android 10 and GPS not working

Hi everyone,
Eversince I updated my phone the GPS is not working, Google maps is not giving a location, but when I downloaded GPS toolbox it seems to have a fix. I tried wiping davkik cache but it didn't work.
same issue upgrading from Pie to Q i do a clean install and now works perfect
Toni Moon said:
same issue upgrading from Pie to Q i do a clean install and now works perfect
Click to expand...
Click to collapse
What do you mean by clean install? Should just download the file and flash it?
Have the same issue, thinking of clean install but 300 apps installed is a lot of work. Looks like the Google location provider is not working (if that's the correct name)
Was having the same issue using HERE WeGo maps but was able to fix it. Settings > Apps & Notifications > See all (###) apps. Click the dots in upper right corner, Show system apps. Scroll down to Location Services, force stop then clear cache and storage for app. Reboot.
Worked perfectly for me after that. Seems it was holding onto old storage/cache data that didn't get wiped even after doing a stock recovery cache wipe. Can't guarantee that'll work for everyone, but worked for me.
Sent from my OnePlus 7 Pro using XDA Labs
noobly_dangers said:
Was having the same issue using HERE WeGo maps but was able to fix it. Settings > Apps & Notifications > See all (###) apps. Click the dots in upper right corner, Show system apps. Scroll down to Location Services, force stop then clear cache and storage for app. Reboot.
Worked perfectly for me after that. Seems it was holding onto old storage/cache data that didn't get wiped even after doing a stock recovery cache wipe. Can't guarantee that'll work for everyone, but worked for me.
Sent from my OnePlus 7 Pro using XDA Labs
Click to expand...
Click to collapse
It worked, thanks! (well it did not work immediately, then I went in preferences and unticked "Improve Location Accuracy", waited and ticked it again and it worked, not sure if it had any kind of impact)
So, actually it did not work, the location would only work if I toggled on/off "Improve Location Accuracy", so I decided to try again, but this time wiped all the system apps that contained "location"in their names, will keep you posted
gigaboss said:
So, actually it did not work, the location would only work if I toggled on/off "Improve Location Accuracy", so I decided to try again, but this time wiped all the system apps that contained "location"in their names, will keep you posted
Click to expand...
Click to collapse
Any news? I have the same problem. Maps and Life360 do not show position. Every other app using GPS work fine. I would like to wipe cache and dalvik but in TWRP, when trying this Function, I receive AN error so it is not possible.
700€ of smartphone and GPS do not work... :crying:
elconfa said:
Any news? I have the same problem. Maps and Life360 do not show position. Every other app using GPS work fine. I would like to wipe cache and dalvik but in TWRP, when trying this Function, I receive AN error so it is not possible.
700€ of smartphone and GPS do not work... :crying:
Click to expand...
Click to collapse
I wiped the data in my phone and it worked... Sorry I don't have a better solution but it also fixed a lot of other problems,
gigaboss said:
I wiped the data in my phone and it worked... Sorry I don't have a better solution but it also fixed a lot of other problems,
Click to expand...
Click to collapse
Can you suggest me a technique for backup and restore for a fastest wipe data?
Hey lads, I know I'm late to the party but I seem to have found something that fixed my Life360 issues.
1. Go to settings => Apps & Notifications and tap "see all apps"
2. Tap the 3 dots in the corner and tap "Show system"
Find "LocationServices" in the list, force stop, clear cache, clear data
4. Go back and find Life360 in the list, open the "advanced" drop-down menu, go to "battery optimization" and select "don't optimize" (this step may not be necessary)
5. Tap "storage and cache", and clear both the cache and storage
6. Reboot
7. Test to see if Life360 can see your location now
I know I'm I bit late and a lot of people wiped their phones to fix this, so I hope this info can help someone in the future!
I think I managed to find a workaround which doesn't involve a factory reset for the same issue on my OnePlus 6T:
Settings -> System -> Reset options -> Reset app preferences (this doesn't affect apps data)
Settings -> Apps & notifications -> See all XXX apps -> (3 dots in the upper right corner) -> Show system -> Clear storage and cache of the following apps:
Google Maps
Google Play services
Google Services Framework
LocationServices
Phone Services
Fused Location
Google Location History
OPMmsLocation
I wiped Dalvik cache in TWRP.
I'm not sure all steps are necessary but resetting apps preferences is the key one I think. It's going to reset the permissions of all apps but it's a good alternative to reinstall everything from scratch. The issue of the GPS fix in Google Maps hasn't come back for me since.
ptisam said:
I think I managed to find a workaround which doesn't involve a factory reset for the same issue on my OnePlus 6T:
Settings -> System -> Reset options -> Reset app preferences (this doesn't affect apps data)
Google Maps
Google Services Framework
Phone Services
Google Location History
I wiped Dalvik cache in TWRP.
I'm not sure all steps are necessary but resetting apps preferences is the key one I think. It's going to reset the permissions of all apps but it's a good alternative to reinstall everything from scratch. The issue of the GPS fix in Google Maps hasn't come back for me since.
Click to expand...
Click to collapse
So I had been having the same issues on 6T, then 7. Did this yesterday but haven't yet been able to test it fully although I feel this may have resolved the issue considering the speed at which the GPS / Compass is connecting on Maps. Once I travel today it will just confirm that theory. If it fixes the issue, lots of prayers and wishes your way sir!
PS. Did you ever face the issue again after the fix?
---------- Post added at 07:14 AM ---------- Previous post was at 07:11 AM ----------
ptisam said:
I think I managed to find a workaround which doesn't involve a factory reset for the same issue on my OnePlus 6T:
Settings -> System -> Reset options -> Reset app preferences (this doesn't affect apps data)
Google Maps
Google Services Framework
Phone Services
Google Location History
I wiped Dalvik cache in TWRP.
I'm not sure all steps are necessary but resetting apps preferences is the key one I think. It's going to reset the permissions of all apps but it's a good alternative to reinstall everything from scratch. The issue of the GPS fix in Google Maps hasn't come back for me since.
Click to expand...
Click to collapse
Adding here, I had already tried dumping the cache, storage and Dalvik prior to this which didn't resolve the issue.. Only temporarily. That makes me believe if this is the solution, the most important step being "Reset app preferences" and it does make sense too because Android 9 vs 10, permissions was one of the big changes brought in.
rezapatel said:
So I had been having the same issues on 6T, then 7. Did this yesterday but haven't yet been able to test it fully although I feel this may have resolved the issue considering the speed at which the GPS / Compass is connecting on Maps. Once I travel today it will just confirm that theory. If it fixes the issue, lots of prayers and wishes your way sir!
PS. Did you ever face the issue again after the fix?
---------- Post added at 07:14 AM ---------- Previous post was at 07:11 AM ----------
Adding here, I had already tried dumping the cache, storage and Dalvik prior to this which didn't resolve the issue.. Only temporarily. That makes me believe if this is the solution, the most important step being "Reset app preferences" and it does make sense too because Android 9 vs 10, permissions was one of the big changes brought in.
Click to expand...
Click to collapse
No, I never had the issue again after
Ok, this solution is legit. Seems to be working seamlessly so far. Haven't experienced this consistency with Maps ever since A10. Thank you!!

Problem with Google Maps on Android 10

Updated to Android 10 and everything is working beautifully except for Google Maps. For some reason it doesn't fix my location and keep it.
GPS is working fine as tested on Waze and GPS Status and Toolbox.
If I turn off High accuracy from Google location settings then I immediately get a fix for some time but the location doesn't update unless I go into navigation mode.
Am unable to uninstall Google Maps since phone doesn't boot if I remove the system app.
I tried deleting the data and cache and reinstalling updates, but that didn't help either.
I have also tried switching off sleep battery optimisation but they didn't help either. Unable to find system apps on battery optimisation so I can't change the settings for the app.
I am stumped. I would be grateful for any pointers. Thanks.
Since you already tried reinstalling and clearing cache try the "Global Optomized GPS File Replacer" module in magisk and see if that helps
Same problem with me
Shaberu said:
Since you already tried reinstalling and clearing cache try the "Global Optomized GPS File Replacer" module in magisk and see if that helps
Click to expand...
Click to collapse
Tried but it's still not working. Thanks anyways!
I fixed the problem on my phone by going to Settings > System > Reset options > Reset app preferences.
Flashlights said:
I fixed the problem on my phone by going to Settings > System > Reset options > Reset app preferences.
Click to expand...
Click to collapse
Works thx bro.
Flashlights said:
I fixed the problem on my phone by going to Settings > System > Reset options > Reset app preferences.
Click to expand...
Click to collapse
Indeed it's working. Joyful days are here again. Thank you very much!
The above mentioned Global Optimised GPS file peplacer module seems to make it better too.

Categories

Resources