yashsingh1/xdaforums huggingface dataset:
[HTC One S] dres123pl:
I flashed kernel from Android Best Sense Stock and it works. Anyway, thanks for your reply ;)
[One (M7) Q&A, Help & Troubleshooting] fastlyfe941:
I am on InsertCoin 4.3 Sense 5.5 and wanting to give Renovate Milestone 6 a go, however when I attempt to flash the aroma installer begins but I lose touchscreen functionality. Therefore I am not able to choose anything in aroma rendering the Rom basically unflashable. I can use volume rockers/power button to continue but if I am getting issues initially with the touchscreen than its probably not a good idea to continue. Any ideas would b awesone guys! Thanx in advance....:confused:
[One (M7) Q&A, Help & Troubleshooting] Guich:
What is your firmware (version main) and which version or recovery do you have?
[Asus Transformer TF700] jtrosky:
The purpose of this thread is do some controlled testing with the TF700/Dock combination in order to try and identify the battery drain that many users have been experiencing while their tablet is docked. A select group of users have volunteered to participate in these controlled tests. Of course, anyone is free to join in on the testing, but please note that you will NOT be able to use the TF700 while testing (which could take all weekend) and that *ALL* data will need to be wiped in order to participate in the testing!

General Notes:

- In order to do this testing, we **WILL** be wiping **ALL** data on the device. If you want to be able to restore to your original configuration when the testing is complete, please make sure that you have a full nandroid backup!!

- Please record the versions of everything before starting the test. A list of what "everything" includes is listed below. Also, please make sure that you are at the versions specified for each test "scenario" before testing - this is critically important!

- You will need to leave your TF700 docked and completely "unused" during the tests - please don't "cheat" so that we can keep the tests valid!

- As hard as it may be to resist, please don't change *ANY* settings from the recommended settings for each test scenario! A change that seems completely innocent may just end up being the culprit! We need all testers to keep all settings the EXACTLY the same, or else this testing won't be successful!

So far we have (6) testers - (3) that have the drain problem and (3) that do not, which actually works out perfect! Here are the (6) "official" testers:

- fsured (does have the drain problem)

- Dock: DOCK-EC21N-0105

- Tablet: PAD-EC20T-0216

- Drenus (does NOT have the drain problem)

- Dock: DOCK-EC20N-0207

- Tablet: PAD-EC20T-0216

- berndblb (does NOT have the drain problem)

- Dock: DOCK-EC21N-0105

- Tablet: PAD-EC20T-0216

- workdowg (does have the drain problem)

- Dock: DOCK-EC21N-0105

- Tablet: PAD-EC20T-0216

- ntunix (does have the drain problem)

- Dock: ??????

- Tablet: ??????

- jtrosky (does NOT have the drain problem)

- Dock: DOCK-EC20N-0207

- Tablet: PAD-EC20T-0216

I will reserve the following (5) posts in this thread - one for each of the controlled test scenarios. Hopefully, we'll determine something in five tests...

I will post the first scenario ASAP - although, I may have a delay with the first one as I need to unexpectedly go and meet my parents today for "brunch"! :) I'll try to get it ready before I leave, but I don't want to make any promises.

Like I said, even if you are not an "official" tester, please feel free to test along with us!

Before we do anything, can each of the (6) official testers please PM me with the following version info:

- Bootloader Version (including US/WW values)

- CROMi-X Version (including US/WW and DEODEX/ODEX values)

- Kernel type and version

- PAD Version (from Settings->About)

- MobileDock Version (from Settngs->About)

Thank you!!
[Asus Transformer TF700] jtrosky:
Test Scenario 2

Basically, just keep the configuration from test 1, but added a Google account, let sync and then let sleep for another (4) hours.

Please record before/after battery levels.

Change Details

- Plug device back into power while doing this

- Add a Google account:

- Settings -> Add account

- Select "Google" and "Existing"

- Add account info and leave "Keep me up to date with news and offers from Google Play" checked

- Leave "Keep this tablet backed up with my Google Account"

At this point, go into Settings -> Google account and monitor it while it syncs everything up.

After everything is done syncing and all Play apps have been updated (4 apps automatically updated in my case), go back to the home screen and let's let it sleep for another (4) hours and see if that changes anything (don't forget to disconnect the power cable again!!)

Thank you!
[Asus Transformer TF700] jtrosky:
Test scenario 3

Simply undock and redock the tablet and let it sit overnight!
[Asus Transformer TF700] jtrosky:
Test scenario 4

