yashsingh1/xdaforums huggingface dataset:
[XPERIA X8 Q&A, Help & Troubleshooting] thilina01:
disabling Kaspersky Worked

Yes, It is,

Worked for me also.

Thanks for the hint.
[Motorola Droid RAZR] hashnoz:
hi i want ask about Motorola DROID RAZR XT912 - for Verizon

can i use it on gsm network?
[Motorola Droid RAZR] dey.santanu2011:
No.. it is for Verizon only..

for GSM use, you need XT910, aka, non-Droid RAZR...
[Samsung Galaxy Nexus] psycho2097:
Awesome. theres also a wiki in the betterbatterystats website that explains some of the more known wakelocks, nonetheless, these will be very helpful to a new user.

https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/_pages

Also, the betterbatterystats thread at XDA has some intro level info.

edit: I just realised you already posted individual links.
[Samsung Galaxy Nexus] vick1377:
These wake locks are beginning to piss me off really. Pardon my frustration. Check the screen shots of better battery stats. I don't have touch sounds checked or nfc enabled. I did use media player to play music in the train. I have these wake locks all over the place and haven't found any solution yet. Anyone any help much appreciated;).this is all with stock rooted running Jame bond kernel. Stock kernel was better. Using default UV settings and some profiles.
[Samsung Galaxy Nexus] sishgupta:
Wakelocks are a normal part of the system. You can't get rid of them, but you can minimize the unnecessary ones for sure.

Yeah its unfortunate that the NFC wakelock occurs even with it disabled. Thankfully its very minimal.

The Audioout_1 wakelock im sure is all audio events. Like notifications and perhaps even music playing. Nothing you can do here.

Modem_USB im guessing is your USB Tethering for data? If you turned that off you might get rid of them as they don't even show up on mine.

Basically I would just be focusing on wakelocks that are proportionately higher than the others. If most wakelocks are 2-3 minutes after a full days use but you see a one or more holding wakelocks that are in the double digits, check those out.
[Samsung Galaxy Nexus] vick1377:
Thank you for a quick response. Where do I turn off USB tethering which I don't have? As you see some of partial locks are very high. Also once you stop using per say audio player or mp3 player shouldn't that audio out wake lock go down or disappear. Off topic question when I flashed Jame bond kernel did I have to wipe cache and dalvik cache?

Are there some apps which can tell which apps are bringing these locks? I can post alogcat logs later from PC as I can't attach from phone as it only allows screenshots from gallery
[Samsung Galaxy Nexus] sishgupta:
Settings > More... > Tethering & Portable Hotspot > Make sure everything here is unchecked. You can only check/uncheck USB Tethering if the device is plugged in.

If you stop playing audio I would assume the audioout_1 wakelock to reduce significantly. If you look at your screenshot you see Android Media Player holding a wakelock for 23 minutes, and Audioout_1 for 24 minutes.

So I am assuming that if you didnt listen to any audio, audioout_1 would just say about 1 minute. You may never get it to dissappear fully even if the device is muted. This is something you'd want to try on your own and report back. Remember we're doing research together I'm not doing it for you :)

As for wiping cache and dalvik after flashing a kernel. Franco says you do not have to. So personally I don't. It definitely doesn't hurt other than wasting time. If you do flash a ROM though you must wipe both caches.

Finally you need to decide how much you want to reduce wakelocks. Like if you are listening to music there is nothing wrong with having your device awake. It shouldn't kill THAT much battery. Esp if you clock down to 350mhz.
[Samsung Galaxy Nexus] Thracks:
You can dramatically reduce the AudioOut wakelock by disabling the following in SETTINGS > SOUNDS:

Touch sounds, dial pad touch tones and screen lock sound.

Disabling these three options eliminated my problem completely.

As for myself:

MIPI_LINK continues to be the #1 destroyer of my battery life, regardless of what ROM or kernel I flash. Even just flashing the ROM, wiping the battery stats and then leaving the phone on my desk untouched for 12+ hours can cut 10-20% off my battery life.

It's ridiculous. There is absolutely something wrong with the battery drain on the Galaxy Nexus, but some people have it, and others don't.
[Samsung Galaxy Nexus] vick1377:
Wake locks

Opening this thread is the best thing:). Can't appreciate enough. So, I always have the phone in vibrate mode but turned to silent mode and checked the better battery stats, the audioout_1 still there but I think it's showing still the same as 25 minutes or so and but % has gone down to 6-7% from 10% and above. Regardless the time is not increasing even though it the wake lock is still there. I'm wondering if it doesn't refresh until after fully charge/unplugged. I checked both kernel and partial wake locks with option since unplugged and since charged. What I will do next is drain the battery fully few times too since it's an extended battery I got last week?

