yashsingh1/xdaforums huggingface dataset:
[Android General] T.J. Bender:
Come on, guys, please keep this thread on topic.

Wanted to share some results with you. Screenshots below. No KWLs in 24 hours since being unplugged...not half bad. PWLs are within reason, especially considering that Alarm Manager is one of those PWLs that will hold even if your screen is on. The only thing that strikes me is Twitter alarming my phone 6 times, when it's set to never auto-refresh. Not a huge deal, but worth investigating.

70% battery 24 hours into a charge, screen-on time of 31m. Granted, I have barely used my phone today outside of sending a few texts, checking into XDA once and playing a few quick hands of Blackjack, but I'm still pretty stoked with this run.

**EDIT: Good thing I checked! Twitter had automatically updated earlier in the day, and when it did, it reset itself to sync every hour. Switched it back to never sync, and that should solve it.
[Android General] onealvideo:
I don't use calendar,I use business cal free, but I am thinking if you start messing with calendar it will freak out Google Now.

Do you have Google Now enabled?

Try turning it off and seeing if that wake lock still happens....

Google Now uses all types of "Next Alarm" in BBS....

GOOD LUCK!
[Android General] T.J. Bender:
onealvideo's on the right track. Google Now will wake up other processes to help itself "learn" your patterns and deliver cards when relevant. I don't use it for a variety of reasons, that being one of them (albeit low on the list).

Could also be that your calendar is set to sync every 15 minutes or something ridiculous like that. I'd almost think that's more likely than G Now causing it.
[Android General] T.J. Bender:
I will no longer be actively maintaining this thread. My Rocket's been semi-retired, and while I'll still help out as I'm able, I won't be actively tracking down explanations for new wakelocks.
[Android General] AB256:
Could not find "mipi_link" KWL

Hey there,

My #1 KWL is, as expected, PowerManagerService, which can't be dealt with.

The #2KWL is "mipi_link" (12%) and I could not find any info regarding that here.

Could you give a solution for this?
[Android General] pickupman66:
Great thread, I basically read thru most of it looking for an answer I cannot seem to find but seem to remember that I read somewhere in the past few days. My biggest batteryissue is with Google now and Alarm Wakeups from com.google.android.apps.maps. in 10 hours I had 913 wakeups from this bad boy. I have determined that it is associated with teh phone reporting its location to google in association with google now. killing this location service would be detrimental to Google now and I dont want to do that if I can. I am looking for a Happy medium.

Is there a scheduler app where i can schedule this service to only wake every 15 minutes? this way it could still give me updates via NOW, but instead of 10 or more wakeups per hour, it is 4. I can notice a big difference in battery drain. that said in 10 hours I have had a 53% battery loss. with an hour and a half screen time and wifi 95% of the time.

does such an app exist? I know I can totally kill the service with autoruns.

thanks for the help. I am no looking to go 3 days on battery but just looking to get all I can in a day from it.
[Android General] Didgesteve:
AudioOut_3

I had this wakelock for a long time, and I couldn't figure out what it was.

Turns out it is caused by Poweramp.

Under headset settings there are options for

Pause on headset disconnect

&

Resume on headset connect

&

Resume on BT A2DP connect

Having these options enabled means that an audio chanel is held open, even though you are not playing music, using poweramp, or using Bluetooth.

It may be the same in other audio players, but I can't confirm that as I only use Poweramp.

Hope this helps.
[Android General] promiseofcake:
Based upon my research this wakelock, while it can be attributed to Google Maps or Facebook, can also happen if the GPS has been turned on at all. I see threads for many different phones detailing that once GPS is used for something and then disabled, the wakelock begins. One person's solution was to never turn GPS off, I am still looking for a better solution.
[Android General] Datron:
Based on unscientific research, I've found that rebooting once a day helps minimize gps wakes.

Unclefest v2 alive and kicking - support SeanZ!
[Android General] androidwkim:
Does audio_pcp and audpp naturally occur when music is played? I'm noticing fast drain on an ICS rom when playing music with Poweramp; the Poweramp battery drain only happens on android 4.0+. When I check the default android battery stats, mediaserver is my biggest drainer, yet poweramp should not be directly causing this wakelock. What is going on?

My device is an Xperia Ray, by the way. This is the only thread of its kind that I could find so I had to post here.
[Android General] Ba7rani123:
Vbus_present isnt explained properly in the OP

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

