Anyway to find out whats causing wakelocks? - HTC Rezound

I'm getting somescreen off battery drain, Id say around 4 percent an hour, not sure if that's bad or not really, but I've heard people say they've had a lot less.
Im running GSAM and there are no apps running in the background or anything. What I do notice though is wakelocks are high. I've been off battery today for not even an hour and I already have 316. I'm at 91 percent batter and I've sent a few texts. GSAM tells be that I'm getting wakelocks but I have no idea how to actually tell whats causing them.
any ideas?

install betterbatterystats. unplug the phone at night before you go to bed. check out the report in the morning and see where your wakelocks are coming from.

http://forum.xda-developers.com/showthread.php?t=1179809
At the end of the second post are the downloads. Just grab the latest version. Partial wakelocks are application wakelocks, kernel wakelocks are system wakelocks.

Thanks, I just installed it.

loki993 said:
Thanks, I just installed it.
Click to expand...
Click to collapse
Make sure you open it once to get root then plug/unplug your phone to start it capturing.

loki993 said:
I'm getting somescreen off battery drain, Id say around 4 percent an hour, not sure if that's bad or not really, but I've heard people say they've had a lot less.
Im running GSAM and there are no apps running in the background or anything. What I do notice though is wakelocks are high. I've been off battery today for not even an hour and I already have 316. I'm at 91 percent batter and I've sent a few texts. GSAM tells be that I'm getting wakelocks but I have no idea how to actually tell whats causing them.
any ideas?
Click to expand...
Click to collapse
I have GSAM Pro so I don't know if it makes a difference but: open the main window (Battery Usage), look in the lower left corner for the icon that looks like a vacuum cleaner: press it; now you are in the App Sucker window; in the top title line on the right side is a small grey arrow: press it; now it shows two wake options: time held awake and number of times waking device. One tells you the amount of time each app was held awake and the other one tells how many times each app was awakened. Google Maps is a major user
After 14 hours, I have about 400 for a total time of 24 minutes and I'm at 54% with only 1:04 hours of screen time.

Related

[Q] X2 Transparent Lock Screen Slider

