Charging during filetransfer I have recently upgraded my phone from Android 4.3 to 6.0 in my Sony Xperia M.
I'm pretty confused by the new behavior.
Whenever I plug the phone to the USB cable, it is detected in the computer as new connected MTP device but without access to the files (the phone is in the "charging mode".

When I change the connection type in the phone to "file transfer", the charging stops and the file transfer mode hungs somehow after a while of not using the file transfer.


Why it is not possible to transfer files during charging?
The hung seem to be some kind of error.


I'm thinking that it would be much better to use adb or some kind of ftp/ssh/whatever server installed inside the phone for file transfers instead of this crappy UI-friendly functionality.

Is there some better way how to work with the phone?
Quoting from Google Product Forums solution posted by M Power, marked as best answer - this may help solve the hung problem but can't say about not charging during file transfer, but going by your description both seem to be related


  .... Secondly, when doing a transfer, the phone must be unlocked. This was the problem I was experiencing. I would start a large transfer of photos, then during that time my screen would lock and I would get an error. My screen timeout is typically set to 30 secs so this happened quickly for me. Changing the lock to 30 minutes and checking the phone on occasion solved my problem.