It needs a new charging port, send it back to where you got it from if it's still under warranty and they will replace it, it was a big problem with the S20 series, i had 3 that needed that repair, always saying moisture detected but hadn't been anywhere near water, I thought they had sorted it but obviously not.
Makes me laugh that they advertise these as being water proof.