1. Install "Battery Drainer" app from Play Store (https://play.google.com/store/apps/details?id=com.batterydrainer)

2. Run Battery Drainer and leave all options selected except for "Vibrate" (don't want to wear out the "vibrator" device just to test battery drain levels!).

3. Get your device down to about 70% on the tablet.

4. Let sleep for (4) hours and report the battery levels.

Here is the full URL for the Batter Drainer app - there is more than one with the same name - please make sure to get the correct one!

https://play.google.com/store/apps/details?id=com.batterydrainer

NOTE: Obviously, leave tablet powered on and "open" while Battery Drainer app is running!
[Asus Transformer TF700] jtrosky:
Reserved for test scenario 5
[Asus Transformer TF700] jtrosky:
FYI - here are my results after (4) hours in sleep mode with test scenario #1:

After four hours, both my tablet and dock battery were still @ 100%! I'm really interested to the results of the users that had the drain problem (I never did)...

Maybe four hours isn't long enough of a test?

Since I obviously got a head-start on the test compared to everyone else, I'm going to keep my tablet sleeping and check the battery levels in another few hours, just to see what the battery levels are every few hours...
[Asus Transformer TF700] sbdags:
Can we also list which dock version people have as well :)
[Asus Transformer TF700] workdowg:
4hrs 100/100... Hmmm

From my LG G2 - CleanROM 1.0

---------- Post added at 04:55 PM ---------- Previous post was at 04:34 PM ----------

DOCK-EC21N-0105

From my LG G2 - CleanROM 1.0
[Asus Transformer TF700] berndblb:
4 hours - still at 100/100

DOCK-EC21N-0105

What's next?

Should we try connecting the Google account? WiFi is set to never disconnect by default, but without anything to sync, there probably would not be any drain.

Or we could run the tablet down to 70% and see what happens when the dock starts charging it.
[Asus Transformer TF700] Drenus:
4 hours - 99 / 98

DOCK-EC20N-0207

I turned my wifi off for about two hours because I didn't have wifi connection.
[Asus Transformer TF700] berndblb:
I think 4 hours is plenty! I have done an informal test with my tablet in it's "normal" setup over the last 2 days (wrote down the battery level when putting it to sleep and waking up). While the percentages varied, it always lost some charge over 4 hours. At least 1% - which is totally acceptable with WiFi always on - and up to 5%. Interestingly enough I had the largest drain during a 7 hour sleep (from 97/88 to 68/80) on a hotel network. So far I have not seen that kind of battery loss on my home network.

But that's another scenario - back to our tests:

If it doesn't loose even 1% over a 3-hour period I would say: There is no drain. So waiting more than 3 hours doesn't serve any purpose imo.
[Asus Transformer TF700] Drenus:
I think 4 hours should be enough as well. When I had drain, it was more than a few percentage of loss per hour. I am interested in how the loss changes when the tab hits 70% though.

And what convention are we using for charge level? Tablet/dock or dock/tablet?
[Asus Transformer TF700] berndblb:
Good question! I would say dock/tablet since that is how the icons are displayed.
[Asus Transformer TF700] jtrosky:
FYI - I just checked my battery levels after 7 hours of sleep and it's *still* at 100/100! :)

I like the idea of adding a Google account at this point to see if that makes any significant difference.

Let's do this next:

- Plug device back into power while doing this

- Add a Google account:

- Settings -> Add account

- Select "Google" and "Existing"

- Add account info and leave "Keep me up to date with news and offers from Google Play" checked

- Leave "Keep this tablet backed up with my Google Account"

At this point, go into Settings -> Google account and monitor it while it syncs everything up.

After everything is done syncing and all Play apps have been updated (4 apps automatically updated in my case), go back to the home screen and let's let it sleep for another (4) hours and see if that changes anything (don't forget to disconnect the power cable again!!)

I'll also update the OP with everyones dock model number (for those that supplied it).

Thanks everyone!

EDIT: OP updated with Dock and Tablet version information (except for [MENTION=4468973]ntunix[/MENTION] - I didn't get any info from him) - [MENTION=4468973]ntunix[/MENTION] - if you recorded the info, please forward it and I'll add it to the OP.

Also, please don't disable wifi or change any other settings during these tests (even if you don't have anything to connect to). It's extremely important to keep the settings exactly the same for everyone!!