Would anyone be interested in creating a 100% transparent lock screen slider?
I think it would create a nice clean minimalistic look on are phones. I had it on my old droid X. Only way currently to do so on droid X2 is to used widget locker which I have purchased, but it seems to drain batt significantly since it is all way running.
If some one is able to do this it would be sweet, and not be a drain.
Moved to proper forum.
I have been using widget locker for months now. I don't see any batter drain. I get 20-30 hours on a single charge with normal usage. Have you actually looked at your battery stats and seen anything more than a 2% drain? Also, what did you have on the lock screen itself? Did you have a lot of widgets running?
AtLemacks said:
I have been using widget locker for months now. I don't see any batter drain. I get 20-30 hours on a single charge with normal usage. Have you actually looked at your battery stats and seen anything more than a 2% drain? Also, what did you have on the lock screen itself? Did you have a lot of widgets running?
Click to expand...
Click to collapse
On widget locker I only use clear lockscreen and time. On my regular home screens I use launcher pro plus. Its configured to use 3 screens. One has lpp bookmarks widget. 2 has be weather pro widget and lpp Calender at bottom. 3 has lpp messaging widget and Google voice inbox widget. I don't think that's too much.
My normally useage is surfing three or four sites a day and checking the x2 forums within the sites. About 4 5 to 10 min phone calls.
I've cleared batt stats several times and checked usage a couple days later and if I add up all the percentages on the screen and divide them by he's I tend to get 3% or more and hour. I've seen it as high as six%
AtLemacks said:
I have been using widget locker for months now. I don't see any batter drain. I get 20-30 hours on a single charge with normal usage. Have you actually looked at your battery stats and seen anything more than a 2% drain? Also, what did you have on the lock screen itself? Did you have a lot of widgets running?
Click to expand...
Click to collapse
On widget locker I only use clear lockscreen and time. On my regular home screens I use launcher pro plus. Its configured to use 3 screens. One has lpp bookmarks widget. 2 has be weather pro widget and lpp Calender at bottom. 3 has lpp messaging widget and Google voice inbox widget. I don't think that's too much.
My normally useage is surfing three or four sites a day and checking the x2 forums within the sites. About 4 5 to 10 min phone calls.
I've cleared batt stats several times and checked usage a couple days later and if I add up all the percentages on the screen and divide them by he's I tend to get 3% or more and hour. I've seen it as high as six%
Right now after 5 he's and 20 min I have 73% phone idle. 13% cell standby. Display 12%. Browser 2%. My phone idle is always very high I don't understand why.
2.3.4 Eclipse 1.2RC1
I am using ADW Launcher EX with ADW Notifier, 3 screens (7 widgets: Twitter, G+, FB, Google Music v4, Digital Clock, Google Search, YouTube), Widget Locker with 4 sliders and a digital clock.
85% Battery Remaining
5 Hours 5 Minutes 53 Seconds on Battery:
47% Phone Idle
17% Display
9% Mediaserver
9% Music
9% Cell Standby
5% WiFi
3% Android OS
I cooked a big lunch this afternoon, about an hour in the kitchen/grill with Google Music v4 playing the entire time.
How can I figure out why my phone idle is so damn high. I suspected that to be my problem but couldn't figure what the heck it is. Im on the atrix port which shouldnt make things that drastically different. It seems like you use your phone more as well.
Well, the phone idle % represents the amount of time you are not using your phone. So phone idle will always be a dominant percent unless you are constantly using it. That doesn't mean it is eating your battery power. What % was your battery at that same time?
If you use your phone less than me, and at 5 hours you are at <75-80% and phone idle is still high then you have a lot of background processes eating up power. I mean, I leave my WiFi antenna on, unless I am driving or somewhere I know I wont get WiFi and I will had 85% while using it for Music for an hour.
AtLemacks said:
Well, the phone idle % represents the amount of time you are not using your phone. So phone idle will always be a dominant percent unless you are constantly using it. That doesn't mean it is eating your battery power. What % was your battery at that same time?
If you use your phone less than me, and at 5 hours you are at <75-80% and phone idle is still high then you have a lot of background processes eating up power. I mean, I leave my WiFi antenna on, unless I am driving or somewhere I know I wont get WiFi and I will had 85% while using it for Music for an hour.
Click to expand...
Click to collapse
So best way to calculate is batt% used divided by hrs? After a calibration.
gkitab said:
So best way to calculate is batt% used divided by hrs? After a calibration.
Click to expand...
Click to collapse
This is a lil off topic and I hope not to assist in highjacking the thread! Where can I find a GOOD calibration method?
quadjacks said:
This is a lil off topic and I hope not to assist in highjacking the thread! Where can I find a GOOD calibration method?
Click to expand...
Click to collapse
I use battery calibration from the market from mariosaige. You can also do it in recovery from the same place you would wipe davlik cache and fix permissions. The specific name of the section in recovery has slipped my mind right now.
gkitab said:
So best way to calculate is batt% used divided by hrs? After a calibration.
Click to expand...
Click to collapse
No, no. What it is saying is if you battery is 85% at 5 hours, of the 15% battery drain 73% of it was due to phone idle. They are just telling your percents of percents lol. To put it in easier terms, assume the battery is calculated in 100 units instead of %, so out of 100 units you are down to 85 units. 73% of that loss is Phone Idle, meaning, you did nothing on your phone probably the majority of the time. If you see significant overall loss(in units) while your Idle % is high, you have too many background process' that are abusing the battery.
Also, keep in mind, 2.3.4 has erratic battery reporting on most devices right now. It may say 65% when you really have 80% or vice versa.
---------- Post added at 11:50 PM ---------- Previous post was at 11:50 PM ----------
gkitab said:
I use battery calibration from the market from mariosaige. You can also do it in recovery from the same place you would wipe davlik cache and fix permissions. The specific name of the section in recovery has slipped my mind right now.
Click to expand...
Click to collapse
Advanced, lol. But it doesn't help on 2.3.4
AtLemacks said:
No, no. What it is saying is if you battery is 85% at 5 hours, of the 15% battery drain 73% of it was due to phone idle. They are just telling your percents of percents lol. To put it in easier terms, assume the battery is calculated in 100 units instead of %, so out of 100 units you are down to 85 units. 73% of that loss is Phone Idle, meaning, you did nothing on your phone probably the majority of the time. If you see significant overall loss(in units) while your Idle % is high, you have too many background process' that are abusing the battery.
Also, keep in mind, 2.3.4 has erratic battery reporting on most devices right now. It may say 65% when you really have 80% or vice versa.
---------- Post added at 11:50 PM ---------- Previous post was at 11:50 PM ----------
Advanced, lol. But it doesn't help on 2.3.4
Click to expand...
Click to collapse
I'm back on attic port now. How do I figure out how much is lost per hour. People have said 2 to 3 % is normal.
I have never used the Atrix ports. I would assume in settings you should still have a battery settings area. If not, hit up the dev that ported the rom and see if you can find an alternative way.
quadjacks said:
Where can I find a GOOD calibration method?
Click to expand...
Click to collapse
"Battery Calibration" works well. I usually leave the phone plugged in about 30 minutes after it indicates full before calibrating. After calibration, I also think it is helpful to let it run all the way down and recharge to full without interruption, as suggested by this app. The times that I have done that, I have let the battery drain down with normal use, rather than accellerating the drain with high-engergy consuming processes. I don't seem to be having the problems that others have reported since the GB 2.3.4 update - especially beyond the frist day or two after flashing a new ROM update.

