[Desire Android Development] mgmate:
Random reboots & battery heavy drain issue

Well for those how help me to identify the two issues I have:

- Battery drain.

- Ramdom reboots.

Update for Battery drain

===================

With powertutor and RadioOpt (powertutor does not detect all applications using 3G even is a great application)

The root cause for this issue is Email. I have an exchange account that replicates every hour (maximun) with 300 mails per day, 500 contacts (corporate email), a lots of calendar items. The issue is that even replication is marked every two hours, is efectively connecting (I googled and it seems is calendar, but not only because even application sync is off is still doing connections) every 2-3 minutes. Powertutor detect that but with RadioOpt I see the data transmited, but as I explain below the main issue for battery drain is the open connection, not only traffic.

If I delete the exchange account everything is fine. I end up using tasker to see if this solve this issue.

http://xdaforums.com/showthread.php?t=1071358&page=2

The other issue with email is that in stock email application you can select the size to download in received emails (2k, 5k , ... full) but in this version you can not select that so is replicating full messages (several MB everyday), of course without Attachments.

I found vey interesting readings all of them related with Samsumg Galaxy S, but the issue is exaclty the same in our HTC. Lots of emails, lot of contacts and lot of appointments will drain the battery.

In the googling taks I found interesting readings about how google email client works with exchange but i did not found where it was. In summary: Email client open a connetion, ask the server, replicate if new emails and WAIT several minutes for new emails before closing connection. If, as it is my case, you are still receiving emails (for example every 2-3 minutes) 3G connection it is not closed. This is the reason a lot of people not having issues. On the top of that if you have a lot of calendar appointments, this is causing also frecuently checking in the server. Some other people solve the issue not checking calendar (but for me is a must to sync calendar).

Please if anybody has a clue of how to configure in a different way let me know. I try to use the stock email client in this Oxygen version but does not install properly, when is installing stops and the only message is saying is not installed. I tryed Touchdown and Dataviz email clients but still the same issue with connections is happening no no luck here (but let me select the size to download).

New findings

:

1. Tasker solve the issue with right configuration but in this case I am not conected anymore in "out of window" connection, as Mobile data is OFF outside those windows.

2. Without Tasker, in "Background data ON and Replication OFF" every time I wake up the phone for anyting, Mail, Calendar and contacts are stablishing the connection to check something. So if you are frecuntly checking things the 3G Radio data is consuming almost constantly....

Please if anybody find a solution without going Mobile Data OFF, let me know.

Ramdom reboots

============

No conclusion yet. I am still testing, so I do not want to confuse people and even less Thalamus that helps me a lot to identify the SDCARD as the 99% root cause for the issue.

Regards,

Manuel.