Default [Q] Galaxy S3 Shuts off randomly because of charging

My cell phone (SHV-E210S) doesn't shut down automatically when I charge my phone through computer using data cable. But when I charge it using same data cable but through power adopter it starts shutting down randomly after charging is completed.

I have tried to charge with some other charger but same problem. Any suggestion how to fix the issue.

- Usman