yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II SGH-I777] dandrumheller:
Your 3 biggest culprits appear to be the three kernel wakelocks suspend_backoff, mmc2_detect and sdio_al. You are getting craptastic battery life becuase your device is only deep-sleeping 5% of the time. I have vaguely heard mention of these in other wakelock discussions while researching stuff, but these are not typical wakelocks on the SGS2 i777. As you have an i727 S2 S#!7Rocket (those of us in the i777 community are typically not fans of your device :) ), you will probably have better luck searching for answers in the i727 forums.
[AT&T Samsung Galaxy S II SGH-I777] Eyedoctor2:
Thanks will do!

As you noted my prior BBS dump showed that my culprit wakelock was Suspend_Backoff. Searching I found the following thread:

productforums.google.com/forum/#!msg/chrome/rT0ewNsBx18/0_RqLGBQr70J

I unchecked "Enable Tilt Scrolling" in Google Chrome settings and recharged my battery to 100%.

I then left it on idle all night just like it had been when I generated the last BBS file dump.

As you can see the results are drastically improved. Went from losing 65% of battery in 5 1/2 hours to losing 25% in 9 hours. Also went from 5% deep sleep to 94%!

Still not pefect but definitely a significant improvement. Thanks for your help in identifying the main culprit!
[AT&T Samsung Galaxy S II SGH-I777] MaxRabbit:
Hello! I'm have a high wakelock from "multipdp," which I understand to mean repeated traffic usage.

I took a look at my traffic usage through BBS and top of the list is "1000 (Mobile) - Android System," followed by Facebook, "0 (Mobile)," and Flikie (which I have set to rotate wallpapers every two hours).

I'm losing 6% per hour because of multipdp. Do you have any suggestions as to the cause?

Here are some screens:

Net usage pg 1

Net usage pg 2

Net usage pg 3

Wake Locks

Sleep/Awake time
[AT&T Samsung Galaxy S II SGH-I777] MaxRabbit:
Turns out the battery drain was from AOSP/CM10's built-in lockscreen weather. I disabled it on a hunch because of the "Android System" usage and now I can go all night with only 1%/hour drain. So much better!

I'm not sure if the weather causes drain all the time, or if it's just an issue for me because I'm currently in Afghanistan and it couldn't locate me.
[AT&T Samsung Galaxy S II SGH-I777] mickey4mice:
The battery on my S2 drained like crazy (7-8%/hr) connected to D-link DIR-655, that router finally crapped out a few weeks ago and I've been on Asus AC66U since, no more wifi wakelock; battery drains about 1%/hr on idle. I tweaked every possible setting on DIR-655 to stop the drain, nothing really worked; haven't done a thing on Asus but noticed wifi wakelock isn't even present in the battery stats. Happy camper now.
[AT&T Samsung Galaxy S II SGH-I777] auroraprime:
Wifi and the display seem to be the S2's biggest weakness when it comes to battery life, I hope my next phone doesn't have the same issue with battery life.
[AT&T Samsung Galaxy S II SGH-I777] 122ninjas:
I phones have incredible battery life. My mom got 2 weeks of idle with 10 hours screen on.

Sent from my GS4 running CM11 Kandy Kane
[AT&T Samsung Galaxy S II SGH-I777] maka8:
What kind of drainage (approximate percentages per ?) do folks see if they are just reading a webpage for example on WiFi using auto brightness? I've noticed about 1% every 5-10 minutes.
[AT&T Samsung Galaxy S II SGH-I777] 122ninjas:
Depends on the web page, color, wifi strength, brightness due to auto brightness etc etc
[AT&T Samsung Galaxy S II SGH-I777] maka8:
Let's say the webpage is already loaded and I am just scrolling to read. No apps are updating in the background. Brightness is set to auto. What is your worst case scenario drainage in 5 mins? Does it even budge by 1%?
[AT&T Samsung Galaxy S II SGH-I777] dandrumheller:
I typically average 1% every 4 minutes (15% per hour ) in dim conditions with auto brightness. This has been reasonably consistent across various ROMs and kernels. This is for general browsing, tapa talk, FB, G+.