Phone not Sleeping

I'm having this issue of my phone not sleeping when the phone is off. I checked kernel wakelocks and the number 1 culprit is Power Manager Service. Anybody have any idea what this is. A distant second is wlan_rx_wake but I'm not too worried about this.
The devs are working on it. If you aren't on the latest CM9 build then you should update.
GrayTheWolf said:
The devs are working on it. If you aren't on the latest CM9 build then you should update.
Click to expand...
Click to collapse
I'm actually not on AOSP stuff. I'm on one of Neo's roms.
Edit: I just ran a test and for 34 minutes the phone slept for 33 of them. Even though the phone lost 4 percent of battery in that time. I see people saying they have crazy good battery drain rates (like .25%/hr). I thought i would get better life but I guess thats just the way it is.
jdm2008315 said:
I'm actually not on AOSP stuff. I'm on one of Neo's roms.
Edit: I just ran a test and for 34 minutes the phone slept for 33 of them. Even though the phone lost 4 percent of battery in that time. I see people saying they have crazy good battery drain rates (like .25%/hr). I thought i would get better life but I guess thats just the way it is.
Click to expand...
Click to collapse
that rate is based on usage. keeping apps from starting. keeping apps running in foreground all the time. lots of frozen unnecessary apps. screen brightness between 10-20%. betterbatterystats monitors wakelocks
dyetheskin said:
that rate is based on usage. keeping apps from starting. keeping apps running in foreground all the time. lots of frozen unnecessary apps. screen brightness between 10-20%. betterbatterystats monitors wakelocks
Click to expand...
Click to collapse
When saying .25% per hour I was talking about during sleep but I get 3-4% during sleep. I am going to try and wipe everything and start from scratch. But if my phone is sleeping >90% of the time when the screen is off, there's not much I can do to improve battery drain during sleep no(app wise), and screen brightness won't help at this level cause it's when the screen is off?
have to watch for partial wakelocks or any wakelocks. apps automatically starting when not needed or still running will reduce your amount of deep sleep. use betterbatterystats to monitor usage while it's off

[Q] Sudden drop in battery life - BBS Log included

