Mobile applications using setInterval to poll a server are a battery hogs. Save battery life by fetching data at the right moment. Created by marmelab on Aug 26, 2016.