This explains it all... Hope it helps... we shouldnt worry abt it anyway
[Android General] Trinition:
I read your link, but it doesn't explain why vbus_present sticks around even when I unplugged, keeping the phone from going into deep sleep.
[Android General] bobdoblo:
Great thread T.J, very helpful to many people

Should be part of BBS!

Thankyou:)

NeatROM Powahh!
[Android General] hechoen:
As soon as someone figures out why it's happening it won't happen anymore because there will be a fix. Until then the only way to make it stop is to reboot the phone. It only happens to me using a car charger and never a wall charger.
[Android General] plwalsh88:
Instead of a reboot, just unlock your phone before unplugging it.
[Android General] hechoen:
Good to know. I actually have an inverter in my van so I just use the wall charger with that but I'll keep it in mind next time a have to use a car charger.
[Android General] plwalsh88:
It actually happens to me with the wall charger. And I actually just thought about this the other day... with a power inverter, does the phone charge at the rate of a wall charger or a car charger? Cause it charges slower through a car charger right?
[Android General] mtdew:
It charges as fast as the lowest output so if the car puts out that line less than 1 arm it will be less than 1 amp if the line and inverter can do outputs over 1amp then as long as you are using the cube it will do the 1amp output. Car chargers are slower generally because the output is crap
[Android General] hechoen:
The inverter puts out over 30 peak amps so it will easily power the wall charger. lol What it really boils down to is the amp rating of the charger itself. Most wall chargers are 1 amp. So if your car charger also is 1 amp then charging times should be the same. If the car charger is rated to less then 1 amp charging time will be reduced by that percentage. Also when charging in the car a lot of people are aslo using the phone for other things such as Nav or music. If the phone is already drawing .2 amps to do those things the net return left for charging will only be .8 amps(assuming a 1amp charger). This could be one of the reasons people think that car chargers take longer to charge.
[Android General] mtdew:
Problem is most car chargers are rated between 500 and 750ma output. It takes a nice one to get 1 amp
[Android General] xcrazydx:
Haha, mine is 2 amp. Charges fast even when using as GPS and music.
[Android General] mtdew:
Can the phone utilize that high output is the next question.
[Android General] hechoen:
Exactly. Add that to the fact you're most likely using the phone in some way when it's charging and slowwwwww charging. Plus car charges don't have data pinouts so the phone itself will limit it to .5 amps of charging. If you do have a 1 amp(or higher) car charger you need to mod the pinouts to trick the phone into thinking it's connected to a data cable. There are a few threads here on XDA on how to do that.

Edit: This should answer the two posts above. I was typing this up when you guys posted. LOL Great minds do think a like.

xcrazydx: If you do mod the pinouts with a 2 amp charger don't leave it plugged in after it's fully charged. That extra juice will convert itself to heat which isn't the best thing for the battery.
[Android General] xcrazydx:
I didn't mod anything, it just charges a lot faster than the old one I had. All that I know is, it charges pretty quickly even when running GPS and music. Before it would barely maintain its current charge.
[Android General] Ba7rani123:
ooow :rolleyes: I didnt see this issue...
[Android General] JamesDin:
I attached a picture and wanted to know if this is normal or too much

I'm talking about ConnectivityService wakelock.
[Android General] mcluvin1065:
Why is android giving me so many wake ups?
[Android General] T.J. Bender:
Could be all kinds of reasons. Number of alarms isn't important; wakelock time is. If the Android alarms aren't holding you awake for an inordinate amount of time, don't worry about it.
[Android General] mw86:
Like tjbender said the alarms stat dont worry about. Flip that option to partial wakelocks and kernel wakelocks and see what it says.

GS3 L710 4.2.1 AOSP Kt747 2.1Ghz ROW/Ktoonservative *Tapatalk
[Android General] KennyG123:
Is there a problem?

Thread cleaned

This is a put down/ flame free area

If you don't like someone's screen please keep it to yourself

And repeating it to be annoying really annoys this Friendly Neighborhood Moderator

Don't be a troll. Be cool instead

FNM
[Android General] mw86:
Thank you! Peace has been restored. Thank you again Kenny, I can't stand to see those type of words and even more so how they were meant only to cause hurt.

GS3 L710 4.2.1 AOSP Kt747 2.1Ghz ROW/Ktoonservative *Tapatalk
[Android General] aguycalledalex:
SCREEN_FROZEN wakelock?

