My app periodically refresh data by pointing the api. Right know this process is every 3 minutes. Thats mean that every 3 minutes app, points to api requests and calculating data. What is the best time value between refreshing points? Somewhere i ready that good is every 30 minutes.
I focusing right now on battery life and looking for the best solution. Thanks.
Exact answer for this question depends entirely on how important is "refresh" for your app to work stably. I haven't checked the c2dm approach. Few steps can be followed to improve performance and battery
1) Stop your periodic refresh when application is in background
2) Follow the design tips thats been given here.
3) Its better to give user a choice regarding Refresh timer with 10, 20 , 30 minutes as choice in your app settings (optional).