[Q] Device suddendly doesnt go to sleep - Galaxy S II Q&A, Help & Troubleshooting

Well, I have my device running for 2days already with no reboot.
I charged it at night and have it running for 5 hours.
I did make 1:30 hours phone calls, a few internet and so, but its awake for the whole 5 hours which doesnt makes any sense..
The only reason I noticed it was how I lost 48% in 5hours.
I have almost nothing running in background, stock task manager shows only messages, gmail & Android market.
the "running" tab in Go launcher shows 250mb free out of 838mb total..
now after reboot its fine again, it goes to deep sleep (i checked with cpu spy)
but the problem is, how do i tell what was the cause for this mess?
BetterBatteryStats showed me that the phone was awake 100.0% of the time..

Check "partial wake locks" in the better battery stats app. Will give you info on what app or process time awake.
Sent from my GT-I9100 using xda premium

Well, in this menu there's nothing suspicious, the highest one takes 2-3mins with not too high count,
and the rest are for less than that & with low count as well.
So what else can I do to check it out?

If its not deep sleeping, what frequency is it stuck on when screen is off?
Is any data connection on, gps etc
There is also an app, "watchdog lite", may help alert you if there are amy rogue apps or processes (depending on config)
https://market.android.com/details?id=com.zomut.watchdoglite
What is your current system setup and config?
Have you made any system changes or installation of apps or themes since it was working fine?
If still no good our out of ideas, Maybe reflash the kernel and no setcpu profiles, UC, OC etc. .......
or at worst full wipe and reflash the lot.
Sent from my GT-I9100 using xda premium

I will try Watchdog.
I have everything the same as before, nothing changed much.
The only serious thing I did in the past week was freezing 1-2 things with TB.
There was nothing running in the background such as download or similar
The freq. used on screen off was 200MHz

What was frozen, and how about unfreeze and test?
Sent from my GT-I9100 using xda premium

It seems like it doesn't use deep sleep again. I didn't di anything serious since the last reboot.
The only things I froze are kies,system update...but I returned them back.
One thing I noticed but not sure if it was like that before or not, is that in the battery info, I have battery idle, operation time is as time from last charge and time without signal is 100%.
Also, when I look at the graph, awake and screen on are synchronized so im getting lost here.
Sent from my GT-I9100 using xda premium

My device is at 100% awake according to betterbatterystats but in watchdog I don't see anything suspicious.
What cab I do?
I removed most of the things I installed lately but it continues
Sent from my GT-I9100 using xda premium

