Diagnosing an infrequent android cold reboot
<p>I am programming an android application which causes my phone to reboot.</p>

<p>Similar questions have been asked before, but I am hoping to get some suggestions on how to diagnose the problem given specifics of my situation, which are as follows.</p>

<p><em>Some context:</em>
The application uses a service running in the background, to periodically download JSON data from a server. Based on this data, it sets PendingIntent in alerts for the AlarmManager and proximity alerts for the LocationManager. The pendingIntents instantiate an activity with a webview component which renders an interface based on that JSON text.</p>

<p>Regarding reboots:*</p>

<ul>
<li>Reboots never happen when the phone is connected to the pc through the usb cable.</li>
<li>Reboots are quite scarce. They take place maybe once a day, or sometimes even further apart. They also seem to be unpredictable. So even waiting for debug logs on <code>adb</code> over wifi
does not seem to help. </li>
<li>When feeling the phone right after a reboot, I have the impression that it is particularly hotter than usual on its back where the battery lies (but maybe it's just an impression)</li>
</ul>

<p>Would be grateful for any suggestions towards diagnosing the problem.</p>
