Samsung S5 mini G800F charging problem

Hi. I am new on this forum and i not work on phones so not have any info. (i work on car electronics).
This is my problem .
My phone samsung s5 mini G800F started a problem a month ago.
Suddenly it will charge 52% or 58% (not more) and it will drain the battery in 2 -3 hours of normal use. I changed the battery (not original 5usd battery) but same problem. Than i bought another battery (i think also this not original 15usd battery) but the problem was the same.
I bought a charging port from ebay and replaced it. problem is the same.

Any one have any idea how can solve this?