Android OS stay awake time very long - Nexus 4 Q&A, Help & Troubleshooting

My Android OS is showing a stay always time of over 17 hours (out of a 20 hour run time where my battery is completely depleted). Is there anyway I can find out what cause it?
I am already on 4.2.2

elty123 said:
My Android OS is showing a stay always time of over 17 hours (out of a 20 hour run time where my battery is completely depleted). Is there anyway I can find out what cause it?
I am already on 4.2.2
Click to expand...
Click to collapse
Android os = apps . Facebook maybe ?

You're experiencing wakelocks. Might wanna do some research on the forum so that you can post logs for people to analyze what's really eating your battery.

Sfkn2 said:
You're experiencing wakelocks. Might wanna do some research on the forum so that you can post logs for people to analyze what's really eating your battery.
Click to expand...
Click to collapse
THIS. I was having problems with wakelocks and traced them back to these few things below which got my battery life to greatly increase once disabled.
1) using dashclock extensions like FB and gmail
2) leaving google sync on in settings for the various google services
3) corporate email exchange servers
4) setting a long time variable for the phone to lock after the screen turns off (i did this to prevent putting in a pin to unlock but it kept the phone awake after the screen turned off)
5) live wall papers
There is also a known issue in the stock kernel that causes the phone to stay awake when it is supposed to go into sleep mode during extended periods of inactivity. This can be solved by using a custom kernel just as Franco r90 which has implemented patches in order to allow the phone to go into sleep to preserve battery. It is expected to be fixed in the next official OTA from google although this was also expected to be in 4.2.2 and was not fixed fully.

Same issue here. 4.2.2 stock kernel+rom, rooted
BBS shows "suspend_backoff" is at 45% no idea what's causing that.
Disabled pretty much all of the sync services but no improvement.
Interestingly right after the 4.2.2 update, the battery life was good.

Download this app and it will keep your applications from running in the background.
https://play.google.com/store/apps/...GwsMSwxLDMsImNvbS5vYXNpc2ZlbmcuZ3JlZW5pZnkiXQ..
Here's the forum for the application.
http://forum.xda-developers.com/showthread.php?t=2155737

scream4cheese said:
Download this app and it will keep your applications from running in the background.
https://play.google.com/store/apps/...GwsMSwxLDMsImNvbS5vYXNpc2ZlbmcuZ3JlZW5pZnkiXQ..
Here's the forum for the application.
http://forum.xda-developers.com/showthread.php?t=2155737
Click to expand...
Click to collapse
So far so good! totally eliminated the suspend_backoff wakeup

akiv said:
So far so good! totally eliminated the suspend_backoff wakeup
Click to expand...
Click to collapse
Update: Worked for a day now suspend_backoff is back. Happened after a recharge.
Could it be that afther the phone is charged something gets changed.
Edit: Runnig franco r90 kernel

I'm having the same problem with the Android OS draining lots of battery. When I reboot it sometimes helps but not consistently unfortunately.

Jester23 said:
I'm having the same problem with the Android OS draining lots of battery. When I reboot it sometimes helps but not consistently unfortunately.
Click to expand...
Click to collapse
I have narrowed my problem down to places where I use wifi transmitted by a lot of routers (Office wifi)

akiv said:
I have narrowed my problem down to places where I use wifi transmitted by a lot of routers (Office wifi)
Click to expand...
Click to collapse
I turn off my wifi when not home so I don't think that's the issue here.. I've tried removing a few apps like dash clock and my live wallpaper to see if it helps my issue. Will report back.
Sent from my Nexus 4 using Tapatalk 2

Google play services has something to do with the high usage. Yesterday I was near 20% usage today I disabled it and android os is at 7%. It only affects YouTube app for me, but the browser version is fine. I haven't seen any adverse affects other than maybe losing updates to the play store and ota updates which I don't care about because that's what xda and Roms are for. Now it may be placebo, but it also seems like the ui is smoother. Battery has improved greatly with sot of 3 hours with 57% left.

Hi,
how do you disable Google play services?

Try using the app greenify if your rooted.. It's been helping my battery life. Use it on maps and that will help. If maps is set as a system app, move it or just install banks minimal gapps so you can download from play store.
Sent from my Nexus 4 using xda app-developers app

Related

CM7.0.3.1 Wakelock?

