[Q] Too many wakelocks? - Sprint HTC EVO 4G LTE

I've read about the amazing battery life some of you get and I feel like my phone isn't getting it. I installed BetterBatteryStats and found out even though my screen on time was about 2 hours, my phone was awake for more than 4. I looked at my Kernel Wakelocks and this is what it says:
HS_MGR (1h 12m)
PowerManagerService (1h 10m)
bam_dmux_wakelock (23m)
smdcntl0 (16m)
alarm_rtc (9m)
smdcntl1(4m)
And so on.
I was wondering what these processes are, especially HS_MGR and PowerManagerService. PowerManagerService doesn't seem to be doing a good job when its waking my phone for an hour...
I went into Partial Wakelocks and found location gathering stuff, gmail, g+, etc. so I wasn't worried about that since I would like to get notifications from gmail and other Google services.
Basically, my question is, how can I reduce my Kernel Wakelocks since I'm pretty sure its not right to have my phone be awake for twice the time of my screen on? Thanks.

Do you leave sync enabled in settings>accounts? I leave it disabled, and just enable it when I want to sync.
Yeah, betterbatterystats info is so cryptic, really hard to figure out, and the thread is soooo long and hard to search.
Sent from my EVO using xda premium

I do leave sync enabled, but I'm not going to be disabling it since I need it. If Sync is causing the wakelocks, I suppose its ok. I just don't want some random process sucking my battery.
Sent from my HTC EVO 4G LTE

Related

[Q] wake-up on KH3

