Hello everyone!!
A couple months ago I decided to install CM11 on my phone because its performance with the stock ROM was absolute garbage. When I did, everything was exceptional until a couple weeks ago when I started having severe battery draining issues and today was just THE worst day of all.
I charged my phone overnight and I disconnected it from the charger at exactly 6am (when I woke up to go work) only to find out that at 2pm (when I finished my shift) the battery was at 0%. Since I was at work my phone usage was pretty much 0%, including only a couple of texts and that is it.
Now, some time ago I was diggin' around some forums and apparently this happened because Google Play Services were draining 60-80% of my battery overtime. A user in another forum (Calkulin, XDA Developers) posted some modded Google Play Services that would fix the issue, it worked perfectly until Google was updated again and the problem came back. That same user posted an updated version of his modded G.P.S. but unfortunately this time it didn't fix the problem.
I also found an app that would stop acquiring the wakelock causing the issue called Wakelock Terminator but it didn't work either and I am currently using it since I don't know what else to do. I'm really desperate to solve this issue because I depend on my phone to do all sorts of things.
Can I please get some help regarding this issue? This is very very urgent to me.
Best regards,
Carlos M.
First download latest cm11 KitKat gapps package and flash it. Delete your Gmail account, wipe cache and dalvik in recovery, wipe cache of Google Framework and Google Play services. Set your Gmail account, launch Play Store, minimize it by pressing home button and wait minute or two. Restart your phone.
If wakeloks persist launch privacy settings and from advanced menu of system apps disable events in those services which causing most wakeloks.
You can also disable wifi scanning from wifi advanced settings when your wireless connection is off.
____________________________________________
P3110 / I9300 / I9100 / NEXUS 5 / iPAD2
Related
Sorry, I cannot post the links since I'm such a noob, XD. In approximately 7 messages I'll edit with the full links.
------
Hi XDA! I'm the proud owner of a SGSII since Sept 2011. A problem I've had since day one is that Whatsapp, Gmail, FB, etc don't behave in a "push" manner, meaning I'll often get the notifications half an hour after they should have arrived.
Recently, I rooted and updated my phone to Samsung's ICS rom and noticed that, when I woke up in the morning, I wouldn't have any notifications until I started toying with the phone for about 5 minutes, in which moment I would be flooded by emails, FB messages, whatsapp messages, etc.
Hoping to kill this unhealthy trend I upgraded to CM9 and flashed the latest radio through recovery. My problem now is that the moment the phone switches the screen off, it seems to lose connection with google servers. (I interpret that when the WiFi and network icons are colored grey instead of blue is because they have no connection to google servers, please correct me if I'm wrong.). Of course, my original problem stands but it is now aggravated by the fact that this happens every time I turn the screen off. WiFi remains on, but without server connection, as in this screenshot: i.imgur.com/SkLrQ.png
My ICS version is 4.0.4, I'm using the 22-04 CM nightly, I usually update it once a week more or less and will do it tonight to rule this out. I guess if it were a CM problem there would be more awareness about this. More info about my phone: i.imgur.com/y6avq.png
I should note that my WiFi sleep policy is turned to never switch off WiFi. Also, I leave my phone charging every night before going to bed. WiFi is always on while discharging but I still don't get the e-mails: i.imgur.com/0W37j.png
Please XDA, is this a phone problem? a rom problem? a router problem? Your help will be very much appreciated.
Don't hesitate to ask if you need more data for diagnostics.
Ysasmendi said:
Sorry, I cannot post the links since I'm such a noob, XD. In approximately 7 messages I'll edit with the full links.
------
Hi XDA! I'm the proud owner of a SGSII since Sept 2011. A problem I've had since day one is that Whatsapp, Gmail, FB, etc don't behave in a "push" manner, meaning I'll often get the notifications half an hour after they should have arrived.
Recently, I rooted and updated my phone to Samsung's ICS rom and noticed that, when I woke up in the morning, I wouldn't have any notifications until I started toying with the phone for about 5 minutes, in which moment I would be flooded by emails, FB messages, whatsapp messages, etc.
Hoping to kill this unhealthy trend I upgraded to CM9 and flashed the latest radio through recovery. My problem now is that the moment the phone switches the screen off, it seems to lose connection with google servers. (I interpret that when the WiFi and network icons are colored grey instead of blue is because they have no connection to google servers, please correct me if I'm wrong.). Of course, my original problem stands but it is now aggravated by the fact that this happens every time I turn the screen off. WiFi remains on, but without server connection, as in this screenshot: i.imgur.com/SkLrQ.png
My ICS version is 4.0.4, I'm using the 22-04 CM nightly, I usually update it once a week more or less and will do it tonight to rule this out. I guess if it were a CM problem there would be more awareness about this. More info about my phone: i.imgur.com/y6avq.png
I should note that my WiFi sleep policy is turned to never switch off WiFi. Also, I leave my phone charging every night before going to bed. WiFi is always on while discharging but I still don't get the e-mails: i.imgur.com/0W37j.png
Please XDA, is this a phone problem? a rom problem? a router problem? Your help will be very much appreciated.
Don't hesitate to ask if you need more data for diagnostics.
Click to expand...
Click to collapse
So, what exactly is your problem?
1. Push notifications take several minutes to appear on your phone:
That's quite normal. Push does not mean that you will have no delay.
2. Google service (Gmail) does not sync onm your phone:
Have you wiped cache partition and Dalvik cache?
Have you cleared Gmail app data?
Have you done a factory reset?
Maybe you need to remove your current Google account and re-create it afterwards.
Good luck !
Thanks for answering!!
It_ler said:
So, what exactly is your problem?
1. Push notifications take several minutes to appear on your phone:
That's quite normal. Push does not mean that you will have no delay.
Click to expand...
Click to collapse
No, the problem is that every time the screen goes out while on WiFi, the phone will lose connection with the Google Servers. This doesn't delay the e-mails and messages from coming in, it directly prevents it. Messages won't come through until I've toyed with the phone for several minutes after waking it up
It_ler said:
2. Google service (Gmail) does not sync onm your phone:
Have you wiped cache partition and Dalvik cache?
Have you cleared Gmail app data?
Have you done a factory reset?
Maybe you need to remove your current Google account and re-create it afterwards.
Good luck !
Click to expand...
Click to collapse
Yes, I wiped all the caches and cleared Gmail data. Since this post, I updated to latest CM Nightly, Siyah Kernel and XXLPS radio (which I believe is the latest). Still no improvement.
Will keep trying variables and update with results. Thanks for your help.
I have a similar issue with my Android devices as well, pretty sure it's not related to the internet since I've tested 3 phones (stock nexus one, stock galaxy nexus and custom SanFran) on 3 different wifi networks and they all seem to lose google server connection every 16 minutes.
going into *#*#8255#*#* i can see heartbeat timeouts every 16 minutes whenever the phones are connected to wifi network.
the only thing i haven't tried is to sign into another google account, will try that sometime in the future but not sure if that's going to help.
shudnt be wifi problem. i am using whatsapp on 2G / 3G and having same problem as well. Only started when moved over to ICS. Did not seem to have this problem when in GB.
You sure you don't have wifi sleep modus on while screen is off?
It's in the settings somewhere.. (maybe by battery and maybe by connections/wifi?)
Google play has been second on my battery use list for the last day or two. Keep awake for the last day and five hours. This is just out of nowhere, anyone else having this issue?
I battle with that app daily. Every month my data usage from Google Play Services is over a gig, even though I have no idea what it is doing. I have it disabled, but it turns itself on and I constantly have to "force stop" the app. I suspect it is tracking everything I do and using that data for marketing reasons.
I asked a similar question months ago and received no responses. I am out of ideas on how to prevent this thing from chugging away at data usage and the battery. I guess if you want to be Android then you accept that this thing is going to suck the life out of our phones.
For me it goes away for a while and then out of the blue decides to fire up and peg the throttle at full speed. Happens on my phone and tablet. Do not want!
Late but hopefully useful?
Researched this a lot, found some solutions, bad and good fixes and after trying some different twists on it after two days this is what I found to be the best, and I decided since this is just as bad as 4.0/4.1 and the mediaserver battery drain I might as well try and help at least 1 person by mass posting this reply I wrote else where to other threads, so here you go:
"Hey- I don't know if you, or anyone else has found a working solution, but here is the way I found best:
Note- I am on galaxy s4 [sgh-i337] running a 4.4 KitKat rom. I have found the following work around to work best for me:
1 Google now & Hotword detection=OFF,
2 GPS = OFF and turned on only when needed, eg maps/checkin on facebook/whatever needs location.
3 Settings-> Manage Apps -> Google Play Services -> Manage Space -> Clear All Data.
**Optional:After this [root only] I go into KT tweaker and make sure my phone cpu is set to a max of 810 Mhz when screen off.**
This fix usually works until I reset the phone. I ALWAYS follow those 3 steps when rebooting. AND always check that after I've used GPS that Google Play Services isn't keeping my phone awake. [Eg, after 30 minutes I check if the phone ever went to sleep again when the screen was off.] IF it does act up, I repeat steps 1, 2 &3. I still get notifications and all, and this is the least feature disabling way I've found that works with the cost of a little micro-management of your phone.
With this fix I can idle for an estimated 5-6days. As I take off my phone from charge at 8am and at noon with minimal usage [maybe 4 or 5 texts] I am at 97%. With WiFi on & connected.
OTHER: I personally keep NFC&Android beam&Bluetooth OFF, and turn ON when I need it on. Other- WiFi is always ON, and "Scanning Always Available" & "WiFi Optimization" is checked ON for me. And for location mode when I do have it on, I keep it at EDIT: Device only. Using only gps to find my location.
All in all, I hope this gets fixed."
I can post screen shots and all if somebody wants them or if there is need for one
-icy
Hi,
I can’t say I’m impressed at all with the SGS2 battery life running CM11 M7 (KitKat 4.4.2). Quite often the battery won’t last through the day (luckily I can charge it at work, otherwise it wouldn’t even be bearable as a phone).
My crappy Sony Xperia J (JB) I had for a couple of weeks as a replacement could easily reach the end of the day with 70% charge still left when I plugged it in at night.
Android battery stats always show Android System and Android OS as the main offenders (around 20% - 25% each), above Screen usage, Voice calls, Mobile standby...
BetterBatteryStats tells me the phone is in the Deep Sleep most of the time, but also that it is awake (mostly at 200 MHz) quite a lot of time as well.
Here’s what I have already tried:
Disabled location services
Disabled Google Now
Disabled Google+ Auto-backup
Opt out of interest-based ads
Disabled back up data to Google servers
Disabled “Android Device Manager” as Device Administrator
Uninstalled all updates to Google Play Services
Disabled automatic updates from the Play Store
Disabled Mobile Data Limit
Disabled Automatic Date/Time updating
Uninstalled Lookout Antivirus
Uninstalled Viber
Uninstalled Skype
Rebooting the phone before connecting the charger
Rebooting the phone immediately after disconnecting the charger
I really don’t want to perform a factory reset specially since I have read some other comments by Galaxy S5 and Nexus 5 owners (KitKat 4.4.2) saying it didn’t work…
So what exactly is going on here?
Thanks!
Sorry
MegaSharkXDA said:
Hi,
I can’t say I’m impressed at all with the SGS2 battery life running CM11 M7 (KitKat 4.4.2). Quite often the battery won’t last through the day (luckily I can charge it at work, otherwise it wouldn’t even be bearable as a phone).
My crappy Sony Xperia J (JB) I had for a couple of weeks as a replacement could easily reach the end of the day with 70% charge still left when I plugged it in at night.
Android battery stats always show Android System and Android OS as the main offenders (around 20% - 25% each), above Screen usage, Voice calls, Mobile standby...
BetterBatteryStats tells me the phone is in the Deep Sleep most of the time, but also that it is awake (mostly at 200 MHz) quite a lot of time as well.
Here’s what I have already tried:
Disabled location services
Disabled Google Now
Disabled Google+ Auto-backup
Opt out of interest-based ads
Disabled back up data to Google servers
Disabled “Android Device Manager” as Device Administrator
Uninstalled all updates to Google Play Services
Disabled automatic updates from the Play Store
Disabled Mobile Data Limit
Disabled Automatic Date/Time updating
Uninstalled Lookout Antivirus
Uninstalled Viber
Uninstalled Skype
Rebooting the phone before connecting the charger
Rebooting the phone immediately after disconnecting the charger
I really don’t want to perform a factory reset specially since I have read some other comments by Galaxy S5 and Nexus 5 owners (KitKat 4.4.2) saying it didn’t work…
So what exactly is going on here?
Thanks!
Click to expand...
Click to collapse
Sorry I cannot help you, however, I am also contemplating installing cm11 on my sgs2 i9100.
I wanted to ask you if you phone came with android version 2 installed on it? (maybe in that case the problem is incapable hardware)
Mine came with 2.3.4 and i do not want to face the same problem as you are now (sorry).
Thanks
It is normal, that non-stock-based roms consume more power because Samsung haven't open-sourced all drivers. And Kitkat drains more than Jellybean. Try Slimsaber Reborn. It has a decent battery life, an very acitve developer, and is nicely customizable.
Any luck?
MegaSharkXDA said:
Hi,
I can’t say I’m impressed at all with the SGS2 battery life running CM11 M7 (KitKat 4.4.2). Quite often the battery won’t last through the day (luckily I can charge it at work, otherwise it wouldn’t even be bearable as a phone).
My crappy Sony Xperia J (JB) I had for a couple of weeks as a replacement could easily reach the end of the day with 70% charge still left when I plugged it in at night.
Android battery stats always show Android System and Android OS as the main offenders (around 20% - 25% each), above Screen usage, Voice calls, Mobile standby...
BetterBatteryStats tells me the phone is in the Deep Sleep most of the time, but also that it is awake (mostly at 200 MHz) quite a lot of time as well.
Here’s what I have already tried:
Disabled location services
Disabled Google Now
Disabled Google+ Auto-backup
Opt out of interest-based ads
Disabled back up data to Google servers
Disabled “Android Device Manager” as Device Administrator
Uninstalled all updates to Google Play Services
Disabled automatic updates from the Play Store
Disabled Mobile Data Limit
Disabled Automatic Date/Time updating
Uninstalled Lookout Antivirus
Uninstalled Viber
Uninstalled Skype
Rebooting the phone before connecting the charger
Rebooting the phone immediately after disconnecting the charger
I really don’t want to perform a factory reset specially since I have read some other comments by Galaxy S5 and Nexus 5 owners (KitKat 4.4.2) saying it didn’t work…
So what exactly is going on here?
Thanks!
Click to expand...
Click to collapse
Hi MegaShark!
I have almost the same issue you have, my device never go to deep sleep... (by "never" I mean 1 minute deep sleep and 1 hour 200MHz)
After months trying, getting help from Better Battery Status thread, flashing, freezing, going crazy, I commited suicide (flashed stock ROM), but it is driving me mad.
The last try I did was with SlimSaber Reborn (Android 4.3.1), but no luck also.
Installed "Unbounce", prevented nlp wakelock, prevented safe alarms and nothing, it only gets worse...
All I get is my device always warm (always running at minimum of 200MHz) and more than 10% battery drain per hour.
Have you found out what is the problem with our S2 on custom ROMs?
Thank you!
First of all, I would advise you to update your rom. CM11 M7 is old now and is filled with bugs (along with versions around that). Update to CM11 M11 Snapshot which will most likely fix many of the problems you are facing but you will need to do a full wipe (factory reset, wipe dalvik and cache partitions). So sorry, the only way to fix is to wipe your data and update.
Will try!
gsstudios said:
First of all, I would advise you to update your rom. CM11 M7 is old now and is filled with bugs (along with versions around that). Update to CM11 M11 Snapshot which will most likely fix many of the problems you are facing but you will need to do a full wipe (factory reset, wipe dalvik and cache partitions). So sorry, the only way to fix is to wipe your data and update.
Click to expand...
Click to collapse
I remember to have hope until CM11 M9... But I'll give M11 a try and report back here!
Drain NOT related to any of the CM version
I have been facing battery draining problem in my sgs2 (i9100) just after installing CM 11.
Then I tried NeatROM without any Luck!
Every time i cleaned data, cache and dalvik to be sure...
at the end I moved back to Stock ROM - everything fine there...
but again then I decided to have just root and custom recovery installed... which required me to Flash Jeboo Kernel v1.2a (which comes with CWM based recovery 6.0.2.7 preloaded)
then it started same problems again... overheating - battery draining ...
It clearly look like ... the battery draining/overheating problem is because of .... Kernel AND/OR CWM 6.XXX
I think, if one want to install CM 11 in sgs2, after installing ROM, he/she need to flash it with some other kernel.
If anybody have tried some other kernel, which doesn't cause battery draining/overheating problem, then pls post here so that other can also try...
Confused
pankhawala said:
I have been facing battery draining problem in my sgs2 (i9100) just after installing CM 11.
Then I tried NeatROM without any Luck!
Every time i cleaned data, cache and dalvik to be sure...
at the end I moved back to Stock ROM - everything fine there...
but again then I decided to have just root and custom recovery installed... which required me to Flash Jeboo Kernel v1.2a (which comes with CWM based recovery 6.0.2.7 preloaded)
then it started same problems again... overheating - battery draining ...
It clearly look like ... the battery draining/overheating problem is because of .... Kernel AND/OR CWM 6.XXX
I think, if one want to install CM 11 in sgs2, after installing ROM, he/she need to flash it with some other kernel.
If anybody have tried some other kernel, which doesn't cause battery draining/overheating problem, then pls post here so that other can also try...
Click to expand...
Click to collapse
pankhawala, I installed the last available SlimSaber Reborn (4.3) (here: http://forum.xda-developers.com/gal...rivatives/rom-slimsaber-reborn-i9100-t2811657) because o lots of positive feedback on this ROM.
It is really a very nice ROM, but my battery drain problem persisted, I was losing more than 10%/hour in idle.
I just tried to "live with it" and after some weeks it mysteriously gone away.
I was happy for a few days and it went back again.
Now, it has been since this Sunday that it is gone again.
I'm being able to have a very acceptable battery life, very good deep sleep times and less than 4%/h when idle (screen off).
I didn't changed anything and it just got better by itself.
I'm sure it will start to drain again, just don't know when or what is triggering it.
My last hope is that when new Lollipop ROMs start coming out for our S2, some holy developer figure out this problem or that the problem is simply gone.
Ok, this has gone past creepy
I got myself I9300, did all the necessary:
Root, ODIN > Philz, wipe, install rom
I installed PA for i9300, which was nice but battery drain was immediate problem so I just thought it was a bad/unfinished ROM. I then installed Resurrection remix which seemed like really neat and complete ROM only to experience the SAME problem - standby battery drain.
I then started searching for the problem cause. BetterBatteryStats says:
partial wakelocks -
SystemUpdateService on par with Awake. it is ALWAYS on
googled it, here is the problem:
People reporting it on 4.3, making constant wakelock, disallowing the phone to go in deep sleep once it is locked. And it was actually fixed in 4.4 CM and CM based roms (resurrection is one of them) but mine is running still.
I then started searching for the solutions, even though my OS version shouldnt do that. One of them says -
You should disable the service via apps "service diasble" or "Autorun Manager" from Play store in order to stop it. So I download both and the service is actually unticked. Shouldnt run at all. but it is still there destroying my battery. Next thing I found on CM forums says:
"wakelock is disabled by devs so that users wont experience constant OTA updates, and while it is disabled, it still runs (nice logic over here) and enabling it stops the wakelocks"
I then tick it to "enable" via those mentioned apps, but the wakelocks are STILL there, phone wont go to Deep Sleep
Extremely annoyed, I went to Settings>Apps>All and disabled the whole "Google services framework" which containts "SystemUpdateService" and there you go -
it still runs, wakelock on par with awake time ....
Is this God-mode service, is this some magic ? What the F is going on, and why do I even experience this when the problem was solved in 4.4 .. ? Please help me.
Good Day all ,
for those 2 problems the solution is very easy ,
1-for the google play services , if you find it on top of the consumption list , just enter settings - apps - choose google play services - clear cash then storage & manage data and clear all cash & data , it will be fixed nearly 99% of the time,
for general exynos bad consumption the real solution to this is to enter settings - general - reset - then reset settings & accessibility & network then factory reset , and DO NOT restore APPS and SETTINGS again plz plz ,
just restore your Messages if needed & restore you contacts from imported file to SD card for example or from google account , but don't restore any apps or app settings & download them again as new phone from the play store & samsung store
you will find all problems with battery is solved & no heating up etc.. and no complains that the exynos is not as good as SD855
How big difference did you notice?
hm..maybe... but there's clearly something wrong with how the exynos is interacting with the software right now. Because SD855 users are having now issues no matter how they set up their phone
cheese458 said:
hm..maybe... but there's clearly something wrong with how the exynos is interacting with the software right now. Because SD855 users are having now issues no matter how they set up their phone
Click to expand...
Click to collapse
I reset my phone yesterday and despite heavy use and being 15 hours off the charger, I have almost 7 hours of SoT on my 855. That involves a lot of app downloading, creating caches for apps I use, clearing some to re-set some things that I changed, and 5 or 6 reboots.
My S10e is getting so much out of my little battery.
Roobwz said:
How big difference did you notice?
Click to expand...
Click to collapse
the phone now goes to deep sleep properly as per CPU SPY , whenever i leave my phone for a while it enters deep sleep even if sync & location is on etc..
also the overnight drain on airplane mode goes down from about 6 or 7% in every 7Hours sleep to 1 or 2% max in the 7H sleep.
No DEEP SLEEP - EXYNOS
I did a full reset and after that no DEEP SLEEP neither... I'm trying to figure out why is happening
Just a heads up to everyone if you have high google play services usage it is most likely due to a rougue 3rd party app. In my case it was a battery monitoring app causing the abnormal usage and battery drain. It was causing google play services to always be active, after uninstalling the app the battery drain and always active usage of google play services is gone.
In my case I found what is causing the issue, after I did a video conference with Whatsapp or Google Duo, it never enters in deep sleep again, I should reboot my phone to make DP working again... very nasty bug