[Q] How to fix Android system and android OS battery drain - Sony Xperia L

My device running on the latest cm11 nightly and thunderzap 4.6 claims to loose its battery charge because of high usage by android system and android os.
Any suggestions?

Use "Wakelock Detector" from Play Store to find it what exactly is keeping the phone running. Post your findings here.
For a faster relief, you can try disabling WiFi scanning at WiFi Settings > Advanced Settings. Also, switch off all location services - especially the Location Reporting services - by Google from the Google Settings app or Location settings.

Related

[Q] Are Google services be causing higher battery drain

I've been playing with random ROMs recently and have noticed my 'roids acting up.
Upon install of a new kernel/ROM, I bypass the Android/Google services setup pages that show up on initial boot. That gives me the baseline battery drain. It's only when I start to use Google services (like the Market) that it requires me to activate via a Google acct. After the activation, I see the increased battery drain.
Specifically, my battery discharge increases ~2.7x (idle) after I provide my Google account information to access the Market. After I provide the account creds, the GMail app starts working and I receive notifications of new emails.
I've got a theory that the GMail app or another Google app is polling/pulling instead of using the GMail/Google service to push the data and that this is using additional CPU.
Is this theory correct? Has anyone else seen this behavior?
P.S. My service provider, Verizon, uses a NAT (IP 10.xxx). I can't see how any external service can push anything through a NAT unless it has special access through the NAT. Can Google?
P.S.S. I know I can disable background data and auto-sync via Settings--> Accounts & Sync. It seems to fix the problem but I can't pin it down specifically to an app/service.
- Samsung Droid Charge
- Verizon Wireless 4G
- kernel 2.6.32.9 imnuts at virtualbox 1
- Humble 1.51 EE4 Android Froyo (currently)
Any help?
Anyone? I've received no responses and this seems like a question that could affect a large number of Android users.
Hi!
2 things I've done recently seem to have "removed" Google services from my battery usage when idle.
1.Using Titanium Backup/Menu/Market Tools/Market Auto Updates/Deselect all and Save auto Updates configuration.
2.Go Maps/More/Location History and then press the back button and go Menu/Settings /Location reporting/Location Reporting-Do not update your location+disable Location history+sign out of Latitude.The first 2 I've always done but signing out of Latitude seemed to make the difference.(Disable both Check ins).
There are obviously the other usual battery saving settings but these 2 got rid of Google Services.
HTH.
Galaxy S
Darky JW1 Base
Semaphore 2.2.0 Kernel
Modem ZSJPG
If you have no other regular apps working the background, google services as gmail or gtalk or contacts sync or calendar will surely increase battery usage, but it should be in the dimension of 2.7 times.
Battery life
Battery now down to 26% from full with 2d 1h 48m on battery.Google services has gone from 80%+ to 2%.Couple of screenshots attached.This Google services thing is not the only answer to battery life problems but there's always something running in the background doing the damage.HTH.
I've noticed that when I've got my EVO active on WiFi there's some significant network traffic between it and Google even when the device seems idle. I also have a cell phone repeater in my basement that shows activity when I so much as hit the power button to unlock the phone. Feels like there's stuff going on with some of those apps that maybe excessive and, yeah, that could impact battery drain. It certainly can't be good for it.
it is indeed.
Launcher?
Changed from TW Launcher to Go at about the same time as fiddling with Google Services above.Could it be that this has also made a difference.It has been a big improvement whatever it is.
Phone:Galaxy S I9000
Modem:XXJVQ
Romarky JW1 Base
Kernel:Semaphore 2.4.0
Launcher:Go
Theme:Honeycomb

Google Play Services - High Data Usage?

