Woops! I used the charger and on the end of the plug is another connector in which i can plug in the usb cable at the same time!
I don't have a battery, maybe this is why my phone keeps randomly shutting off after 30 secs?