Hey @Maf_05 , welcome to the Community!
How long have you had your iPhone XS for?
Do you have to charge it once everyday or even more than that?
If this persist, I'd suggest bringing your phone to an Apple store directly. They will definitely be able to have a look at this