Yes you can connect it to the computer and it will charge however it takes a really long time to do it this way. You also have to make sure your computer is on not in sleep mode. I only recommend connecting it to the computer if you are doing something such as downloading pictures or putting music on your phone. Plugging it in to the wall is the best way