Edit: there are a HUGE number of variables that will impact these numbers... You are better off comparing various configurations on your own device to minimize these as much as possible... Run the setup that gives YOU the best battery life while maintaining the functionality you need. Best battery life with screen on will be had in airplane mode with radios off - but you don't get data or phone calls. Gotta do what works for you.
[AT&T Samsung Galaxy S II SGH-I777] 122ninjas:
Still depends on page color.
[AT&T Samsung Galaxy S II SGH-I777] nomiko:
Can someone help me i tried 2 roms 2.3.4 stock and shostock3 rom on my mbl and both do not let mbl tk go into deep sleep

In 2.3.4 stock svnet causing kernel wakelocks and keep mobile awake throughout

While in shosstock3 boot_hsic causes wakelock and keep mobile awake.

i want to get rid of this. No matter how even if i had to uninstall modem

(Note:i have lost imei/baseband so i want to use phone just as an media device)
[AT&T Samsung Galaxy S II SGH-I777] jtschanz:
This thread has tons of useful info for you. Install BetterBatteryStats and then check out the logfile:

http://xdaforums.com/showthread.php?t=1179809

Are you using an external SD card? have you tried removing it and formatting it?
[AT&T Samsung Galaxy S II SGH-I777] Jonnyredcorn:
So I've had some pretty bad overnight drain. I usually only have 2 bars for mobile signal while in my basement and WiFi is usually at 1 bar in the basement. I'm also using a ATT gs3 running tasks AOKP. Now in the picture I'm posting shows that my mobile signal is consistent.

One thing I wanted to try was with the tasked app. I want to set it to turn on Airplane Mode from like 12:00am to 7:00am only if I'm connected to my home WiFi network. However I cannot figure out how to set two context's i.e. State=time 12am-8am & WiFi Connected to Home network. I want my phone to automatically turn on airplane mode at night but only if connected to my home WiFi. Also is there a way maybe to keep WiFi on and just disable mobile data and a mobile signal all together. Airplane mode disables both WiFi and mobile network.

Sent from my SGH-I747
[AT&T Samsung Galaxy S II SGH-I777] thanitos:
Android os runs in the background and destroys data usage and battery life and I've Google everywhere and there is no real fix for it
[AT&T Samsung Galaxy S II SGH-I777] guruleenyc:
Very helpful post! Thanks.
[AT&T Samsung Galaxy S II SGH-I777] fldude99:
You may want to check out an app called automagic
[AT&T Samsung Galaxy S II SGH-I777] Jonnyredcorn:
I'll check that out. Ive gotten a little more familiar with tasker and was able to get airplane mode to only disable Mobile Data and not WiFi, but I take it you cant set two contexts in tasker?

Sent from my SGH-I747
[AT&T Samsung Galaxy S II SGH-I777] iamatechnoob:
No idea how to post any stat files from BBS (where do you guys get them) but I have a screenshot of the kernel wakelocks that's draining my touchpad when its supposed to be asleep. Partial wakelocks are fine thus no screenies.

Anyone can help? :/
[AT&T Samsung Galaxy S II SGH-I777] chamonix:
For bbs related issues there is a thread here on xda where you will get help. Don't forget to read the faq
[AT&T Samsung Galaxy S II SGH-I777] gravitysandwich:
Well i have this vbus_present crap too, but I have a T-Mobile Samsung Galaxy SII. It's making the phone be awake 100% of the time. Running slimbean and stock kernel (happened on stock rom too), was wondering if a different kernel like uber would help or if its the devices hardwawre fault
[AT&T Samsung Galaxy S II SGH-I777] chamonix:
That wakelock is present when USB is plugged. Dust in the connector may prevent detecting the unplug action. You could look into log cat and dmesg to check if that event is processed.
[AT&T Samsung Galaxy S II SGH-I777] junwuu:
thanks, im learning a lot here
[AT&T Samsung Galaxy S II SGH-I777] jcavz87:
good post, been having issues with battery drainage.. didnt realize apps stay open in the backgroung :s
[AT&T Samsung Galaxy S II SGH-I777] Squall-Leonhart:
I can confirm this has not been fixed.
[AT&T Samsung Galaxy S II SGH-I777] Admiral Savage:
My note 5 is having so much battery drain here are my stats they're not normal right?
[AT&T Samsung Galaxy S II SGH-I777] joeybear23:
Uninstall Facebook and Messenger. Instal Metal. It will make a difference on battery life.

