Smart background tasks with JobScheduler

The new release of Android 5.0 provides developers over 5000 new APIs to play with. One of my favourite component that was relseased with the new SDK is JobScheduler. Briefly: JobScheduler API that lets you optimize battery life by defining jobs for the system to run asynchronously at a…