[Asus Transformer TF701] berndblb:
Do we have another battery drain problem??

Here's something for the OCDs among us: [emoji12]

I always had the "feeling" that the batterie(s) drained quicker if the tablet was docked but I never really investigated it. The first day after applying the vendor/lib fix seems to indicate that is does.....

So we may have:

A) battery drain caused by the KK update/GP services update. The fix is in this thread, see above ^^^^^

B) battery drain while the tablet is docked unrelated to A)

I did all the tests last week attempting to find a fix for A) with the tablet undocked.

I am confident that the removal of that vendor/lib file fixed the battery drain on my tablet. I now will leave the combo docked - that's how I usually use it - and record battery consumption over several days.

This is tricky and much harder to monitor than the battery on the tablet alone, especially once the tablet goes under 70% and the dock starts charging it - lots of variables there.

Asus' design is that the dock starts charging the tablet once that battery goes below 70%. But the dock battery is much smaller than the tablet's.

So 20% less battery power in the dock does not equal a 20% gain in the tablet's battery, one of the reasons it's so hard to really monitor what's happening.

It's easy to monitor as long as the dock is 100% and the tablet above 70%.

And easy again once the dock is at 0%.

But inbetween it seems impossible to tell what is actually happening since both batteries are constantly changing and the percentages +/- do not match.

During the trials last week I may have found a tool (the kernel debug log for suspend_stats and the uptime log) that may help to determine if we have something similar happening in B) as in A), namely that the dock prevents the unit from going into deep sleep.

This will take time since these logs only show what's been happening since the last boot.

So to determine if we have a sleep problem due to the dock I plan to follow this scenario:

Charge both to 100%, leave connected at all times

1) Use the combo normally (use and sleep) to the tablet being < 70% or just before the dock starts charging it, recording battery drain during sleep intervals along the way

Then, just before the dock starts charging: pull uptime and suspend_stats

Reboot to clear the logs

2) Use the combo normally (use and sleep) until the dock battery is 0% (recording drain during sleep in this phase is useless IMO since, as the tablet battery drains, it also gets charged from the dock)

Pull uptime and suspend_stats

Reboot to clear the logs

3) Use the tablet normally (use and sleep) recording battery drain during sleep until let's say 15% or so

Pull uptime and suspend_stats

Recharge the combo and reboot

4) Rinse and repeat

If anybody has a better idea for a test scenario, please let me know.

If anybody knows a better way to monitor sleep I'd be grateful if you told me.

And if anyone would like to join me in those tests - even better. The more, the merrier. [emoji322]

But let's agree on one test scenario so that we can compare apples to apples.

To get the tablet's uptime and suspend_stats

adb shell
uptime
cat /sys/kernel/debug/suspend_stats

Merry Christmas everyone!