Hi All,
Running CM7.0.3.1 with Savaged-Zen 2.1.0 BFS kernel. Also using v1 of viperboy's undervolting at -100. There was a time I had stellar battery life (back on an early CM7 nightly and a way earlier version of SZ kernel), but for the life of me I cannot get back to that point. I've been checking spare parts and it is showing k9 and palmary weather with some partial wakelock but it doesn't look too severe from what I can tell, or maybe I'm reading it wrong.
Anyway, here's a view of my battery history. Does all that awake time seem odd? I'm kind of at a loss here for what is going on and how to fix it.
Thanks!
cody_dingo said:
Hi All,
Running CM7.0.3.1 with Savaged-Zen 2.1.0 BFS kernel. Also using v1 of viperboy's undervolting at -100. There was a time I had stellar battery life (back on an early CM7 nightly and a way earlier version of SZ kernel), but for the life of me I cannot get back to that point. I've been checking spare parts and it is showing k9 and palmary weather with some partial wakelock but it doesn't look too severe from what I can tell, or maybe I'm reading it wrong.
Anyway, here's a view of my battery history. Does all that awake time seem odd? I'm kind of at a loss here for what is going on and how to fix it.
Thanks!
Click to expand...
Click to collapse
this question should be address in the cyanogen sub-forum. there are literally people there with the same setup as you that can better help you.
I wasn't aware there was a sub-forum dedicated to CM ?
There is a CyanogenMod forum thread in the development forum and one for the nightlys in the general forum.
Sent from my PC36100 using XDA App
Rem3Dy said:
There is a CyanogenMod forum thread in the development forum and one for the nightlys in the general forum.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Right, I just didn't know that there was an actual subforum. I did know there were threads.
Thanks!!
That doesn't look like a wake lock to me. Your history shows your phone being asleep most of the time. I would guess that that is an app or apps that are using too much data or cpu time. Use spare parts to check app usage, partial wake lock, ect. Make sure you don't have facebook, twitter, ect set to update every 5 mins.
nukedukem said:
That doesn't look like a wake lock to me. Your history shows your phone being asleep most of the time. I would guess that that is an app or apps that are using too much data or cpu time. Use spare parts to check app usage, partial wake lock, ect. Make sure you don't have facebook, twitter, ect set to update every 5 mins.
Click to expand...
Click to collapse
What criteria have to be met for the phone to actually sleep? Does it sleep immediately when the screen is off? The only apps that auto update are palmary weather (2 hours) and k9 email which gets imap push.
The way I understand it, an app can request a wake lock which prevents the phone from sleeping. This can be normal for certain functions, however sometimes the app won't release the wake lock and that's when the battery drains constantly even with the screen off. Spare parts will tell you everything you need to know to find the battery drain.
nukedukem said:
The way I understand it, an app can request a wake lock which prevents the phone from sleeping. This can be normal for certain functions, however sometimes the app won't release the wake lock and that's when the battery drains constantly even with the screen off. Spare parts will tell you everything you need to know to find the battery drain.
Click to expand...
Click to collapse
Thank you, that is very helpful. Here's where I am now:
On battery 2h16m and I'm at 91%.
On spare parts under partial wake usage:
Android System - 38m23s
k-9 mail - 10m1s
Those are the two highest. The other entries are negligible.
CPU Usage:
k-9 - user time - 24s
Everything else is way under 24s
So you think K-9 is a big contender here? How about whatever android system has going on?
How much of that 2 hours have you had the screen on and doing stuff? Android system has been on for almost half of the time since you unplugged. That sounds high. I would do a full wipe and reflash the ROM or try a CFS build of savagezen. A reboot usually stops the battery drain if you catch it.
nukedukem said:
How much of that 2 hours have you had the screen on and doing stuff? Android system has been on for almost half of the time since you unplugged. That sounds high. I would do a full wipe and reflash the ROM or try a CFS build of savagezen. A reboot usually stops the battery drain if you catch it.
Click to expand...
Click to collapse
Hardly any. Been just letting it sit with the screen off, letting it discharge.
Thank you again for your help!
Yeah you've a problem with android service. I would first try another kernel maybe CFS this time. If that doesn't help I would completely wipe everything and flash again. If you use titanium to restore your apps, only restore the purchased apps, not the system apps and data.
nukedukem said:
That doesn't look like a wake lock to me. Your history shows your phone being asleep most of the time. I would guess that that is an app or apps that are using too much data or cpu time. Use spare parts to check app usage, partial wake lock, ect. Make sure you don't have facebook, twitter, ect set to update every 5 mins.
Click to expand...
Click to collapse
nukedukem said:
Yeah you've a problem with android service. I would first try another kernel maybe CFS this time. If that doesn't help I would completely wipe everything and flash again. If you use titanium to restore your apps, only restore the purchased apps, not the system apps and data.
Click to expand...
Click to collapse
Woke up today with about the same rate of battery drain. This time, it didn't look like an android system problem at all, so know knows?! So frustrating.
I still may do a complete wipe though.
You're not alone..My battery sucks and I even bought 2 new batterys and its all the same..I just carry an extra around with me..I got tired of monitoring everything.

"sns_periodic_wakelock" killing battery