You're welcome.
[AT&T Samsung Galaxy S II SGH-I777] Admiral Savage:
Thank you what is metal though and how does it help?
[AT&T Samsung Galaxy S II SGH-I777] joeybear23:
Metal is a 3rd party small-footprint facebook app that you can set to only give certaion or no notifications, and you don't need a separate app for messenger, and it only downloads when you open/access it. For me I was losing a ton of battery life from FB and Messenger constantly downloading, etc.
[AT&T Samsung Galaxy S II SGH-I777] mbonell:
Hi all,

These are my statistics from wakelock during 7 hours where most of the time (6 hours) mobile was in deep sleep. Is this normal?[IMG="WLD statistics"]https://ibb.co/kYp2BR[/IMG]
[AT&T Samsung Galaxy S II SGH-I777] naturefreak85:
You are getting ridiculously long life compared to me, that's sub 1% per hour for you overnight. Overnight I drop down 15-20%

Looks like I am going to try to just leave my phone off of WiFi tonight and see my drain. Curious to see what happens.
[AT&T Samsung Galaxy S II SGH-I777] rlarsen462:
Yes I got right about 1% per hour with only the data and cell activated (no wifi, etc.). I have almost no syncing enabled during the night and what is is like once an hour or more infrequent.

I feel like an idiot for not bringing attention to this, but I'm also in Trinidad on travel which has quite possibly the worst and slowest EDGE data network I've ever seen. Like 2kb/sec bad. The signal appears to be reasonably strong for the cell radio however.

It's possible that any activites requiring data access (I don't have much that auto syncs, most is manual or once an hour or something) take so bloody long due to how slow it is, that it's making my deep sleep in the low 90%'s instead of the high 90%'s by that alone. Thoughts?
[AT&T Samsung Galaxy S II SGH-I777] dgold21:
This is almost EXACTLY my situation...have you had any luck improving on this? I only have a week left to decide whether to keep the phone or replace it...
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Yes. A ****tacularly slow EDGE network will likely behave similar to the "weak signal" conditions in which I usually see 88-92% deep sleep when the phone is at my desk at work.
[AT&T Samsung Galaxy S II SGH-I777] rlarsen462:
Looks like I'll have to take another look at it when I'm back in the states...granted the desk I was working at in Houston briefly before this trip had basically no signal at all so I'm sure that was rapifying the battery.
[AT&T Samsung Galaxy S II SGH-I777] idanz0r:
Hey, I'm having a battery drain issue. About 4% per hour/ screen off. I saw in proc some event stuff.. Wonder what is it. I've uploaded the information you might need.. Tell me if you need anything else. Thank you very much
[AT&T Samsung Galaxy S II SGH-I777] naturefreak85:
So last night I turned off WiFi and over 5 hours, I lost 1% per hour. It appears to be my culprit is a Application draining WiFi. Looks like I need to teach myself how to use WireShark and track down the offending program.
[AT&T Samsung Galaxy S II SGH-I777] eep2378:
It seems like the Twitter app may be a culprit as well. After installing the app, my phone would not go into deep sleep. After troubleshooting a bit, I decided to uninstall Twitter and voila, deep sleep's without issue.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
What I need is described in the first post of this thread.
[AT&T Samsung Galaxy S II SGH-I777] tboooe:
experienced 25% drain in 1.5 hours!