One thing for sure I was getting better battery life with stock rooted rom and stock kernel with some setcpu profiles. I made all the nandroid, titanium backups, what I will do next is flash the stock kernel and monitor the results and report back here for comparison. After then I will be super tempted to flash 4.0.3 franco's ROM and nightly kernel :). I'm debating to wait for OTA 4.0.3 or custom ROM:). I'm honestly not at all happy with jame bond kernel in terms of battery life. Can you also suggest some good radios to flash? Part of the problem could be the phone toggling between 3g and 4g connection. Most places I do get consistently but sometimes it switches back to 3g. Flashing new radio might improve the signal strength to keep it consistent on 4g so that no toggling required.

Absolutely we are doing this research together no doubt and you are helping a tons :)

---------- Post added at 01:48 PM ---------- Previous post was at 01:24 PM ----------

Regarding USB tethering, did you mean plugged via outlet or via data cable connecting to computer? When connected via charger cable (not data/charger cable that came with it) to AC outlet, I see usb tethering disable and grayed out. I think you probably meant via data cable connecting to USB port of computer. I will do that tonight once I get home and check to see if these usb related wake locks go away or reduce.
[Samsung Galaxy Nexus] psycho2097:
You are right in the audio wakelock, it happens only when you play something. Its not bad, its not something you should be trying to reduce.

Its not faulty, it happens only when anything is playd, screen lock sounds will significantly increase this, because that does cause a faulty wakelock.

again, hes right here, if you listen to music continuously for a hour or so, and use only the volume key long-press to skip tracks, the gnex uses an extremely low power DAC to play music, takes only around 60-70 ma. You could play for ages without losing significant battery.

I disagree on the cache clean process tho. I have flashed a lot of roms/kernels, and not observing the correct procedure can cause significant problems.Most kernels use different tweaks, mods and scripts to make your system perform better, and its highly possible for one of the tweaks to just stay over and conflict with your new kernel, causing heavy wakelocks. When that happens, your best bet is wiping anyways. So better safe than sorry.

There is nothing wrong. The thing wrong here is that people have misconceptions. DONT CLEAR BATT STATS. It has been confirmed to not change anything. That was old battery tech. After flashing a new rom, i always do 2-3 charge cycles. after a new kernel, drain till empty then charge and use. I may be wrong, but I have never experienced any issues by this method. I regularly get 1% per 1-2 hrs depending on wifi/data on standby. Even 1% per 4hrs in wifi &data off.

You are correct in assuming it doesnt reset till fully cahrged. When fully charged, the <since charged> counter resets, however, any time you plug it in, the <since unplugged> counter resets.

I dont know whether u hav LTE/GSM, but kk6 does wonders for me in GSM. For example yest i was in a factory from 8am-3pm, with no signal time showing 70%. Absolutely no signal inside factory. I mean , like my whole battry bar is red, almost. My Captivate would be dead by 3pm. The nexus still had 72% juice left when i reached home at 3:30pm, that too with 40 mins screen on.

Also, 4.0.3 may have some issues, but thats y we r here, thats y we bought a nexus, to play with the latest and greatest.

THIS

IS

NEXUS.
[Samsung Galaxy Nexus] sishgupta:
I'm just repeating what Franco said. He was very adamant about the kernel having nothing to do with the caches.

Correct. here is more information regarding this

http://www.xda-developers.com/andro...-battery-stats-does-not-improve-battery-life/

IMHO there is no point to this. What would this achieve?

XXKL1 is out. Check it out, its very good. Link in my sig.

Quoted for truth
[Samsung Galaxy Nexus] vick1377:
You guys are amazing. Now I'm seeing some life and some hope :). One thing I have researched around which is an obvious thing lol that GSM users are getting much better battery life than LTE ones. Obviously I'm on Verizon LTE after I dumped AT&T's garbage 3g and their hspa (whatever they call it). Their LTE is only in limited right now and I'm in Tri-State area. Verizon blows every one away when it comes to speeds :). And Nexus was coming to verizon and I was dying to move to Verizon after testing many of their 4g LTE phones at many different locations and stores which just simply blows my wifi speeds away at home :).