Hey,
I'm running stock nexus 4. I have been having terrible 8 hour battery life with "Android OS" taking up all the battery in battery status. BetterBatteryStats tells me that "sns_perioidic_wakelock" and "sns_async_ev_wakelock" is using up most of the battery. See attached. Any idea what apps are causing this?
http://i.imgur.com/t1gAr.png
thegreyspot said:
Hey,
I'm running stock nexus 4. I have been having terrible 8 hour battery life with "Android OS" taking up all the battery in battery status. BetterBatteryStats tells me that "sns_perioidic_wakelock" and "sns_async_ev_wakelock" is using up most of the battery. See attached. Any idea what apps are causing this?
Click to expand...
Click to collapse
I'm pretty sure I've seen those wakelocks when making a lot of phone calls. Seems likely related to cell radio use some how, but that's just a guess.
mattb3 said:
I'm pretty sure I've seen those wakelocks when making a lot of phone calls. Seems likely related to cell radio use some how, but that's just a guess.
Click to expand...
Click to collapse
Actually the crazy thing is that i have airplane mode with wifi on most of the day cause I have really bad service. And I only have 100 minutes of talk, so I never talk on the phone.
thegreyspot said:
Actually the crazy thing is that i have airplane mode with wifi on most of the day cause I have really bad service. And I only have 100 minutes of talk, so I never talk on the phone.
Click to expand...
Click to collapse
Just checked mine and those wakelocks are really low today despite several phone calls, I've been on wifi all day though. The right way to figure those wakelocks out is to download the kernel source from one of the devs github and do some searches through the source to see where those wakelocks are logged. You might also search the battery impression thread in general, some smart folks have dissected many kernel wakelocks in there. Seems weird that you would have them in airplane mode.
thegreyspot said:
Actually the crazy thing is that i have airplane mode with wifi on most of the day cause I have really bad service. And I only have 100 minutes of talk, so I never talk on the phone.
Click to expand...
Click to collapse
I have the exact same issue. Wakelocks/Android OS killing my battery (Android OS usually 45% or higher when it should be my screen that is the biggest battery sucker).
I barely use my phone to make phone calls as well. I'd say 1 call every 2 or 3 days.
Same exact wakelocks here. I made 0 phone calls. There is defiantly something up.
I had these two wakelocks too and it turned out to be my live wallpaper that was causing it
http://forum.xda-developers.com/showpost.php?p=35277041&postcount=20
Same wakelocks on my N4....
Solution in my case, delete widget locker....... My Nexy sleeps again:angel:
exact same situation: N4, sns wakelocks killing battery, phone not deep sleeping. culprit? Shake 'n Rotate! app. so add that one to the blacklist as well!
Are any of you running stock kernel and ROM?
Sent from my Nexus 7 using Tapatalk 2
Im Running stock kernal and Rom and i still get sns_periodic_wakelock and sns_async_ev_wakelock Does anyone have any idea what they are or what causes them or how to fix? They seem to be on the whole time my phone is on and they suck battery crazy not as bad as most but my android os is always 2nd battery use to my screen or more depending on how i use it and it sucks cause i know i would have pretty awesome battery life if these were fixed or gone. I appreciate any help!
Apparently you can also add: lightflow vibrate on pickup feature and adding a widget to the lock screen..
PowerManagerService and sns periodic wakelock are my main culprits but I'm not sure these numbers mean there's an issue or not...
I just checked BBS for todays use and I have on 9h use 4h on sns_periodic_wakelock. I have been using DashClock on my lockscreen. I will remove that and post back later to see if that helped.:cyclops:
Hmm can anyone say if this looks problematic?
Sent from my Nexus 4 using xda premium
Yes it does look problematic.
Basically sns_periodic_wakelock kept the device from sleeping for almost three hours.
I have the same issue and don't know what's causing it.
EDIT: Apparently live wallpapers do.
Just writing back to tell you guys how it went. I removed DashClock from my lockscreen and that wakelock seemed to be gone for a few days.
I then later updated the app, and just by updating it, I think it caused the wakelock. This time I'm uninstalling and checking if it comes back again.
Is there a known list of apps suspected of causing this?
dohkoxar said:
Just writing back to tell you guys how it went. I removed DashClock from my lockscreen and that wakelock seemed to be gone for a few days.
I then later updated the app, and just by updating it, I think it caused the wakelock. This time I'm uninstalling and checking if it comes back again.
Click to expand...
Click to collapse
I've had dashclock for the past two days.. Not seeing any wake locks. I have all the extensions from the app enabled.
Sns is related to facebook. If you use Titanium backup, go to apps and you can see a blue icon with a letter f on it that looks like facebook letter and labelled sns. Uninstall that and your lovely nexus 4 will enjoy its sleeeeep....

[Q] sns_async_ev and sns_periodic wakelock?

