By default, we can allow an unlimited number of devices to use the hotspot on our Xiaomi smartphone, but if we want to set a limit to get a little more control, we can set a maximum limit on connected devices.

Android 10 (MIUI 12.0)
Step 1:  Open the  Settings
Step 2:  Tap on  Connection & sharing
Step 3:  Tap on  Portable hotspot
Step 4:  Tap on  Connected devices
Step 5:  Tap on  Limit of connected devices
Step 6:  Set a  limit of   connected devices
  1. Open the Settings
  2. Tap on Connection & sharing
  3. Tap on Portable hotspot
  4. Tap on Connected devices
  5. Tap on Limit of connected devices
  6. Set a limit of connected devices

Xiaomi Instructions