Not properly deep sleeping, 200mhz - AT&T Samsung Galaxy S II SGH-I777

Have been running unnamed 1.3.1 for about a week. Battery life is good, but it still drops pretty quickly while not being used. Cpuspy is reporting that the phone is spending over 30% of its time at 200mhz, and about 50% deep sleep. This includes my 4 hour work period when I barely even pick up my phone. Any ideas on a cause? I already deleted the Facebook App fyi. Thanks in advance.

I'd suggest installing BetterBatteryStats. You can get it on the Market or search here on XDA for a free version provided from the author.
Fully charge the phone and try not to use it at all for a few hours or more if possible. You can then go back into BBS and it will show you all the Wakelocks and Partial Wakelocks that are running since you last charged it.
You can also set a Custom Ref. point and it will wipe out all history and start over if you want to simply do it midday but you have to keep it running in the background or else you'll lose the Custom Ref. point. Hope that makes sense. BBS is a GREAT program to help identify what's eating away at your battery during sleep.
Also, keep in mind that anytime you have it plugged in and charging, it will never go into deep sleep. It will always be showing as time spent at 200Mhz instead.

.
I recommend upgrading to unnamed 1.3.2 and sirrah kernel 2.4.2 (whichever latest one is). I have and I get really great battery life. Tweaked kernels and stoophs FTW.

Thanks for the insight. Better battery stats is exactly the App I was looking for. Also, I have updated to 1.3.2, I tried siyah kernal for a bit, but I didn't notice a difference
Sent from my SAMSUNG-SGH-I777 using xda premium

Also, make sure to reset CPUSpy stats after removing it from the charger.
Charging inhibits deep sleep.

Related

[Q] Battery optimization?