i am hoping someone can help me here. Yesterday i was getting less than 1% drain per hour but this morning something caused by phone to drain over 25% in 1.5 hours. In looking at my battery chart, I noticed that both wifi and my phone was active. I be honest, i am not sure how to analyze the wakelock file. I exported it to Excel and divided the sleep_time column by 60e9 to get sleep in minutes. Should I be looking for the highest number or lowest number in this case?
[AT&T Samsung Galaxy S II SGH-I777] idanz0r:
Sorry, you are right. I've uploaded the files
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Highest - I usually sort sleep_time_min in descending order.

svnet-dormancy was your highest interesting wakelock, at 120 minutes - that's driven by data. However, whether 120 min is high depends on how long since the phone booted. You've spent at least 420 minutes on the charger (vbus_present) since booting.

25% in 1.5 hours is impossible for "just" something holding wakelocks. Pingdrain takes drain to around 5%/hour, idling at 200 is around 4%/hour, fully loaded at 200 is 6.5%/hour.

To drop 25% in 1.5 hours, something is using up lots of CPU - Do you see anything in Settings->About Phone->Battery Usage - usually an app making things nuts like this will show in those statistics.

32 minutes on charger, 10 minutes of wakelocks from cellular data since booting.
[AT&T Samsung Galaxy S II SGH-I777] CZ Eddie:
iHeart Radio is a big time battery drainer. Worst app I've seen for battery use. Even worse than any graphics intensive game I've played.
[AT&T Samsung Galaxy S II SGH-I777] tboooe:
Thank you for the reply Entropy. As you can see from my picture it seems something is keeping my phone active for twice as long as my screen is actually on. I cant figure out could be causing this. All of my data-needing apps are set to only update once or twice a day. I turned off active sync.

Here are some stats I pulled from BBS. Alarm manager and RILJ is by far causing more wakelocks than anything else.

===========

Other Usage

===========

Awake (): 2 h 5 m 13 s (7513 s) Ratio: 24.7%

Screen On (): 58 m 42 s (3522 s) Ratio: 11.6%

Wifi On (): 53 m 57 s (3237 s) Ratio: 10.7%

=========

Wakelocks

=========

AlarmManager (Android System): 2 m 25 s (145 s) Count:2577 0.5%

RILJ (Dialer): 19 s (19 s) Count:1338 0.1%

GTALK_CONN (Google Services): 3 s (3 s) Count:817 0.0%

Event Log Service (Google Services): 3 s (3 s) Count:666 0.0%

*network-location* (Google Services): 12 s (12 s) Count:649 0.0%

*sync* (Google Services): 2 s (2 s) Count:628 0.0%

*network-location-cell-update* (Google Services): 7 s (7 s) Count:626 0.0%

WifiService (Android System): 3 s (3 s) Count:576 0.0%

ActivityManager-Launch (Android System): 1 m 38 s (98 s) Count:365 0.3%

E (net.dinglisch.android.taskerm.Tasker): 32 s (32 s) Count:351 0.1%

M (net.dinglisch.android.taskerm.Tasker): 3 s (3 s) Count:309 0.0%

QuickAgendaWakeLock (com.everybodyallthetime.android.quickagenda.QuickAgenda): 2 m 22 s (142 s) Count:282 0.5%

SCREEN_FROZEN (Android System): 5 s (5 s) Count:61 0.0%

sleep_broadcast (Android System): 3 s (3 s) Count:47 0.0%

WidgetLocker (com.teslacoilsw.widgetlocker.WidgetLocker): 1 s (1 s) Count:26 0.0%

PowerAMP scan (com.maxmpz.audioplayer.PowerAMP): 42 s (42 s) Count:23 0.1%

UpdaterService (com.protrade.sportacular.Sportacular): 49 s (49 s) Count:17 0.2%

com.maxmpz.audioplayer.player.PlayerService temp (com.maxmpz.audioplayer.PowerAMP): 59 s (59 s) Count:15 0.2%

LockerService (com.teslacoilsw.widgetlocker.WidgetLocker): 14 s (14 s) Count:13 0.0%

GTALK_ASYNC_CONN (Google Services): 12 s (12 s) Count:7 0.0%

