This happens quite often with phones after 2-3 years of usage. You can try visiting a Xiaomi service centre and replacing the battery of the device. If it doesn't work, you might need to alter the motherboard
Hi Guest we just wanted to alert you to a major change in the forum. We will no longer be allowing the posting of outgoing links. Please use the attachment feature to attach media to your posts.