The battery message is very suspicious but, the permission notification is a security feature of MIUI, you can manually manage what every app is allowed to access.
I'd do a data wipe in recovery to get rid of whatever app is warning you about the battery.