By kk6 I'm assuming you mean the baseband radio version you flashed which boosted your signal strength. I haven't flashed roms yet on this, will probably for fun. Are all these radios compatible with stock rom or have to flash 4.0.3 first. OH definitely I love Android to death now. I have been using Apple the crap for few years and missing out the freedom to do anything and everything on the phones. I will never ever never ever go back to Apple and their outdated technology, they come with these new features, technology which has been there for years. What pissed me off the most was iphone 4s what a joke with no 4g and same screen when there are gorgeous looking android devices blow their Iphone 5, 6, 7 probably as they live in stone age :). OK let me not divert attention to real issue:)
[Samsung Galaxy Nexus] Thracks:
I want to correct a misconception. I am not suggesting anyone clear battery stats to improve battery life. I read Google+ like the rest of you. I clear the battery stats so I have a 100% clean battery log to start from before I do any testing.
[Samsung Galaxy Nexus] vick1377:
I do the same just for testing purposes though.
[Samsung Galaxy Nexus] psycho2097:
Yes the thing which does get jacked up sometimes is the charging 'meter' If you so will.so the drop times for battery levels might not be uniform anymore.say it drops like crazy around 60 and very slowly around 10. As I mentioned in my comment earlier that is why I do one or two charge cycles,not to improve battery but to set the meter straight. In the Google+ post it was said that it doesn't improve battery, I agree completely,as I have never found evidence to the contrary. But setting the scale right? I think it does. Anyways without further proof its futile to discuss this point. Let's get back to the point of discussing wakelocks! ;)

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] psycho2097:
Yes I so understand the speeds,I have seen my colleagues bionic. However you must understand that the phone Is maintaining 2 connections at once,because lte is a whole different chip. Its bound to take more battery. Beyond minimizing your wakelocks,using an optimized kernel and staying in a lte area or actively managing lte, you can't do much.

Yes its a radio. I do not think its Verizon compatible. Think its just for GSM,but I could be wrong. And you don't want to start a discussion about apple right now,trust me.as you can see from my sig, I am a fan boy. A PUREBRED ANDROID fanatic. I see anything small or bricklike, name starting with an 'i' ,I go "HULK SMASH!"

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] sishgupta:
You are correct. The basebands starting with XX or UG (or some other region code) are GSM only.

Verizon basebands for the GNex start with a I515 prefix, such as I515.EK04 or I515.EK06. Also IIRC there are two radios for Verizon phones, a CDMA one and an LTE one.
[Samsung Galaxy Nexus] vick1377:
Still couldn't get rid of modem_usb locks and power management locks. I connected via usb data cable to my laptop and usb tethering got enabled (non grayed out) but it was never checked anyways in the first place so I left the way it is everything unchecked. The moment you take the phone of your charger, these locks go up and around 3-15 minutes consuming each about 2-8% or more of cpu. Yesterday it lost around 12-15% in less than an hour. I will test it out today fully and see what I get.

This is what I got in terms of battery consumption yesterday from a single charge and let it drain fully and automatically shut down the phone. And this is on Verizon LTE which obviously does consume more juice especially when used :). I had a screen time of about few 2 minutes shy of 3 hours, battery lasted for 11 hours and some 40 minutes, Android OS - 16%, keep awake about 5 hours 15 minutes. I have had gone about 12-16 hours on stock Kernel but little less screen time of about 2 hours or so.

I will test it today before flashing the stock kernel and test that out completely again too.
[Samsung Galaxy Nexus] edgeicator:
@Thracks and @psycho2097

The battery stats are cleared every time you charge your phone and then unplug it as stated clearly in the google+ post. There's no need to manually clear it ever.
[Samsung Galaxy Nexus] jhericurls:
Well I managed to sort out my Wakelock issues with Autorun Manager. I went into the "Google Services Framework" and switched off my gtalk services. Also switched off a few others.

You can also turn off widgets that you don't use.

PS. Don't blame me if it crashes your phone.

I switched off a number of things and its running fine for me still. Now only have two major Wakelocks, "RILJ" and "MAIL_SERVICE".
[Samsung Galaxy Nexus] vick1377:
Were you able to get rid of modem_usb locks and power management locks? If so, how. Downloading autorun manager as I type this message :)
[Samsung Galaxy Nexus] jhericurls:
These are Kernel Wakelocks? So are Kernel related, I don't have any control.
[Samsung Galaxy Nexus] psycho2097:
RILJ happens when you dont have network, or very poor netwrk. I have huge RILJ drain in my office, no signal there. Cant do anything about that other than quitting my job lol.. :P

---------- Post added at 06:07 PM ---------- Previous post was at 06:05 PM ----------