So far, only one user actually lost any battery charge during the first test - [MENTION=3674425]drun[/MENTION]us - very strange - especially since he turned wifi off for two hours of the test! Don't know what's up with that!

EDIT 2: Updated Test Scenario #2 post with the changes above - Adding Google account will "officially" be "Test Scenario #2".
[Asus Transformer TF700] berndblb:
I wouldn't read too much into that. It's just a couple of % and I don't trust the accuracy of the battery reading very much. 5% or 10% tells us: Something happened. But 1% or 2%.... could be just a fluke.

---------- Post added at 05:07 PM ---------- Previous post was at 04:51 PM ----------

On a side note: This test makes me appreciate all of sbdags "little" mods and changes for this tablet even more!

240 dpi - ugghhh!

These pesky dock and storage notifications -aargghhh!

I had all but forgotten about those.... :D
[Asus Transformer TF700] Drenus:
Amen to that! :good:

I just remembered that I had an SD card in the dock - perhaps having a card in the dock made it draw more power? For Scenario #2, I'll remove the SD card.
[Asus Transformer TF700] workdowg:
I fell asleep... Scenario #1 after 9 hrs is 100/99. Moving on to scenario #2

Edit: I plugged in and while getting Scenario #2 ready, the pad dropped to 98% then 97%. Both green lights are lit (Dock/Pad) and the lockscreen says charged. I am going to wait for it to say 100% in the settings menu before starting.
[Asus Transformer TF700] berndblb:
I have both microSD and dock SD inserted - don't think that makes a difference.

---------- Post added at 06:37 PM ---------- Previous post was at 06:26 PM ----------

I'm a little worried that at a 4 hour interval we won't get much done on one weekend - and I miss my tab already :crying:

I kinda doubt that we get past 4 scenarios here....

Would it be an idea to nandroid this test setup so that we can easily return to it and continue testing with later scenarios?

That would give us kind of a controlled environment to run the scenarios in if and when we might get new ideas to try out.
[Asus Transformer TF700] jtrosky:
Yeah, I agree it would be a good idea to Nandroid the setup - or just reinstall - neither will really take that long... The key is to be at the same levels and versions of everything.

I'm just afraid that if we start using shorter intervals, that we wont get accurate results. That and every tester is kinda on their own schedule, so are tests are not 'synchronized', which makes things go slower too... I'm also afraid that if we start changing too much between tests, that we'll lose control of what causes the drain. Unfortunately, it's just a slow, tedious process... I tried to be up front with folks that their tablets would basically be useless for the entire weekend. In my case, I have another tablet, so its not a big deal.

For test 3, I'd like to dock and undock and then let it sit overnight, really with no other changes. Then, tomorrow, we can get the battery level down to say 70 percent and see if the drain results are any different.