How can I make my battery last longer? I am using set cpu and various profiles to give me the best optimization I can, however my phone barely makes it 10 hours with light use *1hr web browsing, avid txting, light music listening via music on phone ~ 1 hr as well.* I'm not faulting the phone. I just want to know what can be done to get the most out of the stock battery as I see people getting results twice as good as mine and just done get what I'm doing wrong here.
Thanks for the help in advanced.
I have the exact same problem as you. Are you using unnamed with Enthropy's experience kernal as well? I'm about to flash cm7 to see if I can get better results.
Sent from my SAMSUNG-SGH-I777 using xda premium
xAnimal5 said:
I have the exact same problem as you. Are you using unnamed with Enthropy's experience kernal as well? I'm about to flash cm7 to see if I can get better results.
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
I used cm7 for a while now using UnNamed and cm gave marginally better battey life but
Just use the dang phone . You dont need to do anything special for great battery life. Try a factory reset if theres a problem though. Im rooted on cog beta 4 getting amazing battery life. I talked my mom imto getting this phone over the new iphone and hers is completely stock and she knows nothing and doesnt close any apps and gets the same amazing battery life as i do.
Reset and use it. If you cant get through a day of heavy use the phone is defective.
Sent from my SAMSUNG-SGH-I777 using xda premium
roadrash7 said:
If you cant get through a day of heavy use the phone is defective.
Click to expand...
Click to collapse
+1....or you have wakelocks. Find BetterBatteryStats and CPUSpy. BetterBatteryStats will tell you if something is preventing the device from going into deep sleep. I like to use "wakelocks since unplugged." CPUSpy will tell you the amount of time your device spends in each frequency, including deep sleep. For this, you'll need to reset the timers each time you unplug the phone.
Its add easy as flashing cm.... I went 15 hours and still had 60% left. with OC. Nothing else special (aka no juice defender our set CPU). The only trick is deleting everything in the dcim folder (known medias bug ) you'll see 1% battery loss per hour, with fb and GV sync
Sent from my SGH-I777 using XDA App
Simba501 said:
+1....or you have wakelocks. Find BetterBatteryStats and CPUSpy. BetterBatteryStats will tell you if something is preventing the device from going into deep sleep. I like to use "wakelocks since unplugged." CPUSpy will tell you the amount of time your device spends in each frequency, including deep sleep. For this, you'll need to reset the timers each time you unplug the phone.
Click to expand...
Click to collapse
BBS sometimes misses wakelocks, for even more info, grab the contents of /proc/wakelocks and post them here.
my solution: keep a charger with you anywhere you go
I have a car charger, home charger and work charger (as do most people)
Thanks for all the replies. I'm sure there's go to be a work around for this
Not sure about a workaround. From everything I've seen, the max battery life is around six hours when the screen is on. Basically, if your screen has been on for 4-5 hours, it's time for a recharge.
Sent from my Galaxy S II using Tapatalk
arctia said:
Not sure about a workaround. From everything I've seen, the max battery life is around six hours when the screen is on. Basically, if your screen has been on for 4-5 hours, it's time for a recharge.
Sent from my Galaxy S II using Tapatalk
Click to expand...
Click to collapse
Well based on all I've read it seems like the battery is a mixed bag depending on the OC profiles, roms and kernels being used with the device.
Is it true that setting a screen off profile in set cpu will cause the device to not be able to enter a deep sleep mode and thus will kill the battery faster?
Sent from my SAMSUNG-SGH-I777 using xda premium
Alucardis666 said:
Well based on all I've read it seems like the battery is a mixed bag depending on the OC profiles, roms and kernels being used with the device.
Is it true that setting a screen off profile in set cpu will cause the device to not be able to enter a deep sleep mode and thus will kill the battery faster?
Click to expand...
Click to collapse
Not true. It is true, however, that on stock kernels and ones without the "sleep of death" fix, setting a screen off profile with a clock limit lower than 800 MHz can cause "sleep of death" issues. Right now I think only my kernel and the Cyanogenmod kernel have the SoD fix.
Entropy512 said:
Not true. It is true, however, that on stock kernels and ones without the "sleep of death" fix, setting a screen off profile with a clock limit lower than 800 MHz can cause "sleep of death" issues. Right now I think only my kernel and the Cyanogenmod kernel have the SoD fix.
Click to expand...
Click to collapse
Thanks for clearing that up
I'll post here as I don't have enough posts for the development forum yet.
I'm running Entropy's 16th exp kernal, and Cog4 and I noticed my battery draining far too fast, CPUSpy then showed that the phone simply isn't entering deep sleep. I had previously been undervolting with Voltage Control but I uninstalled the program just to be safe, still not deep sleeping. I also uninstalled Widgetlocker, and I don't think I have any apps that would cause infinite wakelock. What are some possible causes of this issue? Just so I have an idea where I should be changing things.
UPDATE: Reflashing the kernal fixed the problem for a while but then I reinstalled voltage control and now I seem to have it again. Uninstalling and reflashing again however, did not fix the problem. I am utterly confused
On another subject, has anyone actually noticed better battery life after undervolting?
Freaking SWEET! My battery lasted 33 hours and 13 minutes! I've only owned the phone for 3 days now and this is off of teh very 1st FULL charge! Usage was between light & moderate. Data sync on, Wifi On, GPS OFF, BT OFF, FB Data Sync OFF, Capacitative buttons set to light up only in the dark & NO haptic touchback...mmm, can't remember what else I tweaked at the moment but I think that's fantastic battery life! I'm upgrading from a G1 that couldn't last more than 17 hours when it was on standby ONLY with maybe 2 phonecalls and less than 20 text messages. I usually only averaged 6-8 hours and with SIMILAR usage in the last couple of days, I've been able to get 33+ HOURS? ^_^ <-- I'm very, very happy so far! This is on a stock root - NO custom ROM for me at the moment...I'm actually digging TouchWiz 4.0 which I thought I was going to hate when I played with the previous version of TW on the T-Mo Vibrant. (yes, my G1 was running CM 7.1 and battery life still sucked and I went through 2 different aftermarket batteries w/o any luck!)
Don't know what the voodoo in the programming is with this bad boy, but I think Sammy did a nice job this time!
The best thing you can do is having "Autostart" to prevent App to start automatically. I saved 25-30% on my SGS 1 and the same on my SGS 2 (i777). My son on the I9000 SGS 2 saved also 30%.
poker_rick said:
The best thing you can do is having "Autostart" to prevent App to start automatically. I saved 25-30% on my SGS 1 and the same on my SGS 2 (i777). My son on the I9000 SGS 2 saved also 30%.
Click to expand...
Click to collapse
Thanks for the tip
selfassembled said:
I'll post here as I don't have enough posts for the development forum yet.
I'm running Entropy's 16th exp kernal, and Cog4 and I noticed my battery draining far too fast, CPUSpy then showed that the phone simply isn't entering deep sleep. I had previously been undervolting with Voltage Control but I uninstalled the program just to be safe, still not deep sleeping. I also uninstalled Widgetlocker, and I don't think I have any apps that would cause infinite wakelock. What are some possible causes of this issue? Just so I have an idea where I should be changing things.
UPDATE: Reflashing the kernal fixed the problem for a while but then I reinstalled voltage control and now I seem to have it again. Uninstalling and reflashing again however, did not fix the problem. I am utterly confused
On another subject, has anyone actually noticed better battery life after undervolting?
Click to expand...
Click to collapse
Check for wakelocks in BetterBatteryStats, and if that doesn't find anything, do the following in an Android Terminal Emulator shell:
Code:
cat /proc/wakelocks > /sdcard/wakelocks.txt
or better, using ADB (Google it and if you're on Windows, Droid Explorer)
Code:
adb shell cat /proc/wakelocks > wakelocks.txt
Then post wakelocks.txt here
All the apps,camera n everything works on that rom? ??? I installed cm7 bt now stock it cuz some apps and camera app didn't work.
Sent from my SAMSUNG-SGH-I777 using Tapatalk

Is it normal to face massive battery drain (40%) overnight?

Currently on checkrom revolution 1.0 KI4 with hardcore's latest speedmod k2-8. Have had this phone for ard 5 months now and u can call me a compulsive flasher since I'm always flashing the latest roms, kernels and firmwares.
Throughout these 5 months, this overnight battery drain issue has been bugging me relentlessly, regardless of the firmware or rom used. Typically my phone will be off in the morning if i leave it at anything below 50% charge when going to bed. In contrast i've read of many accounts of sub 5% overnight drains that has lead me to suspect some kind of mistake on my part rather then a fundamental flaw in the design of the phone/software. Would be great if the xda community could assist by giving some insight into this matter, for in sure some of you might be/have been experiencing the same issue and might have solved it or are awaiting similar insight as well.
Sent from my GT-I9100 using Tapatalk
no its not normal. I lose 1-2% over an 7-8 hour period when im sleeping.
Install betterbatterystats and see what your wakelocks are over night. Something is obviously keeping your phone awake. The usual culprits are being signed into latitude or facebook chat.
i would suggest either change kernel or better yet change roms...kernel i would suggest ninp 2.0.5..stable and good battery life..also if you use setcpu i can provide you with frequencies so you can test it..message me so i can give them to you..regarding betterbatterystats i would not use but as skimmingstones say use it and see what your wakelocks are cause ur stats do not sound right buddy
Jeez! 40% overnight? I once had 8/9% drain overnight and got annoyed. Install Better Battery Stats first to see what apps/processes are causing the wakelocks. Then go on to change kernel and SetCPU etc for further betterment, but at first see what's going on background, with the help of BBS.
Post up screenshots of battery usage please.
My sister was loosing 40% each night turned out to be the Hotmail app not sleeping!
LOL 40 % !? your phone is the best drain phone ever :/
maybe U can set your display to low brightness and look of your phone goes to deep-sleep mode (CpuSpy)
Dude,
Try also to calibrate battery.
Look at my signature.
not normal for me lolz

[Q] Deep sleep

I left my Note overnight to test the battery drain and lost 40%. I used CPU spy to see what was happening and the phone never really went into Deep Sleep. Android OS was the biggest battery drain.
What's the best way/app to see what is keeping my phone from going into deep sleep? I am not rooted.
Please try a search you will get lots of good answers.
http://forum.xda-developers.com/showthread.php?t=1516565
And get Better Battery Stats to find out what is triggering you out of sleep if the above thread does not help.
Sent from my SGH-I897 using XDA
jpeg42 said:
Please try a search you will get lots of good answers.
http://forum.xda-developers.com/showthread.php?t=1516565
And get Better Battery Stats to find out what is triggering you out of sleep if the above thread does not help.
Sent from my SGH-I897 using XDA
Click to expand...
Click to collapse
I don't need to be told to do a search. That's the first thing I do before I post a thread. The subject of that particular thread didn't seem to apply.
factory reset should take care of andriod os eating battery more then screen.dont install any app for few hours.only install cpu spy.
Thanks for the suggestion, but I'd rather not have to do a factory reset every time a rogue app is draining my battery. Reinstalling everything all over again is a pain (not rooted, so Titanium backup is not an option) and that's like telling a user to reinstall Windows every time they see a little performance degredation.
I'm pretty sure there has to be a better way. I'll try betterbatterystats and see if it can help me narrow down the problem.
yeh i have an unrelated problem, will resetting device fixes it, but definately not a viable solution
but on topic in better battery stats look under 'partial wake locks',and see what programs are listed first (and the time spent on the apps)
that should normally tell you whats making the phone not got to sleep
u not gone find anything with battery stats.one of ur app is causing this issue.
u can give battery stats a try.when u.have a virus in windows, dont have have to do full recovery instead buying a virus program and trying to fix it.
greyhulk please try that solution Jpeg42 linked to.
Thursday I was down to 30% when I left work(10 hours). Friday I turned on the screen before unplugging and I was at 25% with 2 hours of screen on time and 21 hours since I unplugged.
Unplugging the phone with the screen off seems to prevent deep sleep. Give it a try.
If all else fails, it might be the battery itself. Hardware issue.
-On another NOTE, Samsung goes 5.3"
mintu123 said:
u not gone find anything with battery stats.one of ur app is causing this issue.
u can give battery stats a try.when u.have a virus in windows, dont have have to do full recovery instead buying a virus program and trying to fix it.
Click to expand...
Click to collapse
Your post is virtually incoherent, however, I will say you seem to be saying BetterBatteryStats won't help, and it most certainly will. What there is no need for is a factory reset, that's like nuking a planet to kill a flea.
Pops_G said:
greyhulk please try that solution Jpeg42 linked to.
Thursday I was down to 30% when I left work(10 hours). Friday I turned on the screen before unplugging and I was at 25% with 2 hours of screen on time and 21 hours since I unplugged.
Unplugging the phone with the screen off seems to prevent deep sleep. Give it a try.
Click to expand...
Click to collapse
Yeah, reading the thread over, that's exactly what I did last night: Took it off the charger with the screen off. I skipped over that thread originally because the title lead me to believe that it had to do with battery drain while plugged in.
I'll give it another test tonight and see if that makes a difference.
I just wanted to post my experiences with deep sleep.
I was getting some pretty bad drain, and I couldn't figure out why. Thanks to the search engine and running into this thread, I tried what you all tried here.
I am running Launcher Pro, and I wasn't going to deep sleep at all. Did the trick posted, even rebooted without it plugged in and it still wasn't sleeping at all.
I cleared the defaults and went back to the default launcher. It went to deep sleep just fine. I cleared the defaults again, then set the launcher back to launcher pro. It is now deep sleeping with the launcher pro as the default.
I then put the phone on the charger, woke it up, unlocked it and unplugged it. Its still deep sleeping. Really weird how it acted, and I figured for everyone else's sake in case they run into that issue again, it could be your launcher that is causing the issue.
A reboot with the phone, after the launcher switch, as the launcher pro as the default, resulted in no deep sleep. Launching the stock launcher while LauncherPro is still the default launcher resulted in no deep sleep.
After a reboot, with no default launcher, launching the stock launcher resulted in, it does not deep sleep.
After a reboot with no default launcher, launching LauncherPro, no deep sleep.
Some really goofy stuff going on...
I am using the overclock kernel but I am not overclocking. I installed it to lower the cpu to 192mhz instead of 384mhz.
I noticed that my phone (Lenovo P700i) barely goes into deep sleep. At the minimum, it always runs at 250 mhz.
Is this considered a deep sleep problem even though BetterBatteryStats shows that there don't seem to be any significant wakelocks?
there's two build props that will make your device enter sleep instanly...If you understand how to edit them..you may want to search for deep sleep build prop tweaks..hope this helps..
Does this app can fix the issue: http://forum.xda-developers.com/showthread.php?t=2030696 ?

Atrix 4g getting very hot and draining quickly

I'm using the Neutrino ROM right now. My phone will get very hot after a while, usually during browsing and the battery will drain extremely quick. It use to not do this. I thought it might be Dolphin HD browser I was using but it does the same with Opera mini.
Any ideas on what I can do to fix this? It never did this before and I'm only half way through my day and it's already at 40%. I use to be able to get through my entire work day and still be in the good 60-70%...
I had this same issue when I first got my Atrix and it started happening after I rooted it and customized it. Even after a factory reset, it still ran hot and the battery drained quickly.
I ended up performing a complete factory reset and took the phone back to get it replaced. The replacement worked just fine, even after rooting it and doing the same customizations I had done with the first one.
If you just got it, I would suggest taking it back and getting it replaced with another one. It could just be a bad battery.
My 2 cents!
Here are a few things to help you diagnose your battery drain issue.
Download "CPU Spy" from the market. This program will show you how long your cpu has spent in each of it's various clock states. This program does not reset it's data until you reset it, and your phone's cpu will not sleep while charging. So charge the phone then open the program and reset timers. Now wait a while and check the stats. Your cpu should be going into "Deep sleep" mode most of the time you are not using it. If it is not 75% or more deep sleep after a couple hours, or if it shows deep sleep under unused clock states then you have some condition (probably an app) keeping it awake.
If you have an app keeping your phone awake you need to determine which one is doing it. This can be done by backing them all up with titanium and deleting a few then testing (takes forever,) or by way of another program. I use a program called "better battery stats" from the market, which is a paid app. This app gives you information on wakelocks, partial wakelocks, and processes that are running. It can be used to find the process responsible, which you then trace back to the app that is using it.
I found out about all this when K9 mail was running away with me. It wasn't too bad as long as I was connected to wifi, but while traveling it would constantly use a very small amount of data and refuse to let the cpu sleep. I deleted it and for about 2 months now I get home after 12 hours with 60-70% or more battery life and about an hour of screen time used. My deep sleep percentage is in the 80's every day. My phone is runnign Jokers's cm9 overclocked to 1.45.
Hope this helps.
Try badass battery off market, it will let you see where it drains
Just switched from Nutrino... What version are you using? EE/GT/GT+? I only used the EE because its stock clock speed. I noticed CPU gets extremely hot with slightest OC. Also, noticed quick battery drain while screen was on (quicker than other ROM's)...
syypher said:
I'm using the Neutrino ROM right now. My phone will get very hot after a while, usually during browsing and the battery will drain extremely quick. It use to not do this. I thought it might be Dolphin HD browser I was using but it does the same with Opera mini.
Any ideas on what I can do to fix this? It never did this before and I'm only half way through my day and it's already at 40%. I use to be able to get through my entire work day and still be in the good 60-70%...
Click to expand...
Click to collapse
syypher said:
I'm using the Neutrino ROM right now. My phone will get very hot after a while, usually during browsing and the battery will drain extremely quick. It use to not do this. I thought it might be Dolphin HD browser I was using but it does the same with Opera mini.
Any ideas on what I can do to fix this? It never did this before and I'm only half way through my day and it's already at 40%. I use to be able to get through my entire work day and still be in the good 60-70%...
Click to expand...
Click to collapse
Also, if your using the gt+ version with the over clock kernel like I am using, do the phone a favor by keeping the phone underclocked at 1000 MHz instead of 1450 MHz. That will help the heating up too. That's what I do. Battery is great too.
Sent from my Atrix with XDA Premium
As Voelker does, I have the 1.3 version of Neutrino but keep it clocked at 1Ghz max with SetCPU profiles most since any overclock tends to get warmer than I want. I havent had a temp crash yet, it's just me being paranoid sometimes. I do set it to 1.3 when I am playing games for smoothness, but I havent noticed any unusual battery drain, just more heat than I want.

RILJ wakelock, but CPUSpy still shows 99% deep sleep?

I honestly don't understand this. A few days ago the RILJ wakelock started showing up on BBS. It seems to keep going up - right now after 16h on battery it's at 16 minutes and the count is nearly 500. It's at the top of the partial wakelock list. The part that got me confused is CPUSpy - from what it shows, my phone deep sleeps perfectly. If I clear stats then lock my phone for, say, one hour, when I turn it back on it'll show 99% of the time spent sleeping and only a few seconds spent at higher frequencies.
How is it possible that I have a pretty frequent wakelock and still be able to deep sleep almost all the time? My battery drain isn't too bad, in fact I think a 3% loss over night (7-8 hours) is brilliant. After using wifi, it'd drain a bit faster, but settles after a while.
And I don't have my phone with me right now so I can't post dumps or screenshots or anything, sorry about that.
Edit: I'm on CM9 RC2, Siyah v3.5 if it happens to matter. I updated to Siyah 3.5 yesterday.
Why did you post this? If your battery is fine and you have no problems then everything is fine, no need for posting right?
Sent from my GT-I9100 using xda app-developers app
Better ask in BBS thread. Maybe a bug, if your battery usage is going fine then I think CPU Spy has no problems .
I don;t think this is really a problem.

Categories

Resources