[Q] suspend / events in betterbatterystats? - Galaxy S II Q&A, Help & Troubleshooting

hi i have had my sgs2 since may when it came out and have been updating with odin everytime a new FW comes out thanks to Intratech who does a great job
getting to know more and more about android thanks to all the great peeps on the forum!! i in last few days have got betterbatterystats app and have a question at the top of the list it has suspend and events process with a red line in bar graph?? does this mean these are drainin my battery??
with cpuspy if i exit all apps and lock my phone and awake after 5-10 mins i get about 90% deep sleep?
someone help me with my battery life and advise is this good?
thanks to anyone that can help me

Hey I'm no expert but see the thread about what the Android OS usage is http://forum.xda-developers.com/showthread.php?t=1290020

thanks buts that all a little too technical for me!!

If you can't bother to read the thread, then your options are either:
1) just ignore it, because nobody really knows why suspend and events are so high, and there is not much you can do about it; or
2) change your kernel to SiyahKernel, then suspend and events will not show up in the stats, but it will probably not make any difference in your actual battery life.

its not that i cant b bothered i have spent time reading that thread i just dont understand everything everyone is talking about all the time sorry for being abit of a noob mate
i am running speedmods kernal k11 like yourself which i think is probs performing same as siyah kernal not much diff i didnt think in the two..getin decent battery life i just want to try and understand but yes from what people are saying suspend and events process are part of it going into deep sleep or something like that! anyways thanks for your input
i am running stock FW have never realy tried roms maybe this is something i will try in the future or just wait for ICS and see what thats like

Related

[Q] % of total battery usage - display is way to high

