BroadcastRecevier disabled after device lock/sleep for a while
<p>the guestion i would like to ask is that :After the android device locked for a while my boradcastreveiver wouldn't work 
I resisted it on onStart</p>

<pre><code>@Override
protected void onStart() {
    setBroadcastReceiverAction();
    super.onStart();
}
</code></pre>

<p>And unregister it on onDestroy</p>

<pre><code> @Override
protected void onDestroy() {
    unregisterBroadcastReceiver();
    super.onDestroy();
}
</code></pre>

<p>Notice that everything work perfectly fine before the deceive lock for a longtime, even the device lock for 1/2 minutes. But if i lock the device for like 1 hour, the problem came out</p>

<p>Is there anyway to preventing this happen?</p>

<p>Thanks for helping!!</p>
