Boot BroadcastReceiver does not work on Xiaomi devices
I searched around the web and found a solution, I've decided to answer my own question. Follow the same code given in the question.
In Xiaomi devices, you just have to add your app to Autostart list, to do so, follow these simple steps given below:
Open Security app on your phone.
Tap on Permissions, it'll show you two options: Autostart and Permissions
Tap on Autostart, it'll show you list of apps with on or off toggle buttons.
Turn on toggle of your app, you're done!
Now, reboot your phone, you'll see a Toast message I am Running