Hi, recently I have observed almost 3GB of Google Play Services usage.
I am reading in many threads that this issue is caused by OTA updates constantly downloading. The only solution reported is to download some application to disable it. However, apparently this causes a wake lock? Also, this is reported in version 4.3. I am on Cataclysm ROM on 4.4, so not sure if the solution would be applicable in this case.
Any help is appreciated.
Thx!
If you're running a custom ROM, it wouldn't be OTA downloading. If you have high accuracy on for your location settings, something might be trying to access GPS and syncing data.
Sent from my Nexus 7 using xda app-developers app
I had enormous data usage with google play store and android services while i was stock, i tried to find the culprit but i couldn't so im at a custom rom until we get an update. I don't have a problem on my custom rom right now (liquidsmooth) they still don't pull back tho, always at the top of my data usage list, google needs to look into that.
So for Google Play Services I have made it only to download in the background, so connected to WIFI.
I believe that this has disabled Push notifications, as Facebook Messenger no longer alerts me to a message.
Any other input would be greatly appreciated.
Thx!

BAM_DMUX_Wakelock Issues after 5.1 OTA

I know that the battery life issue after 5.1 has been addressed in these forums, but I want to make a specific thread about this problem in particular that many other are experiencing too and it doesn't seem to be addressed in here, at least not recently (There's a thread from 2012 that doesn't give much info).
So the thing is that ever since updating to 5.1, my battery doesn't last nearly as long as it used to. I'm using a couple of apps to try to diagnose the problem and I've found a this particular wakelock: bam_dmux_wakelock is what's keeping my phone awake. I also noticed that Google Play Services is what's using more energy than it used to. This wakelock is only present when using mobile data, although when using wifi the wlan wakelock family is also present, but those wakelock are not as long as the bam_dmux_wakelock, but they do keep the phone awake for a considerable amount of time.
Booting in safe mode does not help. Restricting mobile data access to Google Play Store and Google Play Services makes no difference either. I did some Googling and learned that I can disable some Google Services that were always running: BackupTransportService (I have backup disabled), WearableService (No idea why this was running since I've never even turned on bluetooth since I updated to 5.1, let alone pair my device with any wearable device), AnalyticsService and DeviceConnectionServiceBroker.
No dice. Wakelock is still keeping the phone awake.
There' still 5 other services that I'm not sure I should disable: GMSCoreStatsService (No idea what this does), GoogleLocationService and GoogleLocationManagerService (I don't why these are running since location has been disabled for weeks), PendingIntentCallbackService (No idea what this does), ConfigFetchService (No idea) an GCM Service (I think this is important, it has to do with push notification).
If you have more info on these services, please let me know. I don't want to mess with anything I don't know. I've stopped the location services but they come right back up. No idea why.
So, summing up, this is what I know:
- The bam_dmux_wakelock is responsabile for keeping my phone awake
- It only appears when in mobile data (not in WIFI)
- Google Play Services is what's using more energy than before
- Disabling sync does not help
- I've made two factory resets (from settings and from recovery), nothing.
- Restricting mobile data access to Google Play Store and GP Services makes no difference
- Disabling running services doesn't help either.
Is anybody else experiencing this and did you find a solution? I'm getting real sick of this, and I'm considering flashing a custom ROM for the first time in my life.

How to fix Google Play Services Has Stopped ?

Hi all.
Out of the blue I got this error message every minute.
I use Unofficial Beanstalk ROM 5.0.2.
Stock kernel.
I cleared cache, and Dalvik. I also cleared cache of Google Play Services and Google Services Framework.
But this error keeps coming back.
I haven't changed anything in the phone nor have I messed with any system settings.
I can't find any decent solution to the problem.
The apk shows version 7.5.71 (1955121-438)
Appreciate your help.
gil80 said:
Hi all.
Out of the blue I got this error message every minute.
I use Unofficial Beanstalk ROM 5.0.2.
Stock kernel.
I cleared cache, and Dalvik. I also cleared cache of Google Play Services and Google Services Framework.
But this error keeps coming back.
I haven't changed anything in the phone nor have I messed with any system settings.
I can't find any decent solution to the problem.
The apk shows version 7.5.71 (1955121-438)
Appreciate your help.
Click to expand...
Click to collapse
AFAIK, there is no "decent" solution at this time.
Please change your Location setting to Device Only. It will stop the FCs for the time being.
knedge said:
AFAIK, there is no "decent" solution at this time.
Please change your Location setting to Device Only. It will stop the FCs for the time being.
Click to expand...
Click to collapse
No one knows why it happens or how to solve this? wierd.
How is this related to device location settings?
Out of nowhere I get "Google Play Services" has stopped working messages like every 20sek. Working with the phone is impossible and my Moto 360 doesn't work anymore either Using Stockrom CM12S with franco kernel, any ideas or solution?
Same problem here. This is so annoying!
Will try "device only" now. AFAIK this uses only GPS to get your current location - so this should dramaticly increase battery drain, right?
This trick didn't help
Same case. I am also getting these errors. there are solutions people have posted to disable GPS. But the phone is useless when it is without GPS.
Waiting for a fix ASAP.
For me it actually did! In another thread another solution came up: try enabling "keep awake", "wake up" and "autostart" in Privacy Guard for the Google Play Services. This also worked for me (although my Privacy Guard was not enabled for the Google Play Services the settings still did matter! So make sure to really enable them in the submenu!).
The random crashing seems to occur when:
location "high accuracy" PLUS Google Play Services are limited in Privacy Guard (keep awake, wake up, autostart)
Disabling one of the two should fix the problem.
BTW disabling GPS didn't solve the problem for me. "device only" means you only use GPS and not network location. The network location thing is what causes the crashing in combination with the Privacy Guard. So (at least for me) no need to disable GPS.
Looks good. Let me see if there is any issues now. I remember we all changed the "keep awake", "wake up" and "autostart" in Privacy Guard for the Google Play Services in an older version of Google Play Services.
Hope this is all fixed now and should not drain the battery (as it did in previous version).
How I solved the Play Services stopped FCs
Hardly this last version of Google Play Services will work properly, either clearing the data, blocking services on Privacy Guard, etc. Tested many things and the problem comes from the last update of Play Services, which includes in its changelog suspiciously some "Location Api improvements".
In my experience these last days the problem it seems to come when the services requests for location. If you use Apps asking frequently for locations you'll have the error very often, making usefulness your phone, as least mine. Using 3 Apps needing GPS location at same time is frustrating..
How I solved for now:
Go to Play Store, find Google Play Services in your Apps
Click on Uninstall (only will uninstall the last update of Google Play Services).
From that moment, some advice about certain Google Apps (Hangouts, Google Maps, etc.) may appear if you have these Apps installed. Ignore them, otherwise you'll need to update again if you want to use them, but...
But I can't find google play services in play store.
GPS vs Networ in Location fixed
gil80 said:
Hi all.
.
Out of the blue I got this error message every minute.
I use Unofficial Beanstalk ROM 5.0.2.
Stock kernel.
I cleared cache, and Dalvik. I also cleared cache of Google Play Services and Google Services Framework.
But this error keeps coming back.
I haven't changed anything in the phone nor have I messed with any system settings.
I can't find any decent solution to the problem.
The apk shows version 7.5.71 (1955121-438)
Appreciate your help.
Click to expand...
Click to collapse
Same as TerrorApple. Disable Location services, but as this is needed often enable Location services only with GPS. This worked for my device

UPDATED! FIX: Improve standby drain (exynos only?)

So I would like this tip to be there for as many people as possible and not let it get lost in some thread. Already got some great feedback from other who tried this too.
I do not have any feedback yet from snapdragon users, so results could be different there
In settings ==> apps==> show system apps.
Disable and then enable the following:
- Google Services Framework
- Google play store
- Google Play services (here, only wipe all data en cache).
After you enabled it, these services will update themselves again in a few minutes. But with one big change: a great standby battery usage!
UPDATE!
So it seems I had forgotten some other settings that I changed also, until I read someone else his post. So for here some additional steps:
- privacy -> location -> increase precision: set wifi en bluetooth off
- privacy -> location> location history: remove location history, and turn all other devices other then THIS DEVICE, to off.
After doing all steps, do a restart. Just to be sure .
Let me know if it helped you too

Categories

Resources