Hi,
first, i have to tell you that I'm really surprised about the battery life. I've never experienced more battery life on any firmware before (when I'm not using the wifi connection).
But I've also got some questions, e.g. about the wakeup. It feels strange, the phone wakes up, but it was in idle, no wifi connected or display on...
Another questions is, on KD3, using Juice Defender the battery drain over night (approx. 8h) was only 1-2%, but now around 7-8%. And I also use the Juice Defender with same settings!?!?
Is it correct or what could be the problem and how to fix it?
I'm on stock OXAKH3, CF-Rooted and just removed the usual apps listed in the thread "apps secure to remove" in this forum, with root explorer...
thanks for any suggestions, your help is much appreciated.
Something is going on background. To see what is going on in background install Better Battery Stats and see under 'Partial Wakelocks'. Then you could uninstall it/freeze/modify it as per your need.
http://forum.xda-developers.com/showthread.php?t=1179809
Regards.
thanks for your quick response and the link. it seems to be the solution for my wake-up problem...
I've installed this app, but maybe i'm stupid – For me this app isn't very intuitive.
I'm staring at the whole bunch of entries, but couldn't find any mysterious tasks?
I don't know how to use this app. Are there any alternatives?
666dexter said:
thanks for your quick response and the link. it seems to be the solution for my wake-up problem...
I've installed this app, but maybe i'm stupid – For me this app isn't very intuitive.
I'm staring at the whole bunch of entries, but couldn't find any mysterious tasks?
I don't know how to use this app. Are there any alternatives?
Click to expand...
Click to collapse
Keep checking the Partial Wakelocks option, if anything is going on background you should see it there.
the one on the top of the list consumed the most cpu time, so one of them may be your battery drainer. Open the app, select "wake locks" and look at the top of the list.
yepp, that's what I meant... the top entries are
*network-location* Android-System with 27m 5s – 0,4%
*network-location* Google Services with 26m 16s – 0,4%
JuiceDefender.Service with 15m 57s – 0,3%
hmm, it's curious - this seems not to be the wake-up problem posted before. also how to change those system entries? this could not be the problem, or?
just to inform you, after deinstalling the app getjar, everything works fine again...
and this process or app wasn't listed within betterbatterystats, i think.
thanks anyway.

[Q] Freeze Gtalk_async_conn

How do I completely freeze this service using T backup pro?
I freezed Gtalk 1.0.3 the app, but using Betterbatterystats reveal that gtalk_async_conn still resulting in partial wakelock timing
I have also noticed this.
Anyway we can stop it?
Still no solution? GTALK_ASYNC_CONN is my main Partial Wakelock in the Betterbatterystats (KH3 firmware) and heavy battery drainer with about 60 min of activity during 8 hours...
same problem with me...and no one on Google does not have a solution for this.
installed 'Better Battery Stats' to see what was keeping the phone up and it's "gtalk_async_conn". The thing is that I don't even use Google Talk. I tried to disable auto-login and freeze it with Titanium Backup without any luck. The only thing that worked was to disable 'Background data' but other apps like Market needs that option on.
Literally everyone appears to have this problem, i actually froze Talk in Titanium and have had no problems but is this Gtalk_async_conn related to this or what?
This problem persist more with google Maps 5.8, 5.9 version. I uninstalled the google maps and noticed that problem was solved, issue was not present anymore in wakelock of batterbatterystats. However it's not permanent solution.
same prob here. would be nice if s.o. has a solution
I also uninstalled Google Maps (rooted; used free edition of Titanium Backup) and it helped for a while -- got really minimal battery drain for several hours. But now the problem is back so I'm wondering if it might also be related to Market or Gmail.
I would say this is the answer.
ANSWER
And it would explain why everyone has it.
That post might explain what it is, but it's not very helpful at solving the issue.
I turned off notifications in Market (some versions don't have this setting; try Market 3.1.3). If it still doesn't help then I am going to try turning off Gmail sync.
Turn off all syncing (gmail, calander, etc), turn off background data and you may have it disappear, also don't use anything that uses google c2d push notifications.
Sent from my GT-I9100 using xda premium
I did the following:
- Uninstalled Google Maps (rooted; used free edition of Titanium Backup)
- Turned off notifications in Market (using Market 3.1.3)
- Turned off Google accounting syncing for everything except Gmail (background data / auto-sync still enabled)
Partial wakelocks for GTALK_ASYNC_CONN are now very low. Just a couple of seconds over 15+ hours of low use.
However I think I still have some battery drain (based on Battery Monitor Widget) so I am looking at other possibilities.
claimui said:
I did the following:
- Uninstalled Google Maps (rooted; used free edition of Titanium Backup)
- Turned off notifications in Market (using Market 3.1.3)
- Turned off Google accounting syncing for everything except Gmail (background data / auto-sync still enabled)
Partial wakelocks for GTALK_ASYNC_CONN are now very low. Just a couple of seconds over 15+ hours of low use.
However I think I still have some battery drain (based on Battery Monitor Widget) so I am looking at other possibilities.
Click to expand...
Click to collapse
I am not trying to be a smartass but doesn't your battery monitor widget cause some battery drain?
hondaguy said:
I am not trying to be a smartass but doesn't your battery monitor widget cause some battery drain?
Click to expand...
Click to collapse
Totally valid point. But I have also tried running it with Battery Monitor Widget turned off and I still see the same drain (by looking at the battery history graph).
Also while experimenting, I had a couple of hours where Battery Monitor Widget continuously reported -1mA battery discharge (while Battery Monitor Widget was running of course). The battery history graph was basically flat. So that tells me that I can still run Battery Monitor Widget and get minimal battery usage -- if everything else is working right.
In the Better Battery Stats thread, the developer says his target battery discharge is -2mA to -10mA (measured by Battery Monitor Widget). I know it's possible because I've gotten it before, but lately I'm somewhere around -70mA so that's what I've been working on.
Getting great battery life now with the Gtalk_async_conn issue seemingly gone. I still have Maps removed -- luckily I do not need it much these days. I also notice that Market likes to stay running in the background, where it uses some CPU time even with notifications disabled. Also, turning on Google Calendar auto-sync caused significant battery drain.
Quick summary:
- Uninstall/freeze Maps
- Kill Market if it's running in the background
- Turn off Google account syncing for everything except Gmail
- Turn off "Back up my data" under Privacy settings
I was at about 50% battery after 20 hours. I am running Cognition 1.5.1 with SpeedMod kernel.
claimui said:
Getting great battery life now with the Gtalk_async_conn issue seemingly gone. I still have Maps removed -- luckily I do not need it much these days. I also notice that Market likes to stay running in the background, where it uses some CPU time even with notifications disabled. Also, turning on Google Calendar auto-sync caused significant battery drain.
Quick summary:
- Uninstall/freeze Maps
- Kill Market if it's running in the background
- Turn off Google account syncing for everything except Gmail
I was at about 50% battery after 20 hours. I am running Cognition 1.5.1 with SpeedMod kernel.
Click to expand...
Click to collapse
It's good to know that these mods work, but they are pretty extreme for me, and I would assume many others. I actively use the functionality of Maps and other Google account syncing. I hope that someone can work out a way to minimize the usage without cutting off the functionality completely.
For what it's worth, I see a dramatically higher usage of the GTALK process when I am at work where some of the syncs are blocked on the office wifi. Out of the office on 3G or at home, the amount of time GTALK is active is significantly reduced.
Atrix here but same issue. I agree if turning off syncs is the way to go, I might as well buy a dumbphone
I agree it's annoying. But the battery life improvement is dramatic, even more so than I mentioned in my earlier post. I used to get <20 hours per charge. Now I get about 3 days. Hopefully these are just bugs in the apps that Google will fix in future versions.
Not sure what is causing it. I have turned off auto-sync, logged out of gtalk, and even turned off "Back up my data" and "Automatic restore" from Settings>Privacy.
I still notice 1-2 minutes of partial wakelocks.
Try killing Market if it is running.

[APP]"Greenify" your battery

I already posted about this in the NRG ROM because that's the ROM I'm using, but I am so impressed with the battery improvement after using this app for a week that I had to cross post to a larger audience. I know the battery is the one major drawback on the Amaze. This is just not a problem for me anymore since I started using Greenify.
https://play.google.com/store/apps/details?id=com.oasisfeng.greenify
I've been getting over 24 hours regularly with 3-4 hours screen time. I'm using NRG with stock kernel, but I see no reason why this app wouldn't offer improvement for any configuration. It enables effective hibernation of apps without freezing them. They'll run but only in the foreground. It cuts out all background processes of the apps you select.
You have total control over which apps you want running in the background and allows you to keep the aggressive battery hogs at bay. You select which apps should hibernate. For instance, now Google maps will really stay asleep when it's not being used, no constant wake locks, but unlike with freezing it, you can conveniently launch it when needed. However any apps with background processes that are actually useful are free to do their thing, eg, widgets you want to auto update. It's taming the beast that is android.
And not only is my battery improved, but my phone is more responsive too. Highly recommended. Here's the xda thread:
http://forum.xda-developers.com/showthread.php?t=2155737
thanks a lot for sharing this, will try it out, always wanted an app like this, the maps kill the battery for no good reason.
My pleasure. I hope your experience is as satisfying mine.
dosnt kill maps most apps remain in idle, pending hibernation mode.
EDIT, opened my eyes and read the FAQ. - maps not gonna die :|
Q: Some of my greenified apps (e.g. Google Maps) seems not hibernating.
A: In short, don't worry about frequently awake apps. It will still hibernate in minutes after screen goes off, thus hardly add observable battery consumption. Use battery statistics in settings or "BetterBatteryStats" to confirm that.
While most greenified apps will stay in hibernation quietly, some apps do break hibernation, due to being waken up by others. Some known cases include enabled account sync, backup agent, and explicit launch by other app.
Since version 1.45, Greenify will now automatically turn off directly involved account sync of greenified apps when going to hibernate, to avoid the periodic account sync wake them up. For backup agents, Greenify will NOT disable them, to ensure your backup of app data is always up-to-date. As backup usually does not perform often, they are thus unlikely to be waken up often.
Google Maps is a typical example of explicit launch by other app. Some Google apps, including Google Now (a.k.a Google Search), will start the NetworkLocationProvider of Google Maps for its proprietary implementation instead of the public Android one if Google Maps is installed.
Since Greenify is designed to not break any explicit usage of greenified apps, these behaviors are considered "normal", and will NOT be "fixed". To clear out your unease, Greenify will still put them into hibernation when standby to protect your battery consumption.
Click to expand...
Click to collapse
bilaliz said:
dosnt kill maps most apps remain in idle, pending hibernation mode.
EDIT, opened my eyes and read the FAQ. - maps not gonna die :|
Click to expand...
Click to collapse
You can manually put them into hibernation mode by selecting them, and hitting the pause button at the top of the screen. To help control maps make sure you don't have Google Now running or have it on in a very limited mode. (Google Now sucker punches battery. Honestly, I just presume that anyone interested in battery preservation has abandoned Google Now.) The other anti-maps tactic I use is to go to System Settings>>Location and disable "GPS satellites" and "Location & Google search." I can easily re-enable these through a widget I have set up when I need Maps capability, but it keeps the program quiet for the most part and Greenify does the rest.
The proof is in the screenshots. I never got any battery life like this before Greenify.
Shabidoo said:
The proof is in the screenshots. I never got any battery life like this before Greenify.
Click to expand...
Click to collapse
but in those pics i also see juice defender running, so that may be playing a part too. also there are no phone calls, phone calls take a lot of juice.
regarless of that i have witnessed significant battery improvement with this app, i think i'll be giving a donation to this guy. he deserves it.
bilaliz said:
but in those pics i also see juice defender running, so that may be playing a part too. also there are no phone calls, phone calls take a lot of juice.
regarless of that i have witnessed significant battery improvement with this app, i think i'll be giving a donation to this guy. he deserves it.
Click to expand...
Click to collapse
Lol yea juice defender
Sent from my Amaze 4G using xda app-developers app
I've had Juice Defender going as long as I've had my phone. I use the customization in ultimate, but before Greenify, I was getting around 17 hours battery life. So JD has not been a variable for me in evaluating the app.
I'm not a big phone call maker, but I do use bluetooth for music streaming a lot. I think it was so minor in comparison to the screen usage that day that it probably didn't even register 1% battery usage.
So I'm giving it a try. This a pretty much a light app that kills the app you select when you aren't using it.
Sent from my Amaze 4G using xda app-developers app
Trying this out now but just thought I'd pass along some info that really helped me with maps. Using Autorun manager (free on playstore) I killed any process under map that had the word friend in it and it has made a big difference even though Latitude has been disabled since day 1. There are lots of other battery saving and wake lock preventing things you can do with this app.
Justin
Sent from my Amaze 4G using xda app-developers app
mestguy182 said:
Trying this out now but just thought I'd pass along some info that really helped me with maps. Using Autorun manager (free on playstore) I killed any process under map that had the word friend in it and it has made a big difference even though Latitude has been disabled since day 1. There are lots of other battery saving and wake lock preventing things you can do with this app.
Justin
Sent from my Amaze 4G using xda app-developers app
Click to expand...
Click to collapse
I did the same and it helped my battery life dramatically.
Sent from my HTC_Amaze_4G using xda app-developers app
mestguy182 said:
Trying this out now but just thought I'd pass along some info that really helped me with maps. Using Autorun manager (free on playstore) I killed any process under map that had the word friend in it and it has made a big difference even though Latitude has been disabled since day 1. There are lots of other battery saving and wake lock preventing things you can do with this app.
Justin
Sent from my Amaze 4G using xda app-developers app
Click to expand...
Click to collapse
Thanks for the tip. I am trying this out as well and after 2 days, my battery life has doubled. :good: Even works very well on my wife's GNex, where the battery life is worse than the Amaze

[Solved] high wakelock/keep awake

i have an htc rezound running wildstang83s cm10.1, a HIRO based kernel, and amonra recovery. I don't have any apps that are out of the ordinary but for some reason my keep awake is 10:14:44 and the screen has been on 00:15:45... Its annoying because im chewing through battery life like nothing. I check CPU spy and I only entered deep sleep for 4% of the time and my cpu was running at 1728 (max) for 73.7% of the time. any help is greatly appreciated! perhaps I have some foolish setting enabled... i believe i disabled all syncing/updating
under apps installed I have:
andromouse
battle.net authenticator (key fob for battle net)
cheezburger
chrome
cpu spy
facebook
google+
kernel tuner
pageonce
You need to install an app like Better Battery Stats that will tell you which apps are giving you wake locks.
zourn said:
You need to install an app like Better Battery Stats that will tell you which apps are giving you wake locks.
Click to expand...
Click to collapse
got it, going to let it run all night like usual and see what it says. ill be back in this thread in a couple of hours to let you know if i see anything suspicious
looks like the GPS was causing the wakelocks even though it was disabled. I re-enabled and disabled and then did a battery pull reboot. battery life is much better now! better battery stats really is an indispensable tool

[Q] Google services - high data usage = battery drain

Hi, I have a stock i9300, rooted.
About 3 days ago, I noticed that my device, which normally gets through a day comfortably, was running out of juice by early afternoon.
I've checked the data usage meter and it shows that Google Services is doing something with data constantly. It's not a lot of data (500MB over 7 days) but it's enough to keep my "H+" showing data uploading and downloading all the time, which is not normal behaviour.
As a result of this, the battery is running dry. Even when plugged in, the charging isn't keeping up and eventually the battery runs out, and I have to leave the phone off for a bit to recharge.
I have since turned off background data for Google Services, and I'm hoping this works, although I don't know what I'm going to lose in terms of functionality as a result of doing that.
But I'd like to know what the problem is and why this has suddenly happened as it's really bugging me. Hoping someone else has experienced this. I have searched for other threads on this topic, all refer to battery drain but I don't seem to have the same issue. If I look at my battery stats I'm not seeing Google Services at the top of the list like others. Mine is more to do with data.
Cheers,
Pete
I cant answer why or what it is, but one thing I did notice wasted a lot of battery for me (other than google now of course) was the google backup. You know the one you tick when you first go through the set up wizard on the phone? "Backup this device with google".
piannetta said:
Hi, I have a stock i9300, rooted.
About 3 days ago, I noticed that my device, which normally gets through a day comfortably, was running out of juice by early afternoon.
I've checked the data usage meter and it shows that Google Services is doing something with data constantly. It's not a lot of data (500MB over 7 days) but it's enough to keep my "H+" showing data uploading and downloading all the time, which is not normal behaviour.
As a result of this, the battery is running dry. Even when plugged in, the charging isn't keeping up and eventually the battery runs out, and I have to leave the phone off for a bit to recharge.
I have since turned off background data for Google Services, and I'm hoping this works, although I don't know what I'm going to lose in terms of functionality as a result of doing that.
But I'd like to know what the problem is and why this has suddenly happened as it's really bugging me. Hoping someone else has experienced this. I have searched for other threads on this topic, all refer to battery drain but I don't seem to have the same issue. If I look at my battery stats I'm not seeing Google Services at the top of the list like others. Mine is more to do with data.
Cheers,
Pete
Click to expand...
Click to collapse
hi,
if you have various system or user apps wakelocks, first do a monitoring it with your favorite battery monitor and analysis tool to details.
gmail, google services, backup, sync contacts, other syncs google plus, etc, localization services, call direct or indirectly other apps, bringing more wakelocks (partial, kernel, network - your case I think) ... and more battery drains ... facebook is a classic example ... hungry app
Wakelocks - read it ... enlight your questions
http://forum.xda-developers.com/wiki/Wakelocks
to monitorate and analyse the battery consumption, drain, and wakes use BetterBatteryStats - bbs
[APP][2.1+][16 Apr. - V1.13.4] BetterBatteryStats - thread
http://forum.xda-developers.com/showthread.php?t=1179809
you can use traditional battery savers (i didn't recommend)
I do use greenify together with bbs (paid app - to full hibernate and extras, but very good - the "engine" is different, doesn't kill or freeze, but hibernate system (need root) or users apps. @oasisfeng created a smart and reliable engine - support him
[APP][3.1+] Greenify *ROOT* v1.85 beta 6 (Updated on Jun.6)
http://forum.xda-developers.com/showthread.php?t=2155737
increase my battery and decrease unnecessary wakelocks ... excellent results ...
see other members comments in xda thread and user reviews in google play
https://play.google.com/store/apps/details?id=com.oasisfeng.greenify.pro
i recommend check this:
[GUIDE]Tips to Improve your android battery life
http://forum.xda-developers.com/showthread.php?t=2144661
best regards,

Categories

Resources