So far, in think what we have shown is that the drain is not there with a basic install, at least with fully charged devices. Tomorrow, I want to see if that remains true with not-so-fully charged devices (assuming all previous tests remain 'successful'.

Everyone agree to that testing path? Anything else we should specifically test?

EDIT: by the way, after test #2, I'm still @ 100 percent on both dock and tablet...
[Asus Transformer TF700] collindv:
Wow, more than I could have asked for. Anything I can do to help? Digging into source code is over my head but I can run any test scenarios you can think of (if you think of any).
[Asus Transformer TF700] bbygfy:
I have very similar results with CM11 and CROMI. I have also sent my dock in to Asus for repair but they sent it back saying that there is nothing wrong with it. I agree that my drain started with the bootloader upgrade as well.
[Asus Transformer TF700] sbdags:
Which bootloader upgrade? Yes it is definitely a software problem no point asking Asus to look at the hardware.
[Asus Transformer TF700] collindv:
I am at work right now without my tablet so I don't know the specific version numbers but it was the one necessary to go from cromi 4 to cromi 5 I think
[Asus Transformer TF700] sbdags:
OK - I don't think Asus changed anything in those bootloaders so 10.6.1.14.4 = 14.8 = 14.10

Maybe you mean from CROMI 3 to CROMi-X 4? That would be JB 4.1.1 to JB 4.2.1.....
[Asus Transformer TF700] bbygfy:
For me, it was the upgrade from CROMI 3 TO 4. I didn't have any drain on CROMI 3. If I want to go back to CROMI 3 then do I also have to downgrade the bootloader as well.
[Asus Transformer TF700] sbdags:
You can load CROMI 3 on the latest bootloader. ;) You can't load CROMI-X on the old JB 4.1.1 bootloader.
[Asus Transformer TF700] collindv:
You are right, it was the boot loader change from Cleanrom 3 to cromi-x 4.
[Asus Transformer TF700] collindv:
Just as an FYI, I fastbooted back to the latest stock rom last night and still have the battery drain (with nothing installed, no accounts set up, WiFi off, etc.

I think I will try and downgrade back to a stock 4.1 ROM soon.
[Asus Transformer TF700] sbdags:
In my experiments it is related to location services. It just polls for different apps like google now / google play all the time. Turn off location services or switch to gps and my battery drain goes away.
[Asus Transformer TF700] collindv:
Definitely not the case in my situation. With my fresh install I turned off all location services and still get the drain.
[Asus Transformer TF700] collindv:
FYI..I downgraded to 4.1 stock last night (10.4.2.20) and still have the battery drain on a fresh install. I am thinking my problem is hardware related at this point.
[Asus Transformer TF700] sbdags:
I reckon it is still software related. Download and install wakelock detector and you will see hundreds if not thousands of wakelock most likely from Google apps.
[Asus Transformer TF700] collindv:
I did that when I was on CM11, screenshots here: http://xdaforums.com/showthread.php?p=50243177
[Asus Transformer TF700] sparksd:
Trying to get straight in my head how/when the dock battery operates - I thought that the dock started charging/powering the tablet when the tablet battery fell below about 68%. Today, I closed my tablet and dock with both at 100% charge. About 8 hrs later, the tablet was still at 100% but the dock was at 96%. At other times, under the same scenario they have both drained down together. So how exactly do these two work together?
[Asus Transformer TF700] sbdags:
Usually dock starts charging at 70%. Except yours :)
[Asus Transformer TF700] sbdags:
Interesting. [MENTION=4878287]_that[/MENTION] what do you make of this?
[Asus Transformer TF700] _that:
Yes, apparently the I²C communication with the dock is failing here (timeout). However I don't see how it would be connected to the wakelock being held. Is this reproducible on other devices?
[Asus Transformer TF700] collindv:
I should also note that this was on stock firmware, I don't remember which one. I downgraded to multiple stock versions several times.

[MENTION=4878287]_that[/MENTION], there is an active wakelock initiated here:

<6>[ 137.370415] active wake lock power-supply

Right now I am back to the most recent firmware and running Cromi-X (and still have the battery drain). At this point I have chalked my issue up to a hardware issue with either the dock or tablet.
[Asus Transformer TF700] _that:
OK, but some lines below it's no longer active (the message comes from a function that always lists all active wakelocks):

<6>[ 160.835403] cpu_up(1)+
<6>[ 160.860678] active wake lock PowerManagerService
<4>[ 160.871732] CPU1: Booted secondary processor

Do you get the same kernel warnings about timeouts with the current version?
[Asus Transformer TF700] bbygfy:
At least for me, I think the issue is in the "core code". I experienced the drain with both CROM 5.x and CM11. I just downgraded to CROM 3.x and after a week I don't experience any drain. I am running the same version of the bootloader and have installed the same set of applications.
[Asus Transformer TF700] collindv:
Yes, attached is another dmesg with Cromi-X on the latest bootloader running one of your kernels.

David
[Asus Transformer TF700] _that:
I found a short discussion on the kernel mailing list about a patch to remove the stack dump since timeouts on the I²C bus are to be expected:

https://lkml.org/lkml/2013/2/15/219

I can apply this patch for the next kernel - it will remove the warnings in the log, but of course it will not solve the drain problem, which appears to be elsewhere.
[Asus Transformer TF700] collindv:
Up to you whether you apply the patch, though if you don't think that is the cause of the drain though I assume there isn't much point. Thanks for looking into it! I appreciate all your help.

David
[Asus Transformer TF700] Rack1600:
Hello

I have a TF700 and a dock and have the same problem - leave tablet in dock, runs down 70-80% overnight. Out of dock, uses 5%. I have disabled all apps/services/etc. Interestingly the Battery Monitor program I have didn't monitor the battery if it thought it was charging, and it didn't monitor when the dock was plugged in but at 0%. So there is something wrong with the logic around this dock being plugged in.

I have recently sent my dock to the retailer I bought it from in case they will replace it (why not) - turns out it is TF201 dock rebadged. Hoping they replace with a TF700 dock to see.

But anyway, I haven't rooted my tablet as my kids/wife use it all the time, but I am tempted to do this.

