Weird Face ID issue

I had an iPhone XS Max for repairs and there was a shorted cap on VDD_MAIN, Got rid of the short and everything was fine. Until the battery was low and i plugged it in to my Apple USB C Fast charger and it turned on but this time with a pop-up saying Face ID is unavailable but then I un-plugged it from the fast charger and plugged it in to the charger which came with my iPhone and this time there was no Face ID pop-up. Any idea what caused this?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0