android - Periodically pointing api to refresh data. Battery? -
android - Periodically pointing api to refresh data. Battery? -
my app periodically refresh info pointing api. right know process every 3 minutes. thats mean every 3 minutes app, points api requests , calculating data. best time value between refreshing points? somewhere ready every 30 minutes.
i focusing right on battery life , looking best solution. thanks.
exact reply question depends exclusively on how of import "refresh" app work stably. haven't checked c2dm approach. few steps can followed improve performance , battery
1) stop periodic refresh when application in background
2) follow design tips thats been given here.
3) improve give user selection regarding refresh timer 10, 20 , 30 minutes selection in app settings (optional).
android api battery
Comments
Post a Comment