Hi guys sorry for this thread new here so please go easy on me. Had a galaxy s2 for a few weeks now and i have to say best phone ever. Did the normal rooting and flashing roms and i have noticed recently that my battery has been going down quite a lot after a few hours. I tried roms like Villainrom, Cognition, Batista and etc which i find them very good but on my battery stats it says that i have high display usage and the percentage is like 56 - 85 and sometimes goes and stays to 91. i have since then when back to 2.3.3 stock firmware rooted it as well and i only have display percentage of only 25% which i think is normal and my battery lasts longer. I have spoken to Samsung regarding this situation and they are sending me a new battery but im just wondering why i cant flash a custom rom without having to worry about the high display % and what can i do to fix it? do i have to give it a few days for the battery to settle on the rom or shall i just stay with the stock rom for now till i get my new battery and then try to flash? sorry for the long essay i just need to find out if any one else had the same problem as i really like to use a custom rom that my normal one.
THanks
I too find it very hard on the battery with all the custom roms that I have tried out. I tried, Villain, Cogniton, LeoMar, Batista, etc..etc..etc. I have in fact tried out all the ROMs out here. Tried even different combinations of Kernel, but all only lead to the frustration when it comes to battery life. I finally tried MIUI ROM and I can say that it is giving me very good battery life compared to other ROMs.
It is interesting to note from you that the STOCK ROM has given you better battery life. Could you please tell me how long did your battery last in Stock ROM and what are the Apps that were running in it?
Install Better Battery Stats, I don't think anything wrong with the battery.
See under Wakelocks what apps/processes are going in background and causing the drain. Then take necessary steps with TB Pro.
Sent from GT-I9100
to xdadeveloporian: thanks for your reply bk and sorry to hear that you had the same issues. like i said above i am very new to all this so apologies if i am replying with noobish comments. with wifi on and the normal widgets i had a battery life over a day. only charged it once and it still going. is that rom that you using now good?
and to ithappy sorry what do you mean by your reply i do not understand sorry. and do you guys think with a new battery it will fix my problems and i will be able to flash roms or do i have a faulty phone?
% is not important, what really matters is total time on for the display. Are you sure it isn't that the stock ROM burns more power in other areas, so the display is less? Or maybe the brightness is different? I'm not even sure how the display proportion of battery drain is apportioned - is there really a current sense integrator?
now that i have the stock rom with firmware 2.3.3 display is 30% followed by android os 15 - 19% which i think is normal into regards were i was on customs roms and the os was 15% and display 50% and over. brightness is basically at the lowest i can put it i am using touchwiz launcher and i only have two pages with widgets and nothing else. just a bit confusing thats all. i mean with custom roms the battery should be alot better not the other way round if you get me.
apologies if im not making any sense here. thanks again for all your replies it does help
tjoannou2001 said:
i mean with custom roms the battery should be alot better not the other way round if you get me.
apologies if im not making any sense here. thanks again for all your replies it does help
Click to expand...
Click to collapse
I don't believe that stuff, why battery life would be better in a Custom ROM, because they added/modified some stuffs, nah. You can make a Stock ROM custom with some little modifications if you are rooted and have great apps like Root Explorer, Titanium Backup etc. I, for me, will never ever use a Custom ROM. But that's just me, don't take it any personally.
And about battery, don't see that how long are you getting with it, like- 1 day, 2 days, they don't make any sense, just keep an eye on the 'Screen On' time, if that is around or above 5 hours then you are very fine. And also keep checking that your Awake and Screen On bar is synchronized or not, if it is not then you must have something going on background, like- Latitude, Email exchange etc. which you can see under Better Battery Stats. And also, when not needed turn off, 3G, Packet Data, WiFi, Auto Sync, Background Sync and check how many apps are on Auto Sync, if not needed then modify it to Manual Sync.
Regards.
ithehappy said:
I don't believe that stuff, why battery life would be better in a Custom ROM, because they added/modified some stuffs, nah.
Click to expand...
Click to collapse
Maybe they fixed some bugs - specifically a custom kernel might have improvements or bug fixes (since there is lots of work going on here from many companies making contributions). This takes time to filter through to the official ROMs.
Maybe they removed some of the stock apps which contribute (maybe only slightly) to power drain.
Maybe the small differences in the ROM mean that existing bugs are less likely to have an impact, so even not fixing the bug it seems to have gone away.
Custom ROMs are as likely to make things worse - but if many people are affected then it is likely that someone will track down the reason.
Look all i know is that as soon as i started flashing custom roms on my phone my battery life has been going down like hell. Checking battery stats the most thing that is taking up battery life is the display being as high as 80 even 90 percent. I am not a expert on android having had an iphone all my life so when people say underclocking and other stuff its like new things to me so i do apologise for being such a noob. i do love my galaxy and i think its the best phone out there at the moment. all i need to know is if there is something that i can do to bring the display down and not to have it drain so much out of the battery..
Thanks again for everyone for replying
very niceeeeeeeeeeeeeeeeee
huh? has anyone else experience high display usage on their phones when checking battery stats?
is that from the android market i can get that app?
tjoannou2001 said:
is that from the android market i can get that app?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1179809

[Q] "Suspend" + "Events/0" Processes Draining Battery?

