Some devices from vendors like Mi have additional security settings that do not allow apps to come online again after reboot. There is an easy fix to this.
Open security app (NOT settings)
Open permissions
Open autostart
Toggle on – Easy logger
This will ensure the app starts accurately when the device is rebooted.