The link you posted answers the question how to display the number at status bar. And if you are looking for how to run something in background for every 2 minutes, you can check out Alarm Manager. I guess Work Manager has a minimum interval of 15 minutes which is not ideal in your case.