Hi guys,
So for the past week or so, I've been noticing really bad battery drain on my GS2, and I think I have finally pinpointed the problem.
"BetterBatteryStats" has told me that there are 2 specific wakelocks running in the background, which prevent the phone from going to 'deep-sleep'. These are the "suspend" and "events/0" processes. They are on for hours, preventing the phone from going into a proper 'deep-sleep', and keeping it awake.
My question is, how would I stop these processes from running? I know for a fact that it is not such a common 'bug', because tons of people are getting >18 hours on their GS2 with moderate/heavy use, while I'm only getting about 10 with light/moderate usage.
So in short, why are the "suspend" and "events/0" processes running while the phone is supposed to be in sleep mode, and how do I stop them from running and draining battery?
Thanks everyone!
Well I don't have that problem so can't say. You should ask it on the BBS dedicated thread,
http://forum.xda-developers.com/showthread.php?t=1179809
Regards.
This is the famous "Android OS" bug, which happens only on SGS2. Search the forum and you'll see quite a few threads about it. There is no solution, but keeping wifi off when not in use or setting is to sleep when screen is off helps quite a bit.
aydc said:
This is the famous "Android OS" bug, which happens only on SGS2. Search the forum and you'll see quite a few threads about it. There is no solution, but keeping wifi off when not in use or setting is to sleep when screen is off helps quite a bit.
Click to expand...
Click to collapse
It's not only a bug on SGS2. I've been fighting this problem for quite a while on my Nook Color with CM7. Here's the thread I started.
hmm, I am having this problem as well, I'm used to my iphone, where i can use it all day and still remain above 50% meanwhile every time i pop the screen on my GS2 the percentage is down from last time. its horrible, very much considering going back, I love this phone, but this battery draining situation is out of control for me.. midnight -8:30 i lost 45 percent battery.. screen off..
penskyc said:
hmm, I am having this problem as well, I'm used to my iphone, where i can use it all day and still remain above 50% meanwhile every time i pop the screen on my GS2 the percentage is down from last time. its horrible, very much considering going back, I love this phone, but this battery draining situation is out of control for me.. midnight -8:30 i lost 45 percent battery.. screen off..
Click to expand...
Click to collapse
you might want to have a bit of a read. You never know, might find something
skimminstones said:
you might want to have a bit of a read. You never know, might find something
Click to expand...
Click to collapse
been reading all day and night most stuff lead to a dead end, currently looking at this:
http://code.google.com/p/android/is...c=ID Type Status Owner Summary Stars&id=16721
turning off google sync and stuff is not an option for me, I need push email, and contacts and google reader, whats a smart phone if i need to dumb it down
http://forum.xda-developers.com/showthread.php?t=1290020
skimminstones said:
http://forum.xda-developers.com/showthread.php?t=1290020
Click to expand...
Click to collapse
so basically there is no solution...
penskyc said:
so basically there is no solution...
Click to expand...
Click to collapse
well for me, installing the siyah 1.8 kernel has sorted it and my battery life is pretty damn good now.
Others will tell you its not fixed and the extra battery life im getting is a placebo. But all i know is i used to get 3 hours screen on time and lose 15-20% battery overnight. Now i lose 2% overnight and get 5-6 hours screen on time. If thats placebo then so be it.
skimminstones said:
well for me, installing the siyah 1.8 kernel has sorted it and my battery life is pretty damn good now.
Others will tell you its not fixed and the extra battery life im getting is a placebo. But all i know is i used to get 3 hours screen on time and lose 15-20% battery overnight. Now i lose 2% overnight and get 5-6 hours screen on time. If thats placebo then so be it.
Click to expand...
Click to collapse
hmm, ok, I will look into kernels, I am using an AT&T SGS2 so its a little different kernel wise. I have yet to find anything in my specific forums though.. just switched from an eperimental kernel to a stable, so maybe this will help
I think I just read somewhere in the Galaxy S2 forum that AOS isn't exactly solved on the .14 kernel (which siyah 1.8 is based on)..... it just merely not include suspend and events/0 into the Android OS count for the battery.....
Anyone can shed some light on this?
---------- Post added at 10:28 PM ---------- Previous post was at 10:23 PM ----------
ok, found it
http://forum.xda-developers.com/showthread.php?t=1290020
hope this would be useful
penskyc said:
hmm, ok, I will look into kernels, I am using an AT&T SGS2 so its a little different kernel wise. I have yet to find anything in my specific forums though.. just switched from an eperimental kernel to a stable, so maybe this will help
Click to expand...
Click to collapse
then yea, dont be installing any roms/kernals form this forum. You have a different phone.
skimminstones said:
then yea, dont be installing any roms/kernals form this forum. You have a different phone.
Click to expand...
Click to collapse
yup! I know, just figured since the phone was around longer it would have some more information on the suspend and events/0, which it did, thanks for your help!
skimminstones said:
well for me, installing the siyah 1.8 kernel has sorted it and my battery life is pretty damn good now.
Click to expand...
Click to collapse
is siyah 1.8 better for battery life compared to siyah 2.1 or the newer one?
I tried 2.1, but I still have high android OS.
Using bbs, I see that suspend and events/0 is still around 1 to 3 minutes each day.
I have turned off:
Accounts and sync > background data & auto-sync,
Privacy > back up my data,
Location and sec > use wireless networks.
Any other advice?
a1adin said:
is siyah 1.8 better for battery life compared to siyah 2.1 or the newer one?
I tried 2.1, but I still have high android OS.
Using bbs, I see that suspend and events/0 is still around 1 to 3 minutes each day.
I have turned off:
Accounts and sync > background data & auto-sync,
Privacy > back up my data,
Location and sec > use wireless networks.
Any other advice?
Click to expand...
Click to collapse
Use a 2.3.4/2.3.5 based ROM such as CheckROM HD or Hyperdroid-Androidmeda with Darknight-Siyah Kernel.
I get 3 days of use if i keep data off . With Data on and normal usage i get on average 0.7-1% drop per hour compared to 3-4% of 2.3.3 ROM.I think it's a combination of kernel and ROM that solves the problem.
Earlier CPU Spy used to show lots of time spent at 800Mhz which is what android OS bug does. Now i see it spending 1-2% time in 800Mhz and most of time in deep sleep.
thanks for the reply.
now I am using CRv3.1.1 with speedmod 18test3.
but it seems that from day to day, events/0 & suspend are getting bigger and bigger.
do you know why?
I upgraded to KI3 a long time ago, and froze the hubs + wifi sharing / wifi sharing manager (i never even used the hubs anyways), and what do you know; my battery can now easily last me a LONG time, after 16 hours it still always has AT LEAST 40% remaining, and that is with a few hours screen-on time, data sometimes on, wifi usually always on! I'm extremely happy now!
So in short, for those of you with bad battery life, the least you could do is upgrade to XXKI3 or XXKI4 (they're pretty much the same thing) firmware/kernel. Even completely stock without root/frozen apps is A LOT better than any other 2.3.4 / 2.3.3 ROMs.
CRv3.1.1 is already based on xxkj3, and I have already frozen most of samsung bloatware.
However, I have just found out that kernel is an important factor in high suspends and events/0.
Now I use the previous version: speedmod 17 test 1, and suspends & events/0 decrease a lot.

CM7 Q&A

Since we have Q&A stickies in the Inspire and Captivate forums (as well as a few other fora around here), I thought we need a general CM7 Q&A here for the Atrix.
BEFORE ASKING QUESTIONS IN THE FORUMS, ASK YOURSELF:
Has this question probably come up so often that there is an FAQ that includes it?
OFFICIAL CM7 FAQ FROM THE ATRIX-DEV TEAM​
Phalanx7621 said:
I know how much people LOVE to post questions in here as if it's the CM7 ROM and get all pissy about how things dont' work, but keep in mind that if that were true and a bunch of stuff didn't work it would NOT have been made part of the nightly CM7 releases. Also, it wouldn't have been released if that were the case. The devs work very hard to make sure most major problems are taken care of before every release, but if yer flashing A NIGHTLY, keep in mind it comes with NO promises of functionality and it is STATED in the OP that it shouldn't be used as a daily driver. So if you have a stable version, such as the lastest stable version found on the development page OP, then post a question or comment here after searching for the answer with search feature here and google. Otherwise, there's a Nightly post section as well in the Development side if you wanna look there and that's what yer using. Most of the time if there is a major issue and you can't find it on the bug tracker than it's yer phone, or something you have installed that is messing with the functionality of the ROM. Lastly remember folks, it's the developers job to make their product work with the ROM, not the other way around. Have fun, happy flashing!
Click to expand...
Click to collapse
You know what ? Its a damned good idea. Too many people are cluttering the development thread. Now since no one else has posted a question related to CM7, I have one:
Can someone help me figure out what is eating my battery on standby ?? I don't have that power hungry facebook app and I did some tweaks found ( via SetCPU ) that I found in the development thread, but it made very little difference. The thing is, I just have no idea how to monitor what is using all the power. How did they figure out that facebook was causing a big drain ?
Do you use google latitude?
A very good thing is use BetterBatteryStats to really understand where the CPU is being keept awake. The embed battery stats for example only showed me Android OS as a culprit, but gave me no further details..
my 2 cents
i have heard CPU Spy is great for figuring out whats using up your resources. dont know as i tend to get pretty good battery life (16+ hours with exchange push enabled)
Thanks for the tips. Yes, I do/have used latitude. I'll put an end to that and give those apps a try. Will report back!
Any idea tips & tricks for CyanogenMod Setting?
raunamaxtor said:
Any idea tips & tricks for CyanogenMod Setting?
Click to expand...
Click to collapse
this isnt all inclusive, but it might give you a start
http://wiki.cyanogenmod.com/wiki/CyanogenMod_Settings
Had anyone else had trouble getting the hbogo app to work on CM7? I can login and try to play a video but get audio with no video. The hbogo splash screen plays perfectly when playing a video for the first time.
Edit: Just found a bug report for this exact issue. (issue 163, sorry, I can't post links.)
Sent from my MB860 using XDA App
When I receive a call, my phone goes to a lock screen, I have to swipe the lock screen to answer. On stock, when I got a call, the screen woke up in the dialer app and all I had to do was press the answer button. For the life of me I can't seem to find a setting to change this, any input appreciated.
mobileweasel said:
You know what ? Its a damned good idea. Too many people are cluttering the development thread. Now since no one else has posted a question related to CM7, I have one:
Can someone help me figure out what is eating my battery on standby ?? I don't have that power hungry facebook app and I did some tweaks found ( via SetCPU ) that I found in the development thread, but it made very little difference. The thing is, I just have no idea how to monitor what is using all the power. How did they figure out that facebook was causing a big drain ?
Click to expand...
Click to collapse
Do you by chance have Tango installed? I had it for all of 2 days and noticed my battery died about twice as fast as it normally would. I usually get a good 16+ hours easy with moderate use but was only getting about 9 with the same usage. Did a quick google search and verified tango was the culprit. Uninstalled and back to normal. I don't know if this applies to any other video call apps but might be worth looking into.
emmc
Think I already read something about it, but cannot find right now... What's the deal with /mnt/emmc and /sdcard in cm7 ? Is it possible to get it back like the stock rom ?
I am having problems using Titanium and taking screenshots, think it is something related...
Thanks in advance!
Wifi connectivity drives me nuts on cm7. Had to turn it off and on in order to connect. Someone mentioned to edit propbuild. Idk what that means.
Sent from my MB860 using XDA App
eklam said:
Think I already read something about it, but cannot find right now... What's the deal with /mnt/emmc and /sdcard in cm7 ? Is it possible to get it back like the stock rom ?
I am having problems using Titanium and taking screenshots, think it is something related...
Thanks in advance!
Click to expand...
Click to collapse
You need to go into Setting/CyanogenMod settings/Application, check "Use internal storage" then reboot your phone and it should be back to how it was before.
Betterbatterystats seems to have found some interesting things. Phone on for 1hr and ten minutes.
Under partial wakelocks:
Lightflow: 1hr10m3s
AlarmManager: 58m13s
JuiceDefender:55m44s
There is more ( I can provide screenshot if required ), but those are the top three.
I do find this a little odd. Juice defender was just installed the other day and I can't see how it would cause any problems. Battery was a bit crappy before and didn't get any better/worse. I froze lightflow the other day and battery drain was about the same.
filthyfnj24: Nope no Tango.
I can provide a list of apps if would help as well.
I got watchdog and Im able to detect what cause battery drain while on standby. Its the "suspend" service running on the background with 90% cpu usage ... as soon as I heard the warning from watchdog, I wake my phone and that "suspend" stop immidately. Happen to me since I got this rom cm7. It didn't happen before on alien...
Sent from my MB860 using XDA App
I as well am having problems with Suspend and abnormally high sensor usage.
I got watchdog and Im able to detect what cause battery drain while on standby. Its the "suspend" service running on the background with 90% cpu usage ... as soon as I heard the warning from watchdog, I wake my phone and that "suspend" stop immidately. Happen to me since I got this rom cm7. It didn't happen before on alien...
Click to expand...
Click to collapse
EDIT: upon further investigation I have narrowed down AlarmManager as causing a lot of partial wake locks, but I dont have any alarms set and have not synced my calendar and have the Calendar alerts turned off. However Suspend is showing as a problem as well.
I'm using BetterBatteryStats, SpareParts, and the stock battery manager to try and track this down.
Well, after eliminating Lightflow and turning off Beautiful Widgets small weather, things are improving. Instead of losing 5% per hour on standby, it is now down to about 3%. Juice defender and Alarm manager are still at the top of the list, In 2hrs and 18min I have:
Alarm manager 33m12s
Juice defender 27m56s
So, Juice Defender is next on the list. The funny part is I know that CM7 is causing this. Battery used to last near forever on standby.
Great idea... Stickied. You may also want to check out the atrix-dev-team FAQ and consider suggesting Q/A posts from this thread or links to other posts in other threads, for updates to that FAQ.
Ever since I upgraded from pre-beta 4 to Beta, my phone has had two horizontal deadzone lines on the touchscreen. This persists from ROM to ROM, and is getting to be annoying. I have no warranty, as I bought the phone from a guy who won it in a contest, unlocked it and brought it to another carrier.
Is there any chance that this is a software issue, and can be repaired?
I got it !!!!
Alarm Manager is no longer a problem. Phone now sleeping correctly. I disabled background date, topped off the battery and verified via Betterbatterystats. Now if we could disable background data while it sleeps and re-enable it when you wake it up then we'd be set.

[Q] Issue With Suspend Process using lots of CPU

Hello everyone
I'm pretty new and I need help I do not know what to do?
it's the Suspend process using around 30% CPU for no reason
I have a 2300 Battery and it ends so fast when the phone asleep
i have Rom 2.3.5 and same problem in the 2.3.6
and in 2.3.3 (orange Rom)
when i go to sleep i turn off the WI-FI, GPS, Sync, 3G, Bluetooth and this It still happens
and in airplane mode this happens
what ya should to do? help me please
big big Thanks
coolant_rs4 said:
Hello everyone
I'm pretty new and I need help I do not know what to do?
it's the Suspend process using around 30% CPU for no reason
I have a 2300 Battery and it ends so fast when the phone asleep
i have Rom 2.3.5 and same problem in the 2.3.6
and in 2.3.3 (orange Rom)
when i go to sleep i turn off the WI-FI, GPS, Sync, 3G, Bluetooth and this It still happens
and in airplane mode this happens
what ya should to do? help me please
big big Thanks
Click to expand...
Click to collapse
not an expert on these situation but i can guide you if you want to what threads you can have a look at and read if you like
EDIT: have a read here and it might not be useful to what your problem is but i think it will give you a better idea regarding the suspend on cpu and what is making it like that...specially when the partial wakelocks and all..like i said sorry i cant advise you more but look on that thread and read through and you might get an idea what to do
http://forum.xda-developers.com/showthread.php?t=1179809
I'd love to have your help thanks
coolant_rs4 said:
I'd love to have your help thanks
Click to expand...
Click to collapse
read above i put a link for you..hope it helps

What are wakelocks?

What I read here about wakelocks is that they play a handful role in your battery life.. Would someone be kind enough to route me to more detailed information about wakelocks..
Here are few images of my battery usage.. Would someone explain to me what exactly are these values and are they good or bad..
Thanks.
nicesoni_ash said:
What I read here about wakelocks is that they play a handful role in your battery life.. Would someone be kind enough to route me to more detailed information about wakelocks..
Here are few images of my battery usage.. Would someone explain to me what exactly are these values and are they good or bad..
Thanks.
Click to expand...
Click to collapse
Timelapses that the cpu is not in deep sleep afaik, mostly caused by apps or backgroundservices.
Nice to see you've taken the plunge from N8 to android. (this guy is a renowned custom ROM maker for N8)
Changed myself a couple of months ago.Its a lot of new stuff but its not as complicated as it first seems.
Looking forward to your first ROM
@gee2012
I checked in deep and found that Gtalk tried to connect constantly while my wifi and data transfer is off.. Other than that light flow and few other apps were the reasons for these wakelocks.. Any possible way to reduce this time?
@Shug69
Thanks mate.. It's a long way before I will dive in Android Rom modding.., but surely I will in future once familiar with all stuff

Categories

Resources