I was having same problems as you:
turn off "high accuracy gps", "Wlan and bluetooth scanning", and if rooted install the Magisk "Universal GMS Doze" module.
I have MI 9T and I also installed this:
https://forum.xda-developers.com/mi-9t/themes/miui-debloat-optmizations-t3973371
which does, I...