com.bellshare.util.WakefulIntentService (com.bellshare.beweather.BeWeather Pro): 33 s (33 s) Count:6 0.1%
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
How do you get to that bar graph screen? I can find settings for a bar graph, but I can't actually find it.
[AT&T Samsung Galaxy S II SGH-I777] dmm5157:
In BBS, hit MENU->OPTIONS->BATTERY GRAPH
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
I don't have options, I have preferences, and I have it set to show bar graph but I can't actually find the graph.
[AT&T Samsung Galaxy S II SGH-I777] dmm5157:
Sorry, ACTIONS not OPTIONS. Sorry, typo.

MENU -> ACTIONS -> BATTERY GRAPH
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
Huh, it isn't there. I have 3 options, dump to file, set custom reference and battery usage.

Maybe I've got an old version, I'm using 1.1.1.0
[AT&T Samsung Galaxy S II SGH-I777] dmm5157:
Yeah maybe. I've got 1.2.1
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
Did you get it on the forum or market?
[AT&T Samsung Galaxy S II SGH-I777] dmm5157:
XDA I believe. Just did a Google search for it.
[AT&T Samsung Galaxy S II SGH-I777] tboooe:
Version 1.3 is out on the market.
[AT&T Samsung Galaxy S II SGH-I777] dmm5157:
Awesome! Just bought it and upgraded. It now shows kernel wakelocks and has zoom graph options. Worth the $2.89
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
Yeah, it is up on the app thread here too.
[AT&T Samsung Galaxy S II SGH-I777] tboooe:
Add System Info Widget and Quick Agenda widget to the list of apps that drain battery. Both of these generate a lot of alarms and thus could lead to wakelocks.
[AT&T Samsung Galaxy S II SGH-I777] rlarsen462:
Can someone explain to me why com.android.email would suddenly be holding a damn near continuous wakelock despite killing the process and several reboots? Nothing has otherwise changed on the device and I was finally getting good battery life up until this happened. I already have 2.5 hours of wakelock from this process and I only took the phone off the charger about 3 hours ago.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
What are you syncing with? Exchange calendar sync is known to cause major drain issues with some servers.
[AT&T Samsung Galaxy S II SGH-I777] dmm5157:
Interesting. I have my Exchange e-mail and calendar set to sync, guess that might be causing some of my problems.

Any known work-arounds? Is that just if you use the stock e-mail app, or regardless of the app you use for e-mail and calendar (ie Moxier, K-9, etc)?
[AT&T Samsung Galaxy S II SGH-I777] rlarsen462:
I have an exchange account configured (contacts and calendar sync only plus email), and a bit of an interesting situation. My brilliant Exchange administrators (and no hope of talking to them directly in a company of 125,000 people) set the policy to "manual sync only" while roaming, even though we have unlimited international data plans.

