There may be some issues with your battery health, also it can happen if your charger isn’t working properly or not perfectly connected to your device. If you are using a wireless charger make sure there is no gap or dust between the device and the charger.