First, make sure that the distance between the keyboard and the tablet is no more than 10 meters, and that nothing is blocking the signal.
Second, check that the keyboard's battery is fully charged, and make sure that the Bluetooth connection between the keyboard and the tablet is stable. If the problem persists, try repairing the keyboard with the tablet or updating the tablet's system software. If the problem still cannot be solved, it is recommended to contact Xiaomi customer service for further technical support.