I just flashed CM 10.1 and my phone is functioning properly. Whenever I plug the usb cable to charge my phone, it reboots. After, my phone won't even charge properly. It keeps switching from charging to not charging and continuously does this back and forth. My battery percentage doesn't even go up either.