power management locks, have been described as a combination of userland locks. that means, any time you are making your phone do something while the screen is off, it happens. so anytime you make calls, listen to music, download stuff with the screen off, it happens. Nothing bad.
[Samsung Galaxy Nexus] sishgupta:
"RILJ is the userland counterpart of the RIL (radio interface lib). RILJ handles whatever the phone need to tell or get from the RIL = phone, e.g. dialing but also coarse location."

I'll add this to OP later with a source.

Also I already mentioned power manager in the OP. I meant to anyway I will later if I haven't.
[Samsung Galaxy Nexus] droiddog:
Great thread! I had a bunch of partial wakelocks from GTALK_ASYNC_CONN.... I have gtalk and plus frozen. It was on for more than 15 minutes and was the largest contributor to my crappy battery life today. Any ideas?
[Samsung Galaxy Nexus] sishgupta:
Try signing out of both instead of freezing.

Odd though because I'm logged in to both and actually use them and they didn't really take up much wake lock time.

Mines at two seconds after 15 hours.
[Samsung Galaxy Nexus] droiddog:
Done. I'll report back tomorrow.
[Samsung Galaxy Nexus] jhericurls:
I seem to be getting "nfc" wakelocks even though I don't use nfc and have it switched off. I have also deleted google wallet and tags.
[Samsung Galaxy Nexus] qdroid:
I also have the issue where modem_usb seems to introduce wake locks even with tethering unchecked. I know I have enabled usb tethering at one point but since then, I have disabled but this still pops up. Perhaps something in the kernel that is keeping usb tethering on even if the gui says it's turned off? Does anyone know where within the kernel this would be set on/off?
[Samsung Galaxy Nexus] droiddog:
I logged out of everything but still got a partial wakelocks of 19 minutes. I'm also getting very high partial wakelocks from handcent of almost 40 minutes. This is on 6 hours if battery.
[Samsung Galaxy Nexus] phishie:
Great thread, hopefully I can lend a hand and learn something (more than I already have).

For me I'm getting pretty poor battery life (10-12 hours before charging) on my GSM GN, although I will admit I do like to use my new toy a lot, haha.

It came as a 4.0.1 Yakjuzs running baseband I9250XXKK1. Last night I loaded 4.0.3 Yakju, Manhattan rom, and the UGKL1 baseband hoping for better battery. It seemed to be somewhat better today, but I definitely think it can get better with some wakelock voodoo.

Partial Wakelocks (by %):

"RILJ" is leading the pack with 32m today, Count is 4965 (holy hell, is that high?), acconting for 3.7%. Under Cell Standby in the Battery section of settings I have 9% Time without signal... not sure how that is, I've had strong signal all day. Any ideas? Possibly my APN settings are not ideal? Currently using default AT&T wap.cingular APN.

"AudioOut_1" is #2 with 12m 37s, Count is 260, for 1.5%. This one is pretty simple, I turned off sounds, should see improvement pretty quick I'm sure. I bet the vast majority of this is due to GMail email notifications (might switch ROMs for one that has scheduled sync's), and phone locking sound.

General question, does count matter much? I have a lot of partial wakelocks with small time and % but huge counter numbers.
​

Raw Kernel Wakelocks (no reference yet):

"PowerManagerService" see Partial Wakelocks, enough said.

"mipi_link" on top with 1h 28m 25s c/wc/ec 6867/82/0 and 9.0%. Ha-rumph, this one seems very strange to me. I literally didn't use my camera for a minute today. I've read in multiple places accusations that there is a camera bug with either Google Talk and/or Google+ where the camera is being activated and preventing the phone from entering deep sleep. See more on that here (star the issue so Google looks at it!), and in the franco kernel thread.

Has anyone had any luck reducing "mipi_link"? Any other experience with this or how it may or may not be due to camera activation would be greatly appreciated.

"wlan_rx_wake" is the second dog with 53m 22s c/wc/ec 2336/0/2335 and 5.4%. After googling I found this thread which mentions this is for incoming network traffic. I would bet money that's mostly due to my GMail syncing.. another reason to get that scheduled syncing!

Next few are "radio-interface" 5.1% and "secril_fmt-interface" 5.0% and "alarm_rtc" 3.6%. Can't find much on these but I bet they're related to "wlan_rx_wake".

General question, anyone know what c/wc/ec stands for?​

Sorry long post, tldr;

