try resetting the browser of your phone and remove all settings in browser . get the latest driver for the phone and reboot the phone . try these steps and see if this will work for you .
remove the battery and wait for life 2 min . plug it back and restart the computer . make sure you wait for like 5 min once you plugged in . just sit back check the power cord and wire . checkout this article for any other steps -fix laptop which is not charging while plugged . thanks