Hi T.J. Bender, could you explain the SCREEN_FROZEN wakelock a bit more? Just got my phone 2 weeks ago, and since i booted this morning for example (3 hours ago) its already showing: 17s (17s) Count:728 0.2%, should i worry?

Thanks!
[Android General] promiseofcake:
17s out of 3 hours is about a 10th of a percent. (0.0015740). If that is your number one wakelock you sir are lucky.
[Android General] jyazzie110:
Hey TJ you should make one of these threads in the Note 2 forums....:)

Semt from my Galaxy Note 2 running SkyNote2.1
[Android General] garydv2002:
All he needs to do is copy the op and paste it in a new thread but I dont really see why since pretty much the same wakelocks happen on all android phones. I know if you google search wakelocks it finds this thread pretty easy but you have been here long enough to know that the noobs dont know how to use google lol
[Android General] T.J. Bender:
For reasons of my own, no.
[Android General] bso44:
Anyone know what NetworkLocationCallbackRunner is and how to stop it? This is the one process that consistently causes partial wakelocks on my S3.
[Android General] Dobabobalina:
THANK YOU for creating this post, it has been extremely helpful. People like you are why I love Android & XDA.
[Android General] cet90:
Bro please help, what is baseband_xmm_power wakelock does? and how to solve it? :good:
[Android General] T.J. Bender:
Never seen that one. What phone are you using?
[Android General] cet90:
im using one X seems like i cant get help here.. haha... thx anyways for the INFO at OP :good:
[Android General] promiseofcake:
This thread says something about disabling automatic network selection, could this apply to you? http://xdaforums.com/showthread.php?t=2033765
[Android General] Hilmesh:
hi there , can someone help me with this wakelock. http://xdaforums.com/showpost.php?p=36792790&postcount=12424

i have started getting the same all of sudden. I would like to avoid a fresh install if possible. Please advise.
[Android General] T.J. Bender:
Again, never seen that one. How big of a wakelock is it? 10m in 3 hours or so isn't terrible.
[Android General] promiseofcake:
Have you modified voltage settings?
[Android General] Hilmesh:
No. I have not touched any voltages
[Android General] pickupman66:
On the Media scanner, I found this:

"I figured why the media scanner was freaking out: it was the new CWM Backup format with blobs. In the blobs folder were about 3700 files and that was probably the issue.

I changed the backup format in cwm to tar but I also read that adding a ".nomedia" file to the blobs folder might work in case you are doing and having many backups."

I had a No media file in the CWM folder and this didnt work. I had 3 or 4 backups in my device. deleting them I went from 20 minutes of media scan to 2, and I have a good deal of music on my external SD. I changed this backup format in CWM to the Tar.
[Android General] bso44:
bump

Anyone?
[Android General] mw86:
I would like to know the same thing. If anyone has a clue or the OP can you explain what its function is and is it part of integral functions of our phone?

GS3 L710 4.2.1 AOSP Kt747 2.1Ghz ROW/Ktoonservative *Tapatalk
[Android General] 3vo3d:
hey, love the guide very usefull thanks.

I keep getting audio out_3 partial wakelock i presume it is due to poweramp? but ive deleted it as a widget and i keep stopping the app but it likes to return. Do you think it is poweramp or am i onto a red herring?
[Android General] T.J. Bender:
*shrug* I don't have an S3.

AudioOut wakelocks are created by your phone's speakers or headphone jack. I *think* 3 is the one I see when using my Skyrocket with headphones, so yeah, Poweramp could be causing it. Easiest way to tell is to freeze PowerAmp with TiBu, then let the phone run for a day or so and see if the wakelock recurs.
[Android General] promiseofcake:
Has to do with Google Maps. Even with Google Now disabled and all relevant location settings from within Maps disabled it still occurs. It's a price to be paid for having access to Google Maps / Wi-Fi & Mobile Network Location. I did notice that if i started the phone and did not start Maps or anything else that utilizes Google Location Data, the wake lock does not occur.
[Android General] 3vo3d:
thanks mate i will check it out
[Android General] mw86:
Thanks always good to know. I wasnt getting the issue but my friend was. Im on Aosp with no maps installed so I had not seen this wake lock. Your information is greatly appreciated.

GS3 L710 4.2.1 AOSP Kt747 2.1Ghz ROW/Ktoonservative *Tapatalk

---------- Post added at 10:20 AM ---------- Previous post was at 10:17 AM ----------

Can you add a comment in OP about the that network wake lock being related to maps? No problem either way, just figured you have such a great thread it would be just one more great piece of info in the OP.