As I said before;
Is any data connection on, gps etc ?
Also, do you have a strong signal, so its not constantly looking for a network or bouncing between 2g / 3g etc.
Put thephone into Flight Mode, so this eliminates connection to your network, wifi,.gps, etc.
If still no good our out of ideas, Maybe reflash the kernel and no setcpu profiles, UC, OC etc. .......
or at worst full wipe (factory data reset,.cache, dalvik etc in CWM and reflash the lot immediately after.
Don't forget to the md5 checksum to ensure your DLs are not corrupted and matching that of the Dev's original.
Sent from my GT-I9100 using xda premium

One member here found social hub was the cause of not deep sleeping. More than likely a config problem.
One of my suggestions was to put into flight mode and test.
Also you can use Droid Wall to block unwanted network connections.
http://forum.xda-developers.com/showthread.php?p=17960865
Sent from my GT-I9100 using xda premium

Well, unfortunately I dont know whats the cause so I dont know how I can configure droid wall.
After 6 hours in night, I had the device for 15 mins awake with no explenation. Partial wakelocks shows the highest activity is *sync* with 1m18s, count:6. The highest count is like...200~, not too critical.
The device was in deep sleep for 6hours but 200mhz for 17mins, which is the time I have no explenation for. In bettery mode you can see that 15~ mins where its awake but screen off.
I have no explenation for this but also dont know what caused it.
The good thing is that I lost only 2% over night, so I cant be too worried about it..
So I still don't know what caused it to be 100% awake.
meanwhile, I have no OC, OV/UV, no setcpu settings at all.
Im on Cognition 1.51 & Speedmod T40. I dont have the Samsung Apps installed at all.

Much better
Sent from my GT-I9100 using xda premium

At the moment, yes
however, the issue wasnt found & solved yet, so I need to keep looking for it.
dunno what else to do, sadly..

Full wipe and reflash does not take a great deal of time, a lot less than troubleshooting in most cases.
Just backup your user apps and data with titanium before hand, and md5 checksum match.
Sent from my GT-I9100 using xda premium

But if I backup all user apps and data, how will it help me ? Isn't one of them the cause for that ?
Sent from my GT-I9100 using xda premium

Just in case. It may be rom our kernel
You always have the option to download fresh from market and just restore the data.
Edit: If it happens again;
Personally, I'd backup, full wipe, flash. Reboot after first boot, and before / after applying themes and after restoring.
Sent from my GT-I9100 using xda premium

Related

[Q] Partial wakelock

I noticed that after charging my phone, after 2 hours it's still awake even if the screen is off (i got no apps running, all idle). Spare parts only shows "partial wakelock:android system" as 100% in the partial wake and running usage. Others are at 0.1%. I didn't do anything yet so I slept and after 8 hours of my sleep, I checked it and the phone is still awake, causing battery drain from 89% to 51%.
I don't have google maps/latitudes or any kind of google trash and syncing apps, what might be the problem? All wifi/gps/other connection is disabled too. Only solution I found is to restart the phone.. Any way how to detect that app in android system and kill it?
-i'm on 3 days with v18fkernel and tried reflashing, no use.
http://forum.xda-developers.com/showthread.php?t=1148099
Can u try this. It will help devs.
Sent from my LG-P500 using XDA Premium App
^Hm might test it later, i'm charging again to see if it causes the same trouble..
Same problem
I'm having the same problem on void #forever. Do you think it's the latest franco kernel (I have v18)? So you didn't have this problem in franco kernel v17 BFS?
Spare parts show the same app usage stats as well. My phone is awake 99% of the time!
^I'm about to try this today, seeing that the dev is active..My phone has been having random awake time's and yeah i got no apps running on bg/syncing off.
I'll post the findings after I try this
Deep Sleep Detective
I am trying it out as well. So far, I can't make sense of the log files.
antifaust said:
I am trying it out as well. So far, I can't make sense of the log files.
Click to expand...
Click to collapse
Well my log are clean too on Franco kernel if post that I get 98% dsp in 7 hours they wont believe me.
Sent from my LG-P500 using XDA Premium App
Isn't cpu_time_in_each_state and other debugging options in the latest franco kernel disabled?
I mean the dsdshutdown task will be going in a loop until it finds a cpu time in each state value and writes a log. (try testing the dsdshutdown task and it will not end)
Haven't tried the other tasks yet. not sure if that's the only task not working, i'm also not sure if it affects the other tasks
Weird
Weird. My phone suddenly starting going to sleep according to Spare Parts. It reflects on the Battery Usage stats in Settings as well. One long stretch of no sleep with huge battery drain (5% per hour or more, without Wi-fi, data, GPS, syncing) then now I've been on 37% for almost 1 1/2 hours now. Might try to roll back to v17 BFS until all this is figured out.
Kira.Lawliet said:
Isn't cpu_time_in_each_state and other debugging options in the latest franco kernel disabled?
I mean the dsdshutdown task will be going in a loop until it finds a cpu time in each state value and writes a log. (try testing the dsdshutdown task and it will not end)
Haven't tried the other tasks yet. not sure if that's the only task not working, i'm also not sure if it affects the other tasks
Click to expand...
Click to collapse
Its working but I m on cm7 stable. (Franco kernel by mik)
Sent from my LG-P500 using XDA Premium App
Resolved itself
Weird behavior. After being awake for several hours straight, my phone started sleeping "normally" and now with no data, no wi-fi, no GPS, I'm getting almost 48 hours out of my phone (void #forever, francokernel v18 BFS, overclocked to 480/710 SMARTASS). Oh well.
Anyway, it looks like Noejn halted development for void #forever. Thinking of trying mik_os CM7 port just so I can get support while waiting if Noejn will resume development on void...

What is causing all thise Awake time on my Razr...even did a factory reset..

i have tried everything. Even did a factory reset and installed NOTHING but synicng my google mail, contacts and calander and after a few hours of sitting there i check the battery and it shows awake Allot. like it seems to wake up every few min, small little lines all over the graph. when the screen is off.
i have wifi off now, and my phone is not active (im on my X), set to CDMA and its still waking up. i have set all the settings that i can think of to off that would make it wake up....
any ideas what so ever? last night i let it sit there all night on wifi, and went to bed with 100% woke up to 60% with massive awake time...
please help this is the only thing making me want to leave the razr...
Thank you
Try enabling the battery extender profile in smart actions. It cuts background sync/GPS if the phone is not charging or in motion.
Sent from my DROID RAZR using xda premium
garywojdan81 said:
Try enabling the battery extender profile in smart actions. It cuts background sync/GPS if the phone is not charging or in motion.
Sent from my DROID RAZR using xda premium
Click to expand...
Click to collapse
will that cause all my emails and Gtalk messages from coming in though>??
dvigue said:
will that cause all my emails and Gtalk messages from coming in though>??
Click to expand...
Click to collapse
Only when the screen is off, when unlocked everything will turn back on and your emails will come through.
yeah, thats the thing though...i use gtalk allot...dont care about the emails but i use gtalk
I don't have the battery extender smart action on and I'm getting amazing standby time better than my nexus s with mostly the same apps. I'm thinking it must be an app that's causing you battery problems.
Sent from my XT910 using XDA App
Try os monitor, its free in the market & can help you narrow down what's running. System Tuner has a free version as well & can help you see how your running processes/services are acting. The pro version even gives a start up monitor so you can freeze or prevent certain things from running at all.
Sent from my DROID RAZR using xda premium

S2 Became a data hug

Hi!
My father has a Samsung Galaxy S2 with the stock GB, and un-rooted. The phone has been working flawlessly, but lately (since about 2-3 days ago) it begun to using a crazy amount of data.
My father normally uses about 300 mb per month, but now the phone is using about 20-30 mb per hour IN STANDBY.
Also he notices that the battery is lasting about half of the previous time which is consistent with a long running process...
He doesn’t install/update anything lately and the settings are set for low data use. Like no auto sync, he also has all the known data eating apps disabled.
He has installed an app call “my data monitor” and the app says that all the data is being used by OS services but there isn't a detailed information.
Just for clarification, he doesn’t have too much applications installed. Just: Whatsapp, Viber, Facebook and Twiter, but as I say before, he has all the auto sync off, and all this apps where installed Months ago.
My question is: there is a program that can help us to find what is going on? Something like a “on the fly” data analysis?
Any other idea what can be happening?
Thanks!
Edgar
First off, turn off data connection. Settings-wireless and networks-mobile network-uncheck "use packet data".
And then go to Accounts and sync in settings and disable all Google account syncing.
Sent from my GT-I9100 using xda app-developers app
Sounds like a virus to me. Download a virus scanner from the play store. And if you have wifi, I would turn on airplane mode then turn on wifi so he's not using his plans data
Sent from my GT-I9100 using xda premium
all cepulonis
kilometers4 said:
Sounds like a virus to me. Download a virus scanner from the play store. And if you have wifi, I would turn on airplane mode then turn on wifi so he's not using his plans data
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
I already installed Avast, it coming clean. Maybe I will try another AV.
This happened to me too! Tried figuring out what the issue was, but no avail! Data connection continuously ON and the battery draining like crazy. Had to re-flash stock GB and the problem vanished. :victory:

Problem with S3 Battery

When i fall asleep i just place my phone nearby the bed and its on airplane mode,wifi closed,data closed and generally no apps running(i think so).The battery is level (ex)50% and when i wake up,about 7 hours later its always about 15-20%.why this happen?
I checked the battery manager just after i waked up and the first was screen(56%) and after that adobe reader(10%)
Start with Better Battery Stats and read the ten million battery posts on XDA .
jje
chaos748 said:
When i fall asleep i just place my phone nearby the bed and its on airplane mode,wifi closed,data closed and generally no apps running(i think so).The battery is level (ex)50% and when i wake up,about 7 hours later its always about 15-20%.why this happen?
I checked the battery manager just after i waked up and the first was screen(56%) and after that adobe reader(10%)
Click to expand...
Click to collapse
Mine drops about 1.5% every hour whenever it's on standby.
JJEgan said:
Start with Better Battery Stats and read the ten million battery posts on XDA .
jje
Click to expand...
Click to collapse
Better battery stats does not work.dont know why.and i made my own post cause i cannot find the solution of the problem on other posts.try to be more polite to your answers
have you tried downloading the xda version of the better battery stats? if not here it is
http://forum.xda-developers.com/showthread.php?t=1179809
Is your phone rooted? Like others said, try to install the xda-forum version of BBS but it's weird because I did install the one from GPlay.
One of the first lead is the WiFi? Is it always turned on? There's a bug with it. Go into the advanced WiFi settings and set it to 'only if activated' (I don't know the exact spell in English but it's something like that).
But you better have to dl BBS & check the wakelocks.
Sent from my Galaxy S3 with Omega ROM v27.2 / Phenomenal Extreme 4.0 kernel
which rom are you using?
that should be solved flashing another kernel, try it.
dont use a rom...my phone is just rooted
Deleted.
JJEgan said:
Deleted.
Click to expand...
Click to collapse
what?
Underclock when you're not using your phone.
That will save battery.
If ur using stock TW. Put on power saving mode
PM Me if u want to know more.
Try using an app called easy battery saver and only use the cable and plug that came with your galaxy s3 it works for me, today I had eight hours after charge and using internet with 3g nearly continuously.
You would get much more by leaving it on standby.
Also restrict your background data, turn off your automatic updates at play store andturn off WiFi while screen is asleep.
Follow all these for better battery.
Use any battery investigation apk/widget (I'd recommend battery monitor widget) and look what is causing the drain...
may I guess: cell standby or gpsd?
guys i remember you that the cell phone is on flight mode with wifi,gps and data turned off
and, if you have a soft which contains a bug - you'll have such processes running.
It is up to you to install any apk which will contain more detailed statistics what actually is consuming so much juice.
If you do not want - no one would force you.
chaos748 said:
When i fall asleep i just place my phone nearby the bed and its on airplane mode,wifi closed,data closed and generally no apps running(i think so).The battery is level (ex)50% and when i wake up,about 7 hours later its always about 15-20%.why this happen?
I checked the battery manager just after i waked up and the first was screen(56%) and after that adobe reader(10%)
Click to expand...
Click to collapse
I have the exactly same problem,30% drain overnight.That happens after updating to 4.1.1 JellyBean.With ICS never happened.
Go into the battery page, click on the graph and then post a screenshot of the detailed graph here. It is usually an app or process not letting the phone go into standby. Happened to me when I had my phone on ICS out of the box. I fixed that all up through the individual app settings and all was sweet. Then when I went from ICS to JB, the issue came up again and I had to go through the apps again to change the settings back. It seems that by updating from ICS to JB, certain settings get set back to default, which then does not allow the phone to go into standby.
Culprits that I have found are:
Facebook - set to manual refresh interval
Weather (or any weather widget) - manual refresh interval
Google play store - Turn off Google AdMob Ads
Any form of newsreader (I was using Pulse) - Turn off notification when there are new stories
Wifi advanced settings - Set Keep Wifi on during sleep to "Always"
Samsung account - Turn off sync
Samsung app store - Turn off Update Notification, turn off push notification, turn off ad preferences.
chaos748 said:
When i fall asleep i just place my phone nearby the bed and its on airplane mode,wifi closed,data closed and generally no apps running(i think so).The battery is level (ex)50% and when i wake up,about 7 hours later its always about 15-20%.why this happen?
I checked the battery manager just after i waked up and the first was screen(56%) and after that adobe reader(10%)
Click to expand...
Click to collapse
Maybe some apps running in background if you are using *viber* delete it
It makes proximity sensor always on.
Try delete apps like that
Thanks
Sent from my GT-I9300 using xda app-developers app
Guys please keep in mind that keeping the stock os without any custom kernel might be not as effective than using an adequate custom rom...
In addition remember, cooler temperatures cause ur battery to lose its charge faster...
So if ur phone is placed on the window shelf and its getting cold during the night it might cause ur battery to drop fast..
I made this observation with my sgs plus....
Hope i helped.

My YP-G70 is acting very weird

I have the US version and it has been acting up. Web pages would randomly freeze and stop loading or bring me back to the home screen. What weirds me out the most is that I have always had my wifi setting to off when screen off but I noticed that my battery dropped very quickly today from fully charged this morning and found that it somehow got changed to wifi never off.
Could I have somehow gotten a virus? How can I check? I am running the stock ROM.
Thanks
This is not my forte, but sit tight and be assured that someone who knows more on this issue will answer your question.
Maybe a factory reset would fix it?
Sent from my Nexus 7 using XDA Premium HD app
Take a deep breath, then check what apps are draining your battery the most. More likely than not it's just a poorly coded app that's the culprate.
Settings -> About Device -> Battery Use
Things should typically be pretty low (Except the display), but exact percentages will vary depending on what you've been using lately. If you want a nice control, restart you Player, then leave it alone overnight. If something shows up pretty high, it's probably your troublesome app.
I attached some screenshots of my current useage. Mind you, I haven't really been using my player much this morning, so the percentages might be lower than normal
Supermaster34 said:
Maybe a factory reset would fix it?
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
Does the factory reset erase everything (ie. pics, documents, apks) or does it just get rid of settings but leave my files untouched?
Is there anything else I could try before a reset?
I can't remember, but at the very least a factory reset will kill your apps. I want to say there is an option to keep files, but you'll want to back it up before you try that.
My recommendation really is to restart you player tonight, leave it on, and check battery usage in the morning.
You will lose all your data. However you could root and do a Titanium Backup, then restore after reset. You can always unroot.
Dr. Cyanide said:
Take a deep breath, then check what apps are draining your battery the most. More likely than not it's just a poorly coded app that's the culprate.
Settings -> About Device -> Battery Use
Things should typically be pretty low (Except the display), but exact percentages will vary depending on what you've been using lately. If you want a nice control, restart you Player, then leave it alone overnight. If something shows up pretty high, it's probably your troublesome app.
I attached some screenshots of my current useage. Mind you, I haven't really been using my player much this morning, so the percentages might be lower than normal
Click to expand...
Click to collapse
My concern is not the battery usage but the fact that it was acting strange, especially my wifi sleep policy setting changed to "Never." I have always had it set to "When screen turns off." I am just worried that my security has been compromised.
check this thread out very helpful,LIFESAVER give gmillz a huge thank you---http://forum.xda-developers.com/showthread.php?t=1863004---READ and good luck
cheetos316 said:
My concern is not the battery usage but the fact that it was acting strange, especially my wifi sleep policy setting changed to "Never." I have always had it set to "When screen turns off." I am just worried that my security has been compromised.
Click to expand...
Click to collapse
Something new I just noticed. Seems like my Player is now trying to get a GPS lock despite me not having any program that is using the GPS. I am probably going to try the factory reset first before flashing to another ROM just because I am new to it and am a bit apprehensive.
But at this point I am just really curious as to what is going on. Has anyone ever heard of these issues of the player changing the wifi policy and trying to get a GPS lock?
Should I be worried if someone is trying to track me down?
http://forum.xda-developers.com/showthread.php?p=33058335
I've got the GPS locking issue. I have it at least since my factory reset, maybe since I got the player. My best guess is that it's Google's location services trying to establish where you are. I get rid of it (and keep it from draining the battery) by firing up a GPS test app and closing the app.
No advice on the other issues though.
brought ubprine
Take it easy,everything will be OK.
download the custom rom,it already comes with a custom kernel.
DO A BACKUP just in case.
you can apply with odin in tar form or zip on external sdmicro.
make sure you get the right ROM(international hard home button or capacitive buttons on US).
---------- Post added at 09:14 PM ---------- Previous post was at 08:58 PM ----------
First befor applying rom
don't forget to BACKUP.
wipe data/factory reset.
wipe cache partion.
advanced.
wipe dalvik cache.
do each 2 time just in case.

Categories

Resources