So when I am on 2G/3G connection (unfortunately only slow-ass 2G while I am in Trinidad), I am getting great battery life, 95% deep sleep, etc. But nothing is syncing (not even Gmail, it's all manual). I have to manually sync my email.

HOWEVER, I noticed as soon as I am on a wifi connection, I am still forced to continuously manually check for email, but the ****ing email program holds a continuous wakelock, like the phone is never allowed to sleep at all.

Frankly, I've been less than impressed with the exchange implementation on this phone in general, it seems really hit or miss whether I'm even getting my emails half the time. Getting security errors and all kinds of crap, have to constantly delete and re-setup the account, etc. I probably should have stayed with a Blackberry for business use, because this has been an exercise in frustration for the most part.

I understand some of it could be on the exchange server's end, but I have no control over that. My coworker's iPhones also work flawlessly but I despise iPhones so not much of a chance to switch there either. :/
[AT&T Samsung Galaxy S II SGH-I777] tboooe:
So I took care of my AlarmManager wakelock by deleting System Manager Widget and Quick Agenda. Now my wakelocks are caused by:

Checkin Service (Google Services) - no I do not use Latitude or have any other app that is using location so I have no idea what is causing this.

RILJ - no idea why

*network-location-cell-update* (Google Services) - is this related to Checkin Service?
[AT&T Samsung Galaxy S II SGH-I777] boggdy:
This is what I got:

CPU Spy:

1200 Mhz - 1:19:44 - 25%

1000 Mhz - 0:04:41 - 1%

800 Mhz - 0:42:18 - 13%

500 Mhz - 0:05:05 - 1%

200 Mhz - 1:19:35 - 25%

DS - 1:39:14 - 31%

BBS:

see attachment, I'm not allowed to post links.

The CPU stats were taken about 20 minutes after BBS. This was made overnight, phone fully charged, rebooted and I let it sit around for about 4 hours, while I was sleeping (Wifi, GPS, autosync, data off). When I woke up, the battery was at 56%.

Any ideas?
[AT&T Samsung Galaxy S II SGH-I777] scooter421:
I came access the thread by accident but it insightful so I followed some of the tips, in particular I charged fully and let sit over night for about 6 hours. I'm running Toxic8, bali, V6 supercharger scripts. No set cpu or juice defender. I just had the longest time off charger since I got my phone last year, 30 hours. According to cpuspy I had ds of 84 %

Light to moderate usage, some wifi, bluetooth, phone, txt, music player, etc, etc.
[AT&T Samsung Galaxy S II SGH-I777] patrkoch:
Here is my situation:

Charged phone to 100% - removed battery for 10 minutes - put back in and let it sit overnight.

Phone sat for 8.5 hours

Battery % went from 100% to 70%

CPUSpy reads Deep Sleep 96%

Attached is my BBS log

Thanks!
[AT&T Samsung Galaxy S II SGH-I777] dmm5157:
Hmmm ... when I bought and updated BBS to the latest version, it was showing a lot of Kernel Wakelock, which matched my output using ADB to print my wakelock time.

Now, it shows nothing in kernel wakelock and my times down add up to match my total wakelock anymore.

Wonder what's going on.
[AT&T Samsung Galaxy S II SGH-I777] dandrumheller:
I just updated to the newest version after running a fairly old one - I am also seeing an empty list in the kernel wakelocks view.
[AT&T Samsung Galaxy S II SGH-I777] FuzzyQ:
Cover Art Grabber

I can confirm the app "Cover Art Grabber" to be a potential battery drainer. After it finished downloading, it remained alive (both app & app service), causing more battery usage than anything else (~ 52%).

Killing it manually restored system back to normal.

This doesn't happen every time I use the app, but it occured several times now, so be sure to check if it closes after download of coverart is complete.
[AT&T Samsung Galaxy S II SGH-I777] kipliq:
left my phone untouch for 7:35 min and the battery was at 78%. I'm still running the stock Touch wiz, kind of like the UI.

Deepsleep was 5:00

200 MHz was at 2:30

Partial wakelock

Facebook was 1h 28m 40s

Would the facebook be the big drain over night? I turned off sync but the market keeps telling me i need background sync to work.

Thanks for the help,
[AT&T Samsung Galaxy S II SGH-I777] patrkoch:
Do you use the Facebook widget? If so try removing that as it is a known battery drainer.

If not, open Facebook and go to the main screen and hit your menu button and go to Settings. In there you can change how often notifications are updated. Ideally you would turn Notifications off to conserve the most battery life.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
1.5 hours of wakelocks is basically a guaranteed 6-8% loss in that time alone.
[AT&T Samsung Galaxy S II SGH-I777] kipliq:
I stopped using the widget. In facebook the default settings was enabled and i shut down the notifications.

Since I still use the Touch Wiz there is not chance I can achieve the 1% per hour drain in deep sleep?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
TW isn't the problem (at least not in general) - I achieve good drain despite TW.

However some of Samsung's crap (like SNS and some of the TW widgets) are known as being bad for battery.
[AT&T Samsung Galaxy S II SGH-I777] prince_niceguy:
I disable mediahub and social hub as they were taking battery ...