GS3 L710 4.2.1 AOSP Kt747 2.1Ghz ROW/Ktoonservative *Tapatalk
[Android General] T.J. Bender:
Yep, I'll tack it up later today.
[Android General] T.J. Bender:
Added it to the third OP, PWLs.
[Android General] beyeond:
Just now found this thread and an catching up... anyone see anything worth worry about here?

In case it's hard to read, the biggest wakelock is AudioOut_2 at just under 4 minutes (out of over 7 hours)
[Android General] T.J. Bender:
Some nights I have wet dreams about my BBS PWLs looking like that.

My question would be how you're down 45% in 7 hours with near-nil PWLs.
[Android General] beyeond:
Exactly. I just did a full system wipe and reflash. Also deleted all my music and got rid of that media scanner wakelock or whatever. The only thing i can think of is sprint's crappy signal in my area. Sometimes at work u even go to 1x but not often. Do you think the bad signal can have that much of an effect? Thanks for this guide man.
[Android General] majic12:
Yes. .. bad signal sucks battery life searching and switching

Sent from my Wicked V6 infused T-999
[Android General] beyeond:
Cool, so based on those partial wakelock stats i should probably stop obsessing and chalk it up to a horrible signal? Is there any other stats i can post that you guys can give me more insight on? I would appreciate it. I'm reading the thread now, I'm not trying to be lazy, but anyone willing to help would be appreciated.
[Android General] hechoen:
I'm betting usage. Up a screenie of your battery chart.
[Android General] majic12:
Not sure it's been said but after installing a Rom you should let it settle in a few cycles before going nuts about wakelocksand battery life. ..think it's the same after a complete wipe

Sent from my Wicked V6 infused T-999
[Android General] T.J. Bender:
Bad signal can do some damage, yeah. Is there another radio you can try for your phone?
[Android General] beyeond:
See, this is something i know nothing about. I really have no idea. Can you give me a hand or maybe direct me to somewhere that can?

I don't know what info you may need but i have a sprint galaxy S8II. Running odexed blue ROM... is LJ7 something to do with the radio?
[Android General] xcrazydx:
Go to settings/about phone baseband is your radio.

Do you have a radio thread in your forum?
[Android General] T.J. Bender:
I'd imagine there are alternate radios out there for the Sprint Galaxy S3, but I'm not overly familiar with the device. LJ7 sounds like it could be the last three of the baseband version/radio, yeah.
[Android General] imaconeheadXD:
This thread has the radios except for the newest LJ7: http://xdaforums.com/showthread.php?t=1816530

[TOOL]Team Sonic - Modem Flasher For All v1.5.0 |09-20-12| [TOOL]

LJ7 radio is found in Freeza's thread.
[Android General] beyeond:
Thanks for the link. Looks simple enough but makes me nervous for some reason.. have you ever done this by chance? Is it relatively safe?
[Android General] imaconeheadXD:
Haha yeah I've done this plenty of times, it's completely safe :p
[Android General] T.J. Bender:
Flashing a radio's about the safest thing you can do. You don't need to wipe anything really (although I still wipe cache/dalvik), and as long as the radio you're using is for your phone, it's pretty hard to screw something up.
[Android General] beyeond:
Yeah thanks I've been experimenting. This modem flashing tool is awesome. Thanks for the help guys.
[Android General] beyeond:
Curious if anyone knows what the "smdcntl0" wakelock is from? I think my partials look fine but still trying to read more about the kernel wakelocks..

(Edit: just noticed there is a smdcntl1 as well..)
[Android General] Canadoc:
I have noticed I have a wakelock called

EM/android_talka with a bunch of letter/numbers after that has run 146 times.

It falls under google services category.

I have searched and can't find it anywhere.

Ideas?
[Android General] austrie:
I was testing out if poweramp causes wake locks; so I played Poweramp for a few minutes then paused & 'X' out using the power amp control in notification, then turned of screen. Here's my results:
[Android General] icenight89:
for the location wake lock found some interesting info:

http://xdaforums.com/showthread.php?t=2116458
[Android General] promiseofcake:
That is very interesting. I might have to get tasker to give it a try.
[Android General] jmaiman:
Does anyone know a fix for the wlan RX wake lock. Its draining my battery like crazy
[Android General] T.J. Bender:
It's in the OPs.
[Android General] RoscoePC3PO:
I tried searching to no avail. Should I be concerned about 10 minutes worth of the partial wake lock *backup*? The count is around 1000. I just clean installed TPR 3.09 with the Dec KT747 kernel about 2 battery cycles ago. Do I need to just wait for the ROM to break in?