Edit: The 4.2.2 update seems like it fixed this wakelock from taking over. That's just my personal experience so let me know if yours is different from mine after the update.
I've searched and tried to find a solution to my problem, but I can't find anything. My main kernel wakelocks are sns_async_ev_wakelock and sns_periodic_wakelock and the time they both register is massive. This has been happening for at least a week, or at pretty much the entire time I started monitoring my wakelocks. Does anyone have any idea what these might be attached to? I originally thought they were pertaining to social networking services, so I promptly deleted the Facebook app and for a day it seemed to fix it. But then the wakelocks came back and were even worse.
Have others come across this problem and does anyone know what might be causing it? They've been preventing my phone from going into deep sleep and I would really like to reduce or get rid of them.
Updated info: I have determined that the game Asphalt 7 is at least one app responsible for massive sns wakelocks. As long as the game remains as a "recent app" it will continue to wake the phone up. Angry birds is another game possibly responsible for the wakelock as well as reddit sync. Anyone else that uses these apps regularly us encouraged to report back your findings. Using the phone prompts sns wakelocks, but the amount of time the phone contributes is identical to your talk time, so your phone is triggering a fake wakelock since the device isn't supposed to be in deep sleep while you're on the phone anyways. Right now the only fix I know of for the listed apps is to manually clear them from "recent apps".
Please include the rom and kernel you're using. So far it seems like a new kernel doesn't actually fix the problem when you're on the stock rom. So anyone on CM or PA, do you have this wakelock after having a game like asphalt 7 or angry birds sit in recent apps?
Have you tried a custom kernel like Franco's ? Might be the Qualcomm fixes.
madd0g said:
Have you tried a custom kernel like Franco's ? Might be the Qualcomm fixes.
Click to expand...
Click to collapse
Well I'm getting this on Franco's. I think it has something to do with the phone. [ I mean talking/calling on phone]
@OP,
Do you get this only when you call someone or get a call. In bbs, try a custom ref. setting and monitor for 1 hour where you were not getting/calling anyone and see if it is going down drastically. Also is the msm_hsic wakelock present for you a lot? [The custom kernels like franco, faux and others have fix for this, taken from patch commits done by qualcomm]
What were you doing with your phone in that time, were you making calls, texting, etc?
Sent from my Nexus 4 using xda premium
madd0g said:
Have you tried a custom kernel like Franco's ? Might be the Qualcomm fixes.
Click to expand...
Click to collapse
Currently full stock. And it looks like it's still present even with Franco's kernel
Hrithan2020 said:
Well I'm getting this on Franco's. I think it has something to do with the phone. [ I mean talking/calling on phone]
@OP,
Do you get this only when you call someone or get a call. In bbs, try a custom ref. setting and monitor for 1 hour where you were not getting/calling anyone and see if it is going down drastically. Also is the msm_hsic wakelock present for you a lot? [The custom kernels like franco, faux and others have fix for this, taken from patch commits done by qualcomm]
Click to expand...
Click to collapse
I talk on the phone for maybe an hour every day, so I would be surprised if it was associated with the phone since the wakelock time has been increasing this whole week while my phone time is relatively constant. Although I'm just taking the phone off the charger now and won't use it for calls for the next 2 hours, so I'll report back with what kind of wakelocks I'm getting as well was the apps I've used. As for msm_hsic_host wakelock, it is present but not as prevalent as the sns wakelocks. As you can see from the first picture I'm only getting about 20 minutes for that wakelock compared to the 4 hours of the others. If I remember correctly I ended the day with almost 5 hours for both sns and then an hour and a half for msm_hsic. So sns slowed down a bit and msm_hsic ramped up, but it didn't come close to overtaking sns
steviewevie said:
What were you doing with your phone in that time, were you making calls, texting, etc?
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I was using it pretty normally. Had around an hour of talk time (cumulative over the day), texting throughout the day, streaming pandora for a little, checking emails, playing a game for a bit, and on sites like xda, reddit (through apps), and facebook (through chrome).
So far I haven't had any sns wakelocks today (well, nothing compared to what I recently had). The hisc wakelock is dominating now which seems more "normal". I only talked on the phone for a grand total of 3 minutes today so maybe that has something to do with sns. Currently charging it so I'll start getting new stats (the ones I'm posting now were taken a few hours ago), but this time I'll try to use the phone more as well as keep everything else the same. My use today has been streaming pandora, checking emails, reddit, xda, facebook, but no games (maybe that also comes into play). I'll keep updating
I'm getting massive sns kernel wakelocks too. No phone calls.
Xylon + Franco r30
Sent from my Nexus 4 using Tapatalk 2
edgeball said:
I'm getting massive sns kernel wakelocks too. No phone calls.
Xylon + Franco r30
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Hmm, yesterday I started getting sns wakelocks after I was on the phone for a while, so that might be part of it. Of course there might have been another reason behind it if you get a lot of wakelocks without the phone. Forgot to get a screenshot
This is the first day since I've been monitoring that this wakelock just went berserk. I made zero calls today. Then, I went back in time to determine what I was doing when it started. At that time, I was using Reddit Sync. Before doing anything, I locked the screen, and a few minutes later checked BBS and determined that the wakelock was still active after locking the screen. Then, I closed Reddit Sync and locked the screen. After a few minutes, I unlocked the screen and checked BBS. Sure enough, the wakelock times had frozen. So, by simply closing Reddit Sync, this wakelock has stopped, at least for now. After restarting this app, locking the screen and unlocking after a few minutes, I notice that the wakelocks were not re-activated. Well, that's my story. Do any of you use this app too?
floepie said:
This is the first day since I've been monitoring that this wakelock just went berserk. I made zero calls today. Then, I went back in time to determine what I was doing when it started. At that time, I was using Reddit Sync. Before doing anything, I locked the screen, and a few minutes later checked BBS and determined that the wakelock was still active after locking the screen. Then, I closed Reddit Sync and locked the screen. After a few minutes, I unlocked the screen and checked BBS. Sure enough, the wakelock times had frozen. So, by simply closing Reddit Sync, this wakelock has stopped, at least for now. After restarting this app, locking the screen and unlocking after a few minutes, I notice that the wakelocks were not re-activated. Well, that's my story. Do any of you use this app too?
Click to expand...
Click to collapse
No, I never used Reddit sync. However, it could be related to a general sync problem
Sent from my Nexus 4 using Tapatalk 2
edgeball said:
No, I never used Reddit sync. However, it could be related to a general sync problem
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Ha. It's not a sync program whatsoever, not in the sense that it syncs anything to the contents of your phone. It does sync in the sense that it keeps track of your "read" articles.
floepie said:
This is the first day since I've been monitoring that this wakelock just went berserk. I made zero calls today. Then, I went back in time to determine what I was doing when it started. At that time, I was using Reddit Sync. Before doing anything, I locked the screen, and a few minutes later checked BBS and determined that the wakelock was still active after locking the screen. Then, I closed Reddit Sync and locked the screen. After a few minutes, I unlocked the screen and checked BBS. Sure enough, the wakelock times had frozen. So, by simply closing Reddit Sync, this wakelock has stopped, at least for now. After restarting this app, locking the screen and unlocking after a few minutes, I notice that the wakelocks were not re-activated. Well, that's my story. Do any of you use this app too?
Click to expand...
Click to collapse
I only use Reddit News. My sns wakelocks for today match the time I was on the phone, almost identically. This has been the case for today and yesterday which leads me to believe that the phone calls are NOT responsible for this runaway wakelock (as others have been saying). I didn't use my Nexus 4 very much this weekend, and the two major functions I used it for were phone calls and checking email sporadically. Others seem to report substantial wakelocks even without calls, so this has to be attributed to some app or setting that we're missing. Although I'm more inclined to think it's a problem with an app (or apps) because limited use seems to result in limited wakelocks, and if it was a system setting then it would be fairly constant. Has anyone gotten low sns wakelocks after not using their phone much in a day (like not using very many apps)? And thanks for the input so far
Async could stand for asynchronous, the CPU functions asynchronously but, I have no clue whether that wake lock is really cpu related.
Sent from my Nexus 4 using xda app-developers app
Ace42 said:
Async could stand for asynchronous, the CPU functions asynchronously but, I have no clue whether that wake lock is really cpu related.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I think it might be but I'm not completely sure.I found out last night that the game Asphalt 7 was responsible for a couple hours of wakelocks. However, in the system battery stats it registered as 0s for keeping the phone awake while android os registered the 2 hour jump I saw after playing the game. I played for a few minutes and jumped back to the home screen and didn't touch the game for those 2 hours. I'm not sure why, but having the game in my recent apps triggered those wakelocks, and the second I swiped it out of recent apps the wakelocks stopped. Either the app is bad or maybe the system isn't handling it correctly. I'll be trying other apps to see what the results are.
Sent from my Nexus 4 using xda app-developers app
I use redditsync and also had a 7hour snsw wake lock overnight... Gonna keep an eye on it and hope it was a one off (or an update gets pushed out)
cyberkid2002 said:
I use redditsync and also had a 7hour snsw wake lock overnight... Gonna keep an eye on it and hope it was a one off (or an update gets pushed out)
Click to expand...
Click to collapse
Alright, so that's two people getting wakelocks from redditsync. What happens when you clear redditsync from your recent apps? Does the wakelock continue or does it stop? This definitely sounds like the system isn't handling some of the open/recent apps correctly. No idea what links these apps together though
I am using Franco 62 with stock ROM and it turns out that Angry Birds Seasons can cause these wakelocks as well. Glad I'm not the only one with this issue.
I have never had these wakelocks previously (only the famous msm_hsic_wakelock). Yesterday after I installed a couple of apps (most are just theme-ing apps with no sync) and flashed custom kernel (Franco.r53); and ever since then these two wakelocks are continously appearing in my BBS stats, almost preventing my phone from entering deep sleep AT ALL. So I thought it was the kernel's problem; flashed back stock kernel and the problem still persists.
It's really weird as I previously NEVER had these two wakelocks.
By the way, I'm on stock ROM (rooted, unlocked)
chy1991 said:
I have never had these wakelocks previously (only the famous msm_hsic_wakelock). Yesterday after I installed a couple of apps (most are just theme-ing apps with no sync) and flashed custom kernel (Franco.r53); and ever since then these two wakelocks are continously appearing in my BBS stats, almost preventing my phone from entering deep sleep AT ALL. So I thought it was the kernel's problem; flashed back stock kernel and the problem still persists.
It's really weird as I previously NEVER had these two wakelocks.
Click to expand...
Click to collapse
Thanks for the update. But, it begs the question as to whether you uninstalled the new apps one by one to hone in on a possible culprit?
floepie said:
Thanks for the update. But, it begs the question as to whether you uninstalled the new apps one by one to hone in on a possible culprit?
Click to expand...
Click to collapse
I'm suspecting something else, will update if it's solved.
UPDATE:
This is really weird, I have uninstalled what I installed yesterday and the problem persists, so I decided to try something else (as it was the another differences factor compared to pre-problem).
My WiFi was disconnected in middle of the night and I thought it could be causing it.
I turned my WiFi off, turn it back on and the problem is gone. This is really weird, as I have rebooted many times prior to trying this solution (and even flashed back to Stock Kernel).
Really random or just plain unlucky? I have even reinstalled the apps that I thought are causing the problem, but still fine so far. Gotta leave it overnight again to judge.

Battery issue. Is this normal?

Android system has been using a lot of battery since I turned off wifi. Is this normal?
I337 mf3 running GE 4.2.2 rom with safestrap
Sent from my SGH-I337 using xda app-developers app
deadenz said:
Android system has been using a lot of battery since I turned off wifi. Is this normal?
I337 mf3 running GE 4.2.2 rom with safestrap
Sent from my SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
Google “android system battery drain" it comes up with a lot of things. Download BetterBatteryStats click on other than click on partial wakelocks. Its some of your wakelocks that's causing the android system to drain the battery. With BetterBatteryStats it tells you which of those wakelocks is causing it and you can disable them.
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
[email protected] said:
Google “android system battery drain" it comes up with a lot of things. Download BetterBatteryStats click on other than click on partial wakelocks. Its some of your wakelocks that's causing the android system to drain the battery. With BetterBatteryStats it tells you which of those wakelocks is causing it and you can disable them.
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
finding alot of "answers" but none of which I think are the problem. I've attached a couple screenshots to show what is causing the wakelocks, not real sure what they are tho. this battery drain only happens when I leave wifi off, if wifi is on everything is perfect.
How strong is your phone's signal? If it does a lot of searching it'll use a lot of battery. With Wi-Fi off your apps will still try to connect to the internet. Face book I'd your biggest wake lock. Do you really need that to be trying to sync?
jd1639 said:
How strong is your phone's signal? If it does a lot of searching it'll use a lot of battery. With Wi-Fi off your apps will still try to connect to the internet. Face book I'd your biggest wake lock. Do you really need that to be trying to sync?
Click to expand...
Click to collapse
my signal is almost always full bars with lte. I wouldn't think that one app would cause such a battery drain, even facebook. but no it's not that important, I can turn that off to see if it makes a difference. what about "AlarmManager" & "ActivityManager-Launch"?
edit: what I don't understand is this.. even with facebook on, whether it's syncing with wifi or my data connection it's wakelocking, so why such a huge difference when wifi is disabled and it's using my data connection instead?
I don't think facebook is the problem, I installed the other ge rom (clean&slim) and am having the same issue when wifi is disabled, and I haven't installed any apps except for es file explorer and nova launcher. I don't remember a problem with this on stock touchwiz. I have safestrap and goldeneye running on my girlfriends phone and the android system using battery when wifi is disabled isn't a problem.
deadenz said:
my signal is almost always full bars with lte. I wouldn't think that one app would cause such a battery drain, even facebook. but no it's not that important, I can turn that off to see if it makes a difference. what about "AlarmManager" & "ActivityManager-Launch"?
edit: what I don't understand is this.. even with facebook on, whether it's syncing with wifi or my data connection it's wakelocking, so why such a huge difference when wifi is disabled and it's using my data connection instead?
Click to expand...
Click to collapse
If you're in an LTE border area your connection may be connecting in and out with LTE bands frequently causing the battery drain, as wifi is usually more stable. Generally the cause of battery drain is due to google services wakelocking the phone. Do you have Greenify downloaded? It's pretty nifty for hibernating apps, causing them to be completely shutdown until opened; preventing wakelocks. If you get the donate version you can even hibernate system apps (google services, etc). I doubt it's ROM related, but you can try another ROM and compare with BetterBatteryStats.
http://forum.xda-developers.com/wiki/Wakelocks
^ That will explain the AlarmManager & ActivityManager-Launch.
Br4nd3n said:
If you're in an LTE border area your connection may be connecting in and out with LTE bands frequently causing the battery drain, as wifi is usually more stable. Generally the cause of battery drain is due to google services wakelocking the phone. Do you have Greenify downloaded? It's pretty nifty for hibernating apps, causing them to be completely shutdown until opened; preventing wakelocks. If you get the donate version you can even hibernate system apps (google services, etc). I doubt it's ROM related, but you can try another ROM and compare with BetterBatteryStats.
http://forum.xda-developers.com/wiki/Wakelocks
^ That will explain the AlarmManager & ActivityManager-Launch.
Click to expand...
Click to collapse
thanks for the info. I've tried both google edition roms but like I said.. this wasn't an issue on stock touchwiz and it's not an issue on my girlfriends phone running safestrap and goldeneye (we have the same phone). I do have greenify and I've added play music and maps to it as I noticed they would always run in the background. I also noticed in running apps under google services (with wifi disabled) something was running called locationmanager or similar to that. I had all location services turned off tho. I always have full lte service so I'm not sure why it would be going in and out.
Check your kernel wakelocks, your partial wakelocks seems not a big deal, actually on that screenshot IMO facebook is behaving very well.
CyberManiaK said:
Check your kernel wakelocks, your partial wakelocks seems not a big deal, actually on that screenshot IMO facebook is behaving very well.
Click to expand...
Click to collapse
I just unplugged my phone so I'm waiting for updated battery stats. I'm almost positive it has nothing to do with any apps that I've installed. I have greenified alot of apps, and turned off some receivers in google services framework (mostly gtalk stuff) I also did the stuff in this guide: http://forum.xda-developers.com/showthread.php?t=2357417. I'm going to wait awhile to see if there's any improvement, then I was going to try adding some build.prop entries that I used on my LG Optimus L9, a couple are for saving power when the phone is asleep and helping the phone sleep better, and there is an entry to limit how often your wifi will scan. they seemed to help on the lg.
I live in a poor service area and I like to control my WiFi and data on off with juice defender or creative connections I think its called. Helps me a lot. May not solve your prob but might make things easier on you. There is also an app called LTE toggle that makes a on/off widget for LTE. Hope it helps if you try it.
Bubba Fett said:
I live in a poor service area and I like to control my WiFi and data on off with juice defender or creative connections I think its called. Helps me a lot. May not solve your prob but might make things easier on you. There is also an app called LTE toggle that makes a on/off widget for LTE. Hope it helps if you try it.
Click to expand...
Click to collapse
so is this an issue other people have using google edition roms and having wifi disabled? this doesn't happen with stock touchwiz or even stock touchwiz roms so I'm not understanding what the problem could be. I shouldn't have to use another app to stop battery drain just because I don't have wifi enabled
deadenz said:
so is this an issue other people have using google edition roms and having wifi disabled? this doesn't happen with stock touchwiz or even stock touchwiz roms so I'm not understanding what the problem could be. I shouldn't have to use another app to stop battery drain just because I don't have wifi enabled
Click to expand...
Click to collapse
I can't think of anything you haven't already thought of that could cause those issues. I love greenify also but is it possible you greenified an app that is fighting it and trying to connect? I've done that but not es bad as you are seeing. Those apps were a thought to make your life a little easier by not working about WiFi on here and off there. They work good for me for that issue. You probably won't like this but I'm running foxhound 2.0 with faux and killjoy/ccross breeder script and I have a hard time hitting 50% battery after 15 hours off the charger. I have to really game or to a lot to go below that. I also debloat heavily. I havent tried your Roms yet but I had similar results on Alpha ROM. I'll think about it some more though.
Bubba Fett said:
I can't think of anything you haven't already thought of that could cause those issues. I love greenify also but is it possible you greenified an app that is fighting it and trying to connect? I've done that but not es bad as you are seeing. Those apps were a thought to make your life a little easier by not working about WiFi on here and off there. They work good for me for that issue. You probably won't like this but I'm running foxhound 2.0 with faux and killjoy/ccross breeder script and I have a hard time hitting 50% battery after 15 hours off the charger. I have to really game or to a lot to go below that. I also debloat heavily. I havent tried your Roms yet but I had similar results on Alpha ROM. I'll think about it some more though.
Click to expand...
Click to collapse
I tried foxhound and I liked it but the black theme was just too black for me and I don't really like the touchwiz theme. I love the google edition roms. and no at first I flashed a clean ge rom and didn't install any apps at all and I still had the problem. I've also installed ge roms from the i9505 forum and also had the problem. with wifi on I get atleast 2 days on a full charge and about 4 hours of screen on time.
I would suggest do the following charge up to 100% not 90% like your second post. after 100% charge, do a reboot when the phone boots again remove the charger and let it sit untouched for at least 4 hours preferably 8 hours. Then on better battery stats take a screenshot of "Other/unplugged" lets see how much the phone is awake and deep sleep, then take a screenshot of Kernel Wakelocks/unplugged and also partial wakelocks/unplugged
at first I didn't notice that on you second screenshot your stats are for 8% period 90% - 82% and that is a 1%/hr battery drain, is actually pretty good, sure not excellent but there are some that loose 2%/hr
I'm having the same problem with the ge ROM. Battery life seems to go quicker than stock touchwiz. As I like the GE roms interface and things you can do with it just hate the battery life.
4.2.2 Google Play Edition GS4 safestrap.
[email protected] said:
I'm having the same problem with the ge ROM. Battery life seems to go quicker than stock touchwiz. As I like the GE roms interface and things you can do with it just hate the battery life.
4.2.2 Google Play Edition GS4 safestrap.
Click to expand...
Click to collapse
How much time are you getting of deep sleep and how much awake in a 8 hr period ?
Do you have exchange mail enabled? Sometimes I have the same problem with my battery life and that is the issue
Sent from my GT-I9505 using Tapatalk 4
[email protected] said:
I'm having the same problem with the ge ROM. Battery life seems to go quicker than stock touchwiz. As I like the GE roms interface and things you can do with it just hate the battery life.
4.2.2 Google Play Edition GS4 safestrap.
Click to expand...
Click to collapse
are you having the problem with wifi enabled and disabled? I only have the problem when my wifi is turned off, with wifi on I get great battery life with this rom
here's what I added to my build.prop last night and it seems to have fixed the 'android system' battery drain. it's back down to 2% now with wifi off and lte enabled.
Disable Sending Usage Data
ro.config.nocheckin=1
Deeper Sleep / Better Battery Life
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
Wi-Fi to Scan Less Frequently
wifi.supplicantscan_interval=180

[Q] TWO Android systems draining battery??

Good day to you all,
Recently after a small android update (still having version 4.4.2) I noticed the battery was draining faster than I'm used to. Before that, it was consuming roughly 1% per hour in idle. This has changed now to 3-5% per hour. Looking at the battery info I noticed the Android system was the biggest batterysucker here. Not only that, there are even TWO Android systems shown and I began to think there's something wrong here.
http://forum.xda-developers.com/attachment.php?attachmentid=2908920&stc=1&d=1408796626
Also looking at the wakelocks shows that my phone is barely able to get into sleepmode.
http://forum.xda-developers.com/attachment.php?attachmentid=2908921&stc=1&d=1408796626
Before posting this thread I have literally tried every option to see if it could lessen the battery consumption:
- Disabled Google location reporting services
- Disabled GPS
- Disabled Google sync
- Disable Wifi when in Sleep mode
- I don't use Google Now so it's disabled
- Widen the Facebook refresh intervals to 4 hours
- Wiped the cache partition
None of the above worked and I started to think that the second Android system here might be the cause.
Should there be a second Android system consuming battery? What could be the problem here??
JohnnyGui said:
Good day to you all,
Recently after a small android update (still having version 4.4.2) I noticed the battery was draining faster than I'm used to. Before that, it was consuming roughly 1% per hour in idle. This has changed now to 3-5% per hour. Looking at the battery info I noticed the Android system was the biggest batterysucker here. Not only that, there are even TWO Android systems shown and I began to think there's something wrong here.
http://forum.xda-developers.com/attachment.php?attachmentid=2908920&stc=1&d=1408796626
Also looking at the wakelocks shows that my phone is barely able to get into sleepmode.
http://forum.xda-developers.com/attachment.php?attachmentid=2908921&stc=1&d=1408796626
Before posting this thread I have literally tried every option to see if it could lessen the battery consumption:
- Disabled Google location reporting services
- Disabled GPS
- Disabled Google sync
- Disable Wifi when in Sleep mode
- I don't use Google Now so it's disabled
- Widen the Facebook refresh intervals to 4 hours
- Wiped the cache partition
None of the above worked and I started to think that the second Android system here might be the cause.
Should there be a second Android system consuming battery? What could be the problem here??
Click to expand...
Click to collapse
Hi ,
is hard to tell with what you show here...get an app like Better Battery Stats
http://forum.xda-developers.com/showthread.php?t=1179809
Let it run for 3-4 hours and check it , the app will tell tell you what is going on....is the only way to find the real culprit
MAX 404 said:
Hi ,
is hard to tell with what you show here...get an app like Better Battery Stats
http://forum.xda-developers.com/showthread.php?t=1179809
Let it run for 3-4 hours and check it , the app will tell tell you what is going on....is the only way to find the real culprit
Click to expand...
Click to collapse
Will this app also show the needed info even when my phone isn't rooted? Because I'm really not into rooting it.
JohnnyGui said:
Will this app also show the needed info even when my phone isn't rooted? Because I'm really not into rooting it.
Click to expand...
Click to collapse
Hi mate
This is from the thread :
Q:Why installing BBS as a system app as everything works with root?
A: Starting with Kikat BBS has 3 modes: without root a limited mode provides a minimal set of stats. With root the set of stats is complete but some stats (other, partial wakelocks, processes) still use a workaround. Finally with the system app BBS is fully featured without any workaround.
For this cases root is good to have as it gives you a better access to all the process running , try without root and see what kind of info you get
If it's a conciliation, my android (currently on AOSP) is also running two android systems. Not exactly the same name (Android-System and Android-Besturingssysteem), but you get the idea. You mentioned quite a few things you've already tried, but what about existing widgets and or android apps you've installed? Usually (for me anyway) battery drain is an installed app not exactly behaving nicely.
MAX 404 said:
Hi mate
This is from the thread :
Q:Why installing BBS as a system app as everything works with root?
A: Starting with Kikat BBS has 3 modes: without root a limited mode provides a minimal set of stats. With root the set of stats is complete but some stats (other, partial wakelocks, processes) still use a workaround. Finally with the system app BBS is fully featured without any workaround.
For this cases root is good to have as it gives you a better access to all the process running , try without root and see what kind of info you get
Click to expand...
Click to collapse
So does this mean I'm not able to see the exact cause of my wakelocks since my phone isn't rooted?? I have installed Gsam Battery monitor from Google Play, hopefully it will give me (and you guys) the relevant information after keeping my phone on idle for a while.
@Skyrider: The weird thing is that in my case, it DOES display the same name twice. Doesn't that seem weird? I can't see any Android OS (besturingssysteem) displayed.
Also, if I have a battery heavy app, shouldn't it be displayed in the battery info screen as well? I only have the Weather widget and a News widget (NU.nl) on my homescreens. Haven't installed many apps except for Facebook and a few games that barely use background processes.
JohnnyGui said:
So does this mean I'm not able to see the exact cause of my wakelocks since my phone isn't rooted?? I have installed Gsam Battery monitor from Google Play, hopefully it will give me (and you guys) the relevant information after keeping my phone on idle for a while.
@Skyrider: The weird thing is that in my case, it DOES display the same name twice. Doesn't that seem weird? I can't see any Android OS (besturingssysteem) displayed.
Also, if I have a battery heavy app, shouldn't it be displayed in the battery info screen as well? I only have the Weather widget and a News widget (NU.nl) on my homescreens. Haven't installed many apps except for Facebook and a few games that barely use background processes.
Click to expand...
Click to collapse
Let us know what you find ....good luck
JohnnyGui said:
The weird thing is that in my case, it DOES display the same name twice. Doesn't that seem weird? I can't see any Android OS (besturingssysteem) displayed.
Also, if I have a battery heavy app, shouldn't it be displayed in the battery info screen as well? I only have the Weather widget and a News widget (NU.nl) on my homescreens. Haven't installed many apps except for Facebook and a few games that barely use background processes.
Click to expand...
Click to collapse
In my opinion, that's the problem with the default battery information. In my years of experience, it usually never knows the information that you need what exactly is braining the battery. If your battery is still being drained, I suggest to remove most of your apps. Only for a day orso. It should be enough to gather the information to know that at least one of your apps was the cause of it.
It's a pain to do it. But It always has helped me rather than relying on apps of which usually doesn't work out for me.
Also. Might be a good idea to alter your system language from Dutch to English and check the battery info again to search for the duplicate running system on google. You'd expect "Android System" being enough, but who knows that a different language might show a different name.
Ok, I don't have the slightest idea what happened but my battery duration is amazing now. After installing Gsam Battery Monitor and charging my phone to 100% I went to sleep and after 10 hours of standby I looked at my phone and it was on 93%. My phone doesn't consume more than 0,6-1,0% per hour now in the last 3 days!!
I haven't changed anything except choosing to use Wifi and mobile network for location services but not GPS. Weird thing is that I tried that option before without success.
I'm happy now
I'm still confused about the 2 Android systems in my battery info screen though. That might be a good idea to try @Skyrider but I do remember that "Android OS" was displayed differently in Dutch a while back. I'm guessing you have your phone language in Dutch as well since you're seeing "Android Besturingssysteem" on the battery info screen?
JohnnyGui said:
Ok, I don't have the slightest idea what happened but my battery duration is amazing now. After installing Gsam Battery Monitor and charging my phone to 100% I went to sleep and after 10 hours of standby I looked at my phone and it was on 93%. My phone doesn't consume more than 0,6-1,0% per hour in the last 3 days!!
I haven't changed anything except choosing to use Wifi and mobile network for location services but not GPS. Weird thing is that I did try that option before without success.
I'm happy now
I'm still confused about the 2 Android systems in my battery info screen though. That might be a good idea to try @Skyrider but I do remember that "Android OS" was displayed differently in Dutch a while back. I guess you're having your phone language in Dutch as well since you're seeing "Android Besturingssysteem" on the battery info screen?
Click to expand...
Click to collapse
Kudos for the battery mate.
JohnnyGui said:
I'm still confused about the 2 Android systems in my battery info screen though. That might be a good idea to try @Skyrider but I do remember that "Android OS" was displayed differently in Dutch a while back. I'm guessing you have your phone language in Dutch as well since you're seeing "Android Besturingssysteem" on the battery info screen?
Click to expand...
Click to collapse
Yea, I'm using the Dutch language. But I'm not using the stock ROM of the phone, so hence I am seeing different systems running in the background. But I'm glad the battery is semi-fixed.
Ok, so I changed my phone to English and behold, one of the "Android Systems" indeed changed to "Android OS"
I could have sworn it was like that when my phone was in Dutch.
Perhaps someone with the stock ROM in Dutch could check that out?
No idea if this helps but i thought might as well contribute what it sais on my phone
Edit : i have a very high idle battery drain so any advice is welcome btw
Sent from my GT-I9505 using XDA Free mobile app
Stefan0vic said:
No idea if this helps but i thought might as well contribute what it sais on my phone
Edit : i have a very high idle battery drain so any advice is welcome btw
Sent from my GT-I9505 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks a lot for confirming this! I guess Android OS is indeed translated to "System" for Dutch S4's.
Have you tried my suggestions in the opening post?

Categories

Resources