android - Will a short time period for SyncAdapter's periodic sync, necessarily drain the battery? -


in case, "short time period" can 30 seconds 5 minutes. onperformsync method nothing of times, i'm concerned short sync period might prevent phone sleeping, , have drastic effect on battery life.

public void onperformsync(account account, bundle extras, string authority, contentproviderclient provider, syncresult syncresult) {      if (!internetconnectiondetector.isconnectedtointernet())         return;      if (/*we have received push server indicating update available*/)         syncwithserver();     else         return;  } 


Comments

Popular posts from this blog

c - Calling a function within a loop -

vb.net - Unbound DataGridView add row with checkbox error -

How i fill combobox items in Radgridview manually using in vb.net -