Yes. Shortening the data pins on the device side will do the trick. It is the device which decides how much current to allow and it is more complex than that. What you did works for most of the Android devices with Micro USB port. In fact this works for some of the new USB Type-C devices as...