"RILJ" and "AudioOut_1" lead partial wakelocks. Not sure how to fix RILJ since I have good signal, maybe APN settings? AudioOut_1 is easy, just need to turn off sound notifications. "mipi_link" and "wlan_rx_wake" lead kernel wakelocks. "mipi_link" is strange, guessing it may be the rumoured camera activiation bug with Google Talk and/or Google+? "wlan_rx_wake" is probably due to Gmail Sync'ing and the excessive amount of emails I get during the day.
[Samsung Galaxy Nexus] :
I'm also getting very high wakelocks from powermanagerservice, modem_usb_gpio_wake and modem_usb_suspend_block. My phone barely gets 12 hours with less than an hour of screen time. It's really absurd. I'm running the newest franko with CM9 (I think it's the 23rd build).

Is there any way to stop this madness? I don't have usb tethering checked...
[Samsung Galaxy Nexus] tejaskary:
GTALK_ASYNC_CONN wakelocks

I am also getting these wakelocks, as you can see they are listed in 2 categories now......I have tried disabling Gtalk, and signing out of Gtalk as well, but still these are seen....

I have searched for solutions all over, but I can't seem to find any concrete ones..
[Samsung Galaxy Nexus] edgeicator:
To anyone having gtalk wakelock issues: try opening then closing the camera app to see if that helps. GTalk sometimes likes to open up some video chat service.
[Samsung Galaxy Nexus] :
I still have this modem_usb issue. Did you ever solve it? I've tried even reflashing a different rom to no effect...
[Samsung Galaxy Nexus] mustafaluigi:
I have the modem_usb lock for 100% of the time my screen is off. I have beyond horrible battery life, and I have tried many different kernels. Nothing has helped.
[Samsung Galaxy Nexus] vick1377:
does anyone know how to turn off this damn google analytics crap? I saw in alogcat and saw that it's been trying to connect to google analytics and couldn't connect. And what the hell is nfc showing up in alocat when it's disabled.
[Samsung Galaxy Nexus] vick1377:
Screenshot
[Samsung Galaxy Nexus] s1977:
Is this the System.out entry that suggests profile data saved to server or something similar? I can see two scheduled entries on my logcat one which is Gtalk status updates (15 min schedule) and the other one mentioned above.

---------- Post added at 02:26 PM ---------- Previous post was at 01:41 PM ----------

I periodically see this entry:

I/System.out(5065):[INFO:xxxxx] c: Running delayed flush

I/System.out(5065):[INFO:xxxxx] c: Running flush

Does anyone know what this is?
[Samsung Galaxy Nexus] vick1377:
I think I might have fixed the google analytics issue. Even though the connection is there still used to show in the alocat that connection refused when trying to connect to google-anlytics.com. Download ad2hosts app from market to edit /etc/hosts file with the following two entries.

127.0.0.1 www.google-analytics.com

127.0.0.1 ssl.google-analytics.com

I haven't seen google analytics in the alogcat ever since so far. I rebooted the phone after that just to be sure. So far so good for hours. Lets' how it is for rest of the day. I will keep monitoring.
[Samsung Galaxy Nexus] seegs11:
I'm pretty new learning about wakelocks but here is my dump file. Can anyone access what's going on and if I can make any changes to approve my battery life? Is juice defender even helpful if you already have a custom kernel?

Thanks in advance!
[Samsung Galaxy Nexus] bemymonkey:
Hi guys... any news on mipi_link? I've been wondering what that is...
[Samsung Galaxy Nexus] oblivionstalker:
Help needed

Hi, I just flashed my GSM Galaxy nexus from AOKP B23 to AOKP M4. And over the night, my battery life drop about 25% over 8 hours. From the battery history, I realised that it is due to the partial wakelock.

Can I check what could have happen? Or do I need to install better battery stat to figure out what is going on?
[Samsung Galaxy Nexus] BryanChung:
What's this *overflow* process? Keeping my phone awake.
[Samsung Galaxy Nexus] aidanbree:
periodically I have high wakelocks caused by com.google.android.email

I have today removed my exchange account but it has made no difference.

Any solution?
[Samsung Galaxy Nexus] ssmug:
I posted a similar question in the Q & A section. I just started getting major wakelocks with com.android.exchange.Exchange Services on the native email client. I didn't change any settings and never had any problems before.
[Samsung Galaxy Nexus] DoubleYou79:
Hi there,

just found this thread and hoping I can get an answer on the only strange thing happening on my nexus regarding wakelocks. Every now and then I have huge awake times (80-90%) and pretty much all is because of "bt low power" not exactly sure whether that is the 100% correct description as I don't have the problem today ;-)

Anyone knows what that is?

Thanks