I work in software dev, and with Android, so would be happy to investigate what I can, helping out to fix a common problem. :)

Cheers,

Simon
[Asus Transformer TF700] derivitiv:
Daydream Mode?

Has anyone who is experiencing this issue tried turning off "Daydream Mode" from the display settings? I just found this and now my drain problem is gone. :victory:
[Asus Transformer TF700] jtrosky:
I don't have the drain problem and I always turn off Daydream as soon as I install, so that sounds plausible...

Anyone else have any input on this?
[Asus Transformer TF700] workdowg:
I concur. It could be one of the issues, although I never touched the setting. It does say "To control what happens when phone is docked and/or sleeping...". And the default seems to be "on". Wouldn't this have show up in one of the catlogs we all made? Maybe it just shows as "google services"?

---------- Post added at 05:36 PM ---------- Previous post was at 05:34 PM ----------

And not for nothing, I've been back on 5.4 for a week or so. Be docking and undocking like crazy and seeing no drain. Still running my base apps, plus a couple new ones...
[Asus Transformer TF700] workdowg:
And my current app list
[Asus Transformer TF700] fatboyinlycra:
I'm running Crombi-KK and before that Cromi-X 5.4 and noticed a battery drain when docked, but never when undocked so I changed my wi-fi settings to never on when screen is off (which I acknowledge does mean I dont get email notifications when the tablet is sleeping, but they come to my phone so I don't really care) and the battery drain all but disappeared.

I had even tried wakelock detector before this and not found anything of significance other than wifi was was the biggest drain by far

No science behind this post, it's all anecdotal.
[Asus Transformer TF700] jtwags:
I was having the same problem. Did a clean install of 5.4 after format and wipe. Installed a few apps I use for flying that use GPS. I usually leave it docked with wifi and gps on, only undock when I fly so I always have a fully charged tablet. Every time I let it set for a day or so in dock it was fully drained. Tries a battery monitor andhad same problem as other poster, never fully registered as it was charging. Also tried disabling location services and it didn't work. I didn't try turning off wifi but we really shouldn't need to perform an action like that if I can run with the stock rom and have no problems.

Decided to flash back to stock using my nandroid backup. All the same apps and then some and I have no problems with battery drain. I may try to fiddle with it some more when I get some time but sad I can't use this awesome ROM as I can't deal with a dead battery if I forget to undock or charge the night before.

Thanks for all the work on the forums, always great to read what everyone is doing to fix little issues like this. Will keep an eye out for a fix.
[Asus Transformer TF700] sparksd:
You could give the CROMBi-KK ROM a try. I used 5.4 and have moved on to CROMBi-KK - very stable and excellent performance. I don't see battery drain issues with the dock but then I didn't with 5.4 either.
[Asus Transformer TF700] jtwags:
I will download the latest version and give it a go. Thanks
[Asus Transformer TF700] gads1:
is official solution to disable "daydream mode"?

Has enough data been collected to provide conclusive explanation to battery drain issue(s)?

daydream mode disable or what?

thanks -GA
[Asus Transformer TF700] berndblb:
You are right. I agree with everything you said here.

After 3 hours on # 2 I lost 1% on the dock (99/100). I am going to leave it like that for another hour, then undock/redock and leave it overnight.

Any idea how to run the tablet down to 70% tomorrow? I have nothing on there to play with! LOL
[Asus Transformer TF700] jtrosky:
Good point! Maybe we'll have to install one app (a movie player maybe?), just to help drain the battery? Let's think about it overnight and re-group in the morning. As long as we all keep the same configs and apps installed, the tests should be useful...

For those that are "caught up", I'll update the thread with test #3, which will just be to undock and redock the tablet and let it sit overnight. Just to see if that causes any considerable drain.

If we can't seem to re-create the drain this weekend, maybe we can continue the tests next weekend (using a Nandroid backup or just re-installing from scratch). Personally, I like the idea of reinstalling from scratch, but it probably doesn't matter. I think the most important thing is to keep the tablet configurations exactly the same for each test.

I want to thank everyone for their participation! I know it's a PIA to lose your tablets over the weekend! Hopefully, we'll get some results from your efforts though!
[Asus Transformer TF700] Drenus:
Thanks for coordinating, [MENTION=972963]jtrosky[/MENTION]!

After 4 hours on #2, I lost 2% on dock and 1% on tablet (98 / 100 to 96 / 99).