My galaxy s3 only works when i plug it to a charger and it is n't the battrey's fault it works perfectly? I have debricked it

ASK THE COMMUNITY