Thank you.
[Android General] T.J. Bender:
How long was your phone on over the course of those 10 minutes? If your phone had been on for under an hour, I wouldn't be worried, as lots of processes go nuts and stay nuts while a phone is booting up. If your phone's been on for over three hours, I also wouldn't waste time on it. If you just installed a new ROM, I wouldn't even look at BBS for the next 48 hours.
[Android General] RoscoePC3PO:
Thanks! 20 hours. I still don't have a good feel for how to analyze objective stats . I just don't know what is a high count or what are wakelock times are worth improving upon. Subjectively, I think I'm getting great battery life. FYI, it was really half that time and half that wakelock count, but I was at 50% battery, so I just doubled it to keep my first post concise. That post was at about 10 hours uptime.

This run looks like it will get me 20 hours total, with 6+ on screen, so I guess I might be chasing my tail here. I'm an IT guy, so I mostly just wanted to know what that wakelock refers to for my own edification.

Thanks!

Sent from my TPR robot assistant.

---------- Post added at 04:12 PM ---------- Previous post was at 04:01 PM ----------

I'm also getting 12 total minutes of mmc*_detect kernel wakelocks. I didn't search this thread for more than the first few OP posts on those keywords, though. They didn't seem to affect battery life, so I posted them in a different thread specific to my SPH-L710 about failed SD cards wondering if those stats are a precursor to a dying SD card, possibly from overheating and/or a buggy internal card reader.

Sent from my TPR robot assistant.
[Android General] mw86:
Perhaps something is making small reads and writes often when its trying to be in a sleep mode
[Android General] RoscoePC3PO:
Could be, but I don't know what it would be. How would I go about determining that? Catlog doesn't show anything that jumps out at me as relevant to SD card usage. I disabled media scanner and I only use it to store music, pics, backups, and standalone files. Could the gallery be doing that? I have it set to put new pics on the SD.

I guess I could change my screen off mhz to 144 and if I see more than normal time on that step I could assume you are correct. As it is now, 96mhz is my low for screen off, so even though I have plenty of time on that step, it might not be from wakes, but that cpu time could be during normal usage and not wakeup from sleep.

Whelp, TPR 3.10 just released and I've been wanting to try out the newer KT747 with row scheduler, again. Last time I had nearly as good of battery time compared to bfq, with more snappy feels.

I'll use this current configuration for the rest of today, do some more deductive work, and report back.

Sent from my TPR robot assistant.
[Android General] T.J. Bender:
dmesg is a good way to identify freak processes, and as long as you're not entering commands to see what happens, it's pretty hard to brick yourself in a terminal emulator.
[Android General] RoscoePC3PO:
Thanks! I'm not sure what to look for, though. I see a bunch of battery related lines, some references to lulzactive (using ktoonservative), but nothing that states a read, write, file, or partition.

Maybe I'm just not running the command at the opportune moment. I'll keep trying...

Sent from my TPR robot assistant.

---------- Post added at 07:03 PM ---------- Previous post was at 06:53 PM ----------

I do see some lines showing the mmc* wakelocks, surrounded by battery stats related lines, and some lines that seem to refer to wlan in and out of suspension. So, still looking.

Some recent changes I made were I'm now on MA4 and TWRP 2.4.0.0 but I don't see how those matter to mmc* if that is only relevant to the sd card while fully booted into the ROM.

Sent from my TPR robot assistant.
[Android General] T.J. Bender:
Check the OPs. suspend_backoff has a pretty detailed description of how to use it.

Keep in mind you need to run it BEFORE turning the phone off or rebooting it. The pid's reset on reboot, so you have to identify the rogue process before doing so.
[Android General] RoscoePC3PO:
Will do. I wasn't even worried about the mmc wakelocks at first, but now I must know what's going on! Haha Looks like I can at the very least rule out a bad card, so that's worth doing.

Sent from my TPR robot assistant.
[Android General] Holland1994D:
Does somebody know that the "rpc_read" kernel wake lock is? It drains a significant amount of my battery, and I can't what it actually is or does.

Thanks
[Android General] RoscoePC3PO:
I could be wrong, but my first bet would be remote procedure call, so I would look at apps that connect to your pc, especially newly installed apps.

Sent from my TPR robot assistant.