Hi everyone. I hope this is the right forums for this thread.
I noticed a decrease my the uptime of my phone over the past few months - which is due to the age of the battery I guess, no nothing alarming.
But a few days ago, I flashed a custom rom (I was on Supernexus 2.0 - http://forum.xda-developers.com/showthread.php?t=2076650) Slimbean build 8 (http://forum.xda-developers.com/showthread.php?t=2060541) and all of a sudden my battery went haywire.
The phone would heat up for no reason (as if on charge + everything toggled on + playing a game and microwaving it at the same time) and I lost 40-50% over 20ish minutes.
I reflashed it with the same rom and the problem stayed though it was less frequent. Still I barely manage 4 hours without a charge (lasted at least 20 before that flash)
I went back to Supernexus (v3.0 http://forum.xda-developers.com/showthread.php?t=2407449). Battery life seems to have improved at bit and phone heats up less.
However on using the phone moderately - some internet browsing over wifi - I lost about 30% over 30 minutes which is at least twice as much as what I was experiencing.
On checking battery usage I noticed "Android OS" was coming on top (same as with previous rom) as opposed to the screen which was eating up most of my battery before.
I checked BBS but saw nothing out of the ordinary but maybe I can't read it properly since I'm not used to it.
So I don't know what to do now. Help anyone?
Edit: Added BBS log
Try a new battery (Go with the obvious stuff first).
Andish said:
I checked BBS but saw nothing out of the ordinary but maybe I can't read it properly since I'm not used to it.
Click to expand...
Click to collapse
Why not post the BBS log then? Maybe somebody else can read it properly for you
fxrb said:
Why not post the BBS log then? Maybe somebody else can read it properly for you
Click to expand...
Click to collapse
Cause I'm a derp who forgot to attach it Edited first post
MistahBungle said:
Try a new battery (Go with the obvious stuff first).
Click to expand...
Click to collapse
I didn't see your message. I have no access to another battery unless buying one of course - which I'd rather avoid doing if it's not the problem.
I don't see this BBS log corresponding in any way with what you said in your first post.
From the log one can see that your battery dropped by about 70% within about 10h, i.e. 3.5% / 30min and not 30% / 30min as you said.
With a screen-on time of 1h 28m within those 10h 18m total time, the values are not really that bad I think.
To further improve the situation you should take care of the first wakelock (NetworkLocationLocator). Without this service waking up your phone permanently it will remain an additional 35m in deep sleep, consuming very little battery. Use google or search on XDA for what you have to disable to get rid of this wakelock.
fxrb said:
I don't see this BBS log corresponding in any way with what you said in your first post.
From the log one can see that your battery dropped by about 70% within about 10h, i.e. 3.5% / 30min and not 30% / 30min as you said.
With a screen-on time of 1h 28m within those 10h 18m total time, the values are not really that bad I think.
To further improve the situation you should take care of the first wakelock (NetworkLocationLocator). Without this service waking up your phone permanently it will remain an additional 35m in deep sleep, consuming very little battery. Use google or search on XDA for what you have to disable to get rid of this wakelock.
Click to expand...
Click to collapse
Well when I went to bed it was at 100% charge. 87% on waking up (~8.30). I checked my mails, and browsed the net a bit (~9.00) it was at 56%
I fiddled around in google services. I didn't check it after flashing. Some stuff were checked by default. Will see how goes.
Andish said:
Well when I went to bed it was at 100% charge. 87% on waking up (~8.30). I checked my mails, and browsed the net a bit (~9.00) it was at 56%
I fiddled around in google services. I didn't check it after flashing. Some stuff were checked by default. Will see how goes.
Click to expand...
Click to collapse
I've been running into similar issues, and doing a battery calibration seems to have helped me (so far). My phone would use battery quickly and also shut off without warning. I have used the option to "Reset Fuel-Gage Chip" in STweaks when running Siyah Kernel, but since I'm using SuperNexus 3.0 (not sure if I can use Siyah Kernel with it), I downloaded an app off the play store last night simply called "Battery Calibration". I'm still letting the battery drain completely so I'm not sure how well it works yet. Apparently it just deletes the batterystats.bin file.
After running the Fuel-Gage reset on my previous ROM, my phone no longer shuts off without warning. It would start to flicker the screen, kill the data, and then shut off with plenty of battery left according to the OS.
Doing this may hopefully help you as well, since you've been switching ROM's.

[Q] Too Many Wakelocks...

I just got my G3 yesterday but the battery drains so quickly. I rooted and added BBS and there are so many sensors and such kept awake. In just wanted to see if anyone has a clue,what I should do to contain these.
tomkins0752 said:
I just got my G3 yesterday but the battery drains so quickly. I rooted and added BBS and there are so many sensors and such kept awake. In just wanted to see if anyone has a clue,what I should do to contain these.
Click to expand...
Click to collapse
Kernel wakelocks don't keep the device awake per se. Those are processes that run when the screen is on. That's why the duration of all of them is almost the same. There's not going to be much you can do about those until/if custom kernels come along. You can try a factory reset, though I don't think it will help.
You should focus on partial wakelocks since those keep the CPU on when the screen is off.
hawkswind1 said:
Kernel wakelocks don't keep the device awake per se. Those are processes that run when the screen is on. That's why the duration of all of them is almost the same. There's not going to be much you can do about those until/if custom kernels come along. You can try a factory reset, though I don't think it will help.
You should focus on partial wakelocks since those keep the CPU on when the screen is off.
Click to expand...
Click to collapse
This list for kernel wakelocks goes on for a while. The partial wakelocks are minimal, but whatever is causing these kernel wakelocks is whats causing the device to get warm, and subsequently draining the battery at an accelerated rate (roughly 7%+ per hour with minimal usage.)
I have never before seen such an extensive list from BBS on any of my other devices. Usually its the accumulator of all the partial wakelocks at the top of the list of kernel wakelocks by a large margin.
tomkins0752 said:
This list for kernel wakelocks goes on for a while. The partial wakelocks are minimal, but whatever is causing these kernel wakelocks is whats causing the device to get warm, and subsequently draining the battery at an accelerated rate (roughly 7%+ per hour with minimal usage.)
I have never before seen such an extensive list from BBS on any of my other devices. Usually its the accumulator of all the partial wakelocks at the top of the list of kernel wakelocks by a large margin.
Click to expand...
Click to collapse
I'm with you. Been searching around for things I can freeze/hibernate to minimize wakelocks. Like stated earlier though we really need a custom kernel to get rid of a lot of those Kernel ones. The Partials aren't really that bad.
I have only had this phone since earlier today though so I'm keeping my eye on BBS like you are
Sent from my VS985 4G using Tapatalk
This phone does seemto have a ridiculous abou amount of activity going on. I had the dreaded (nlpcollectorwakelock) battery drain my first day but a reset took care of it. My battery had since calmed down and I'm getting good sot now. My android os stays at around 14-20%as well but a long as my sot is decent I'm not stressing anymore
Sent from my VS985 4G using Tapatalk
Yea mine is only draining at around 3% am hour with my use according to BBS.
That's just on WiFi and doing some browsing + Tapatalk+ a little YouTube.... So I can't complain.
It'll take a few charge cycles plus keeping an eye what else I can freeze and hibernate.
Considering the display on this thing that's pretty good I'm happy.... Be a little happier with a SaberMod ROM and Kernel though [emoji2]
Sent from my VS985 4G using Tapatalk
tomkins0752 said:
I just got my G3 yesterday but the battery drains so quickly. I rooted and added BBS and there are so many sensors and such kept awake. In just wanted to see if anyone has a clue,what I should do to contain these.
Click to expand...
Click to collapse
My battery life is just as good as on my G2. Under normal (moderate/moderate-heavy) use I can get a day out of it easily. Yesterday I went to bed with about 44% left after over 13 hours use (with 2.75 hours of screen-on time).
I would recommend using CPU Spy to make sure the phone is going into Deep Sleep. There might be some process keeping it at a higher functioning state and not allowing the phone to hit Deep Sleep. For the most part, the phone should be in Deep Sleep longer than any other processor state.
I think a factory reset is in order. If that does not help you might just have a bad device, or a bad battery.
mrhumble1 said:
My battery life is just as good as on my G2. Under normal (moderate/moderate-heavy) use I can get a day out of it easily. Yesterday I went to bed with about 44% left after over 13 hours use (with 2.75 hours of screen-on time).
I would recommend using CPU Spy to make sure the phone is going into Deep Sleep. There might be some process keeping it at a higher functioning state and not allowing the phone to hit Deep Sleep. For the most part, the phone should be in Deep Sleep longer than any other processor state.
I think a factory reset is in order. If that does not help you might just have a bad device, or a bad battery.
Click to expand...
Click to collapse
My phone is showing a huge number of sensors wakelocking the phone, and it was only in deep sleep 17% of the time since I unplugged it 6 hours ago. That kernel wakelock for the sensors needs to be fixed and then our battery life will be stupid good. You can't get as much screen on time on the G3 as I do on my G2. I was getting up to 10 hours of screen on time on my G2 the best i've managed was 3.5 on the G3. However, custom kernels will probably help there.
PWn3R said:
My phone is showing a huge number of sensors wakelocking the phone, and it was only in deep sleep 17% of the time since I unplugged it 6 hours ago. That kernel wakelock for the sensors needs to be fixed and then our battery life will be stupid good. You can't get as much screen on time on the G3 as I do on my G2. I was getting up to 10 hours of screen on time on my G2 the best i've managed was 3.5 on the G3. However, custom kernels will probably help there.
Click to expand...
Click to collapse
The Sensor WakeLocks are quite ridiculous indeed, but what is your phone showing for Partial WakeLocks and Alarms in Better Battery Stats???
Only way I could get mine under control was to use App Ops to limit Google Play Services to NOT keep my phone Awake.
Then I located COM.LGE.IMS and disabled its Receivers then froze it.
Then I Greenify everything possible lol
That Com.LGE.ims thing was waking my phone like crazy, maybe 50-100 times an hour if I remember correctly and I don't even use the feature its tied into... WiFi Calling
- Sent From My G3

I left the AOD on while I was asleep to test it out and it drained 30% of the battery

I'm not exactly sure what is causing it to drain like this. I'm assuming it's not supposed to be this bad otherwise nobody would be using it.
Strange. ..
No bother here, AOD I have no use for especially with extra battery drain.
It can't be the AOD. I've been playing around with this since your post yesterday. I've been unplugged since before 6am and it is now after 1pm here. Battery usage is saying I've been unplugged for over 7.5 hours. In that time, I've used 15% with 7% in the last three hours. Since then, I've had AOD on, watched a few youtube videos, listened to music from the SD card for about an hour, checked email and texts, checked G+ a couple of times, and scrolled through Instagram. Phone idle is reading 4% usage, Android OD is 2%, Google Services 2%, Screen 2%, Music 1%, Android System 1%, Youtube 1%. Which leaves a few mystery processes that didn't register enough to warrant a 1%.
Hi,
Make sure in aod settings that brighter display is not enabled. I agree with the previous post that since having the phone for a week and a half that aod is very minimal on battery usage. Personally I think it is a great feature since there is no led to show missed text or emails. I just glance at the screen to see if I missed any without having to unlock the phone.
Thanks,
Bryan
AOD might take 10% over 8 hrs at most. You def got something else happening.
Sent from my LG-H932 using Tapatalk
I'm not sure what's eating it up then. I have wifi enabled but I don't think that should cause so much discharge.
Can you try the test again tonight in airplane mode? That will give a more accurate result.
Mudig said:
I'm not sure what's eating it up then. I have wifi enabled but I don't think that should cause so much discharge.
Click to expand...
Click to collapse
Maybe try to turn off anything that syncs and test again? Im thinking Google auto syncs and the like.
phone idle 39% then second is android OS at 31%
39%? You definitely need to look into what else is running because I can tell you it isn't AOD. I get about 1%-ish per hour for phone idle.
CHH2 said:
39%? You definitely need to look into what else is running because I can tell you it isn't AOD. I get about 1%-ish per hour for phone idle.
Click to expand...
Click to collapse
Do you recommend something? Nothing tells me in detail to what is causing the discharge. My phone is not rooted and I don't really plan on doing it. Now it's saying idle 55% and Android OS 41%
No idea what to tell you to look at. I just know that I'm running AOD my phone sips 1% of battery over an hour's time if I leave it alone. There's something else going on with your phone when it idles.
Personally, I'd do a master reset ... if it continues - and not associated with an app - trade that sucker in for a new one.
Okay so this may sound odd and I can't officially say it's related but I disabled google's location history on my old phone and so far there's a noticeable difference. I will test it at night when I go to sleep. Usually by the morning 30% of the batter is drained.
Did you try to disable all google syncing?
This is really weird. I just checked my phone and I've had it off of a charger for the past 9 hours. I'm only down 10% battery and only 3% phone idle battery usage. I checked my google location history and that's turned on as expected.
CHH2 said:
This is really weird. I just checked my phone and I've had it off of a charger for the past 9 hours. I'm only down 10% battery and only 3% phone idle battery usage. I checked my google location history and that's turned on as expected.
Click to expand...
Click to collapse
So I left it the same way I normally would over night and this time it drained 9% instead of the usual 30%. Although the usage still says 41% on idle. I don' t know what's going on. I may have to do a factory reset as suggested by someone else
I noticed something weird. If you've got sync on for all of Google services but have each app (Like Drive, Etc) setup to update on Wi-Fi only, it might keep it attempting to sync forever. I went into each individual app and changed to update over Wi-Fi and data. Then the sync completed. Not sure if this is relevant but I thought it worth looking into if you've got sync on.
Sent from my LG-H932 using Tapatalk.

Categories

Resources