Hi guys, I'm currently on AOKP kitkat build for my XL. The battery drain is bad even leaving on idle. I noticed on battery usage, "Google Services" is always the top contributor in the battery drain. Clicking it showing it keeping awake the phone for hours. I didn't notice this "Google Services" on top of the battery drain chart on my Asus Transformer TF101 tablet (on KitKat) which doesn't drain its battery much on idle, so i think might not be KitKat problem.
So, is it ROM problem? I've tried liquid smooth before but drain was as bad as AOKP. Any idea to prevent Google services for keeping the awake without changing ROM?
had_hc said:
Hi guys, I'm currently on AOKP kitkat build for my XL. The battery drain is bad even leaving on idle. I noticed on battery usage, "Google Services" is always the top contributor in the battery drain. Clicking it showing it keeping awake the phone for hours. I didn't notice this "Google Services" on top of the battery drain chart on my Asus Transformer TF101 tablet (on KitKat) which doesn't drain its battery much on idle, so i think might not be KitKat problem.
So, is it ROM problem? I've tried liquid smooth before but drain was as bad as AOKP. Any idea to prevent Google services for keeping the awake without changing ROM?
Click to expand...
Click to collapse
In Liquid smooth you can prevent wake up due to google play services:
1. Goto Security->privacy guard.
2. On right top corner, click on menu and select show all apps.
3. Go to google play services .
4. goto bottom and there will be 'keep awake' permission. Deny it.
Same for google service framework.
See if issue is gone.
had_hc said:
Hi guys, I'm currently on AOKP kitkat build for my XL. The battery drain is bad even leaving on idle. I noticed on battery usage, "Google Services" is always the top contributor in the battery drain. Clicking it showing it keeping awake the phone for hours. I didn't notice this "Google Services" on top of the battery drain chart on my Asus Transformer TF101 tablet (on KitKat) which doesn't drain its battery much on idle, so i think might not be KitKat problem.
So, is it ROM problem? I've tried liquid smooth before but drain was as bad as AOKP. Any idea to prevent Google services for keeping the awake without changing ROM?
Click to expand...
Click to collapse
Battery drain is fixed in latest omnirom nighlty try it
Sent from my Xperia L using XDA Free mobile app
Related
Hi guys,
since a few weeks it's the same sh*t with every Omni-Nightly and franco.Kernel.
Everything is working fine for 1-2 day.
But then the cpu usage increases (i don't see any reason) and won't go back to idle again.
I tried several cpu monitor apps but none is showing me which app is causing this issue.
Please help.
And please don't blame facebook.
My cpu behaves the same way even no facebook app is installed.
If you need further information please tell me.
Thanks a lot for your help!
go to the main phone settings, location, now press google location reporting.. turn off location reporting and location history. your location will still work without these. no go back to the location option, and turn the mode to battery saving.
simms22 said:
go to the main phone settings, location, now press google location reporting.. turn off location reporting and location history. your location will still work without these. no go back to the location option, and turn the mode to battery saving.
Click to expand...
Click to collapse
i've got this issue since 1 or 2 weeks.
i can say for sure that it's not any location services fault.
leAndroid91 said:
i've got this issue since 1 or 2 weeks.
i can say for sure that it's not any location services fault.
Click to expand...
Click to collapse
i see google play services showed up on your battery stats. normally, you wont even see it there, but you are at 71% and so far its taking 6%. its not the location services per se, they work fine with those options disabled. but it is a well known battery drainer.
simms22 said:
i see google play services showed up on your battery stats. normally, you wont even see it there, but you are at 71% and so far its taking 6%. its not the location services per se, they work fine with those options disabled. but it is a well known battery drainer.
Click to expand...
Click to collapse
you're right that those services are draining the battery, but in an acceptable way.
when i don't have the isse with the increased cpu usage i've 4-5 hours sot @ 12 hours overall uptime.
so i guess in general everything is working fine on my device.
but i don't know what and why is causing the high cpu usage :crying:
I'm no good at understanding BBS stats, but what is daemonsu?
There seems to be something keeping your phone awake and attributing its drain to "Android OS" which could be many things, including Widgets.
Sent from my Nexus 5 using Tapatalk
I could help, but prefer gsam screenshots. Unfamiliar with BBS.
Also, for starters....and please trust me here...just turn location services completely off for one charge cycle and see what happens. Also, Google settings app....go into android device manager and uncheck both options.
See how your full charge goes like that. If its still bad...its an app doing the damage, or a very weak signal.
Try it, and it will narrow down the problem. ?
Sent from my N5, N7, Moto X, G Tab 3 or S2.....
Option 1. go back to 100% stock Rom see if it behaves the same
option 2. hard reset your phone and check battery usage with no apps installed
option 3. put your phone on airplane mode and see if battery still drains the same way using wifi. Usually if I have bad reception my battery will drain like crazy. My personal experience using my Nexus 5 I can't tell how much my battery is going to last day by day sometimes I get over 12hrs other days I'm lucky if I get 8hrs.
My phone has always been awake when screen turned off and I think the play service is causing the problem. As shown in the pics I used the app ops to disable the play services permission to keep phone awake however it doesnt seem to work. Now my battery is being drained super fast even though I have my screen turned off most of the time. Anybody can help me identify the real reason why the battery is being drained so fast and why play services are still able to keep phone awake even though its permission to do so has been disabled? Thanks.
Same problem here. *AppOps screenshot from today, other screenshot for December 31st. AppOps still had Google Play Services keep awake disabled.*
Sent from my Nexus 5 with the N5X LRX22G ROM
[Battery Life Help] Troubleshoot battery issues here!
Hello guys
I recently installed Cyanogenmod 11 on my Xperia L and I noticed that the battery drains very fast compared to stock. I searched this problem and it appears to be a deep sleep issue, but i don't really found out how to solve it. My battery stats show a great consumption on Google Play services and Display, so I guess it fits the deep sleep problem. I tried disabling some services, but i don't really know which one since i am kinda noob at this.
If anybody could provide a clear and detailed solution, that would be great. Thank you.
axross said:
Hello guys
I recently installed Cyanogenmod 11 on my Xperia L and I noticed that the battery drains very fast compared to stock. I searched this problem and it appears to be a deep sleep issue, but i don't really found out how to solve it. My battery stats show a great consumption on Google Play services and Display, so I guess it fits the deep sleep problem. I tried disabling some services, but i don't really know which one since i am kinda noob at this.
If anybody could provide a clear and detailed solution, that would be great. Thank you.
Click to expand...
Click to collapse
Use the greenify app from playstore
I don't think that would solve much. I installed better battery stats and these are the ones causing battery drain:
Awake
Wifi On
Wifi Running
No Data Connection
No or unknown signal
All these have 100% at battery consumption. Greenify only allows me to put to hibernation apps like Facebook, Messenger or so.
So... any other ideas?
axross said:
I don't think that would solve much. I installed better battery stats and these are the ones causing battery drain:
Awake
Wifi On
Wifi Running
No Data Connection
No or unknown signal
All these have 100% at battery consumption. Greenify only allows me to put to hibernation apps like Facebook, Messenger or so.
So... any other ideas?
Click to expand...
Click to collapse
Come on cm12 the battery's much better over here!
Hi,
I have a question regarding battery life of the OPO. I'm still not sure whether I have a defective battery, or some apps drains my battery like crazy (or both?). I hope you can help me with this.
In the first 2 weeks since I got it, I use my OPO for mid to heavy activities (a lot of Whatsapp, Youtube, streaming music, etc). I always start the day with 100% battery and I thought it was normal to see the battery drops to at least 20% at the end of the day. To be honest, I didn't check the battery stats in Settings even once in this time frame, and due to my heavy usage, once again I thought this was normal.
Until one night I decided to plug the charger earlier than usual, unplug it around 11pm (w/ 100% battery), then I fell asleep. I was shocked the next morning (8am) when I saw the battery has decreased to 65% with no activities whatsoever. I check the battery usage in Settings and then saw Google Play Services (GPservice) at the top of the list with 45% usage, with "keep awake" time almost identical to total time on battery. I did some research and found some advice including 1) denying GPservice abilities to "keep awake" and "wake up" via privacy guard (from this thread http://forum.xda-developers.com/oneplus-one/general/guide-google-play-services-battery-t2832525), 2) turn off location, 3) turn off sync, but none of them seems the solution to my problem. Since then, I always check the battery usage and reset it, to see if GPservice still at the top. Sadly it still there. After I reset the stats, go to sleep directly and check it about 1 hour later, GPservice uses 40% - 60% of the battery usage, draining about 6% battery / hour.
With screen on a few minutes, it easily drops to 5th or 6th place with ~7% usage, with screen and main apps I use on the 1st and 2nd place. When I googled about this using Firefox, that's when I start worrying about something else, the battery itself. With wi-fi and low brightness (less than >20% if I convert it from the slide bar), browsing with Firefox decrease the battery 1% in 2-3 minutes, no or low usage drains 1% in about 5-6 minutes. In contrast, charging increase the battery 1% in 1 minute. Is that normal? IDK, usually bad battery increasing faster when charging and decrease significantly when in use.
Please help, especially about the excessive GPservice battery usage. And if it's possible, I prefer non-root solution for it. Thanks and sorry for my bad English.
OPO - stock rom (unrooted XNPH44S)
Google Play Services 6.7.76 (reverted back to 5.0.89 factory version but things pretty much the same)
cliffflip said:
Hi,
I have a question regarding battery life of the OPO. I'm still not sure whether I have a defective battery, or some apps drains my battery like crazy (or both?). I hope you can help me with this.
In the first 2 weeks since I got it, I use my OPO for mid to heavy activities (a lot of Whatsapp, Youtube, streaming music, etc). I always start the day with 100% battery and I thought it was normal to see the battery drops to at least 20% at the end of the day. To be honest, I didn't check the battery stats in Settings even once in this time frame, and due to my heavy usage, once again I thought this was normal.
Until one night I decided to plug the charger earlier than usual, unplug it around 11pm (w/ 100% battery), then I fell asleep. I was shocked the next morning (8am) when I saw the battery has decreased to 65% with no activities whatsoever. I check the battery usage in Settings and then saw Google Play Services (GPservice) at the top of the list with 45% usage, with "keep awake" time almost identical to total time on battery. I did some research and found some advice including 1) denying GPservice abilities to "keep awake" and "wake up" via privacy guard (from this thread http://forum.xda-developers.com/oneplus-one/general/guide-google-play-services-battery-t2832525), 2) turn off location, 3) turn off sync, but none of them seems the solution to my problem. Since then, I always check the battery usage and reset it, to see if GPservice still at the top. Sadly it still there. After I reset the stats, go to sleep directly and check it about 1 hour later, GPservice uses 40% - 60% of the battery usage, draining about 6% battery / hour.
With screen on a few minutes, it easily drops to 5th or 6th place with ~7% usage, with screen and main apps I use on the 1st and 2nd place. When I googled about this using Firefox, that's when I start worrying about something else, the battery itself. With wi-fi and low brightness (less than >20% if I convert it from the slide bar), browsing with Firefox decrease the battery 1% in 2-3 minutes, no or low usage drains 1% in about 5-6 minutes. In contrast, charging increase the battery 1% in 1 minute. Is that normal? IDK, usually bad battery increasing faster when charging and decrease significantly when in use.
Please help, especially about the excessive GPservice battery usage. And if it's possible, I prefer non-root solution for it. Thanks and sorry for my bad English.
OPO - stock rom (unrooted XNPH44S)
Google Play Services 6.7.76 (reverted back to 5.0.89 factory version but things pretty much the same)
Click to expand...
Click to collapse
Definitely sounds like somethings not right, what apps do you have that access or could potentially access your location? If you're still not having any luck, as a last resort you could try a fresh install of CM11S and install your apps one by one to see if you can determine if any are responsible for sucking battery.
Give the below app a try:
https://play.google.com/store/apps/details?id=com.playfulgeeks.gservicefix&hl=en_GB
Install Gsam to see if you can gain any more insight into whats causing battery drain.
https://play.google.com/store/apps/details?id=com.gsamlabs.bbm
cliffflip said:
Hi,
Until one night I decided to plug the charger earlier than usual, unplug it around 11pm (w/ 100% battery), then I fell asleep. I was shocked the next morning (8am) when I saw the battery has decreased to 65% with no activities whatsoever. I check the battery usage in Settings and then saw Google Play Services (GPservice) at the top of the list with 45% usage, with "keep awake" time almost identical to total time on battery.
Click to expand...
Click to collapse
did you try to use this App: http://forum.xda-developers.com/showthread.php?t=1179809
there you can see which app prevents your phone from going to sleep (partial Wakelocks)
gsmyth said:
Definitely sounds like somethings not right, what apps do you have that access or could potentially access your location? If you're still not having any luck, as a last resort you could try a fresh install of CM11S and install your apps one by one to see if you can determine if any are responsible for sucking battery.
Give the below app a try:
https://play.google.com/store/apps/details?id=com.playfulgeeks.gservicefix&hl=en_GB
Install Gsam to see if you can gain any more insight into whats causing battery drain.
https://play.google.com/store/apps/details?id=com.gsamlabs.bbm
Click to expand...
Click to collapse
Maps, Google Fit, Google Now, among other things.
CMIIW but I read somewhere that GServicefix does the same like privacy guard, denying some service to keep awake, wake up, etc.
So I installed Gsam and run it about 1 hour. Interestingly in there, Kernel (Android OS) is on the top the % list with 60% usage (mostly phone in idle/sleep). When I switch sorting to Kernel Wakelocks, it shows event0-798 & event2-798 as the top 2 wakelocks with around 7000 wakelocks. I'll update in few hours, thanks.
drcyber said:
did you try to use this App: http://forum.xda-developers.com/showthread.php?t=1179809
there you can see which app prevents your phone from going to sleep (partial Wakelocks)
Click to expand...
Click to collapse
From what I read on the Play Store description, Kitkat and above requires root?
cliffflip said:
Maps, Google Fit, Google Now, among other things.
So I installed Gsam and run it about 1 hour. Interestingly in there, Kernel (Android OS) is on the top the % list with 60% usage (mostly phone in idle/sleep). When I switch sorting to Kernel Wakelocks, it shows event0-798 & event2-798 as the top 2 wakelocks with around 7000 wakelocks. I'll update in few hours, thanks.
Click to expand...
Click to collapse
Please post screenshot of gsam
Try clear cache+dalvic cache in recovery
Hi, sorry for the late reply.
It seems reboot the phone a few times solves the problem. Battery usage now seems normal when idle, even with location & sync turned on.
Hello all, I recently noticed that my OPO was not going into deep sleep. So I installed wakelock detector and to my surprise, nothing out of the ordinary was going on. I proceeded to wipe the dalvik and cache, still nothing, won't deep sleep. Last night I flashed franco kernel in the hopes that it would solve the problem, guess what, nothing, still won't deep sleep. The phone just drops to 300mhz and stays there for the minimum frequency.
I'm running liquid smooth 3.2 (4.4.4) with the recently flashed franco kernel.
Do you guys have any other suggestions on what to do?, I was just about to flash an entirely new rom and keep it barebones till the end of the week when cm 12s and oxygen os are released.
I'm experiencing exactly the same issue..
amd-dude said:
Hello all, I recently noticed that my OPO was not going into deep sleep. So I installed wakelock detector and to my surprise, nothing out of the ordinary was going on. I proceeded to wipe the dalvik and cache, still nothing, won't deep sleep. Last night I flashed franco kernel in the hopes that it would solve the problem, guess what, nothing, still won't deep sleep. The phone just drops to 300mhz and stays there for the minimum frequency.
I'm running liquid smooth 3.2 (4.4.4) with the recently flashed franco kernel.
Do you guys have any other suggestions on what to do?, I was just about to flash an entirely new rom and keep it barebones till the end of the week when cm 12s and oxygen os are released.
Click to expand...
Click to collapse
Maybe the PlayServices are the Problem somewhere here is a guid to prevent them to keep your phone awake
Actually play services did not come up in the battery stats to indicate it was indeed active. I ran through anything, there is nothing causing unnecessary wakelocks. So that's why I'm confused.
amd-dude said:
Actually play services did not come up in the battery stats to indicate it was indeed active. I ran through anything, there is nothing causing unnecessary wakelocks. So that's why I'm confused.
Click to expand...
Click to collapse
Play Services doesn't always show up as Play Services in the battery stats page in your settings menu, it quite often will show up as Android OS.
Transmitted via Bacon
timmaaa said:
Play Services doesn't always show up as Play Services in the battery stats page in your settings menu, it quite often will show up as Android OS.
Transmitted via Bacon
Click to expand...
Click to collapse
Not even that, as I said there was nothing android related nor was there any app in wakelock detector that was showing signs of a wakelock. For good measure I did follow the many guides on stopping google services etc. and none of them worked. Phone still won't go into deep sleep. Strangely enough it was wasn't affecting my battery life that much, was still getting about 6hrs on screen time with 14% battery left.
amd-dude said:
Not even that, as I said there was nothing android related nor was there any app in wakelock detector that was showing signs of a wakelock. For good measure I did follow the many guides on stopping google services etc. and none of them worked. Phone still won't go into deep sleep. Strangely enough it was wasn't affecting my battery life that much, was still getting about 6hrs on screen time with 14% battery left.
Click to expand...
Click to collapse
Sounds to me like your battery stats might just be screwy.
Transmitted via Bacon
So now I'm wondering, as well. What would an example of good/excellent deep sleep look like? % drop over time?
My battery stats show cell standby at 1%, phone idle at 1%, and over over eight hours go from 100% to about 86%. Would that drain be considered deep sleep, or good deep sleep?
I had a similar issue and able troubleshoot successfully.
Device:
- POCO F1
- MIUI 12.0.3.0, Android 10
- Magisk 21
What tried but didn't help
- There is no wake-locks active
- Tried Battery Saver and Ultra Battery Saver
- Tried Airplane mode
- Tried rebooting
- There is no significant battery drain (only 1.6% per hour)
- Tried disabling Proximity sensor
- Tried wiping dalvik-cache
I have followed the guide by Intel at https://software.intel.com/content/...-no-sleep-issues-in-android-applications.html
As I mentioned earlier, there is no active wakelock, that is why the troubleshooting was much difficult.
I have digged into `/sys/kernel/debug/wakeup_sources` and sorted processes based on the column `prevent_suspend_time`. The process `qtidataservice` was on the top. Not sure what it is, but it's probably from Qualcomm and running under the `radio` user.
The `strace` was showing nothing. I have simply killed that process. It's eventually re-created with a new PID. Interestingly the device began to go Deep-sleep while in idle.