So I have an iPhone 5 that is on firmware 6.1 and its jailbroken. Basically the other night my iPhone 5 ran out of battery and died, so the next day in the morning I put it on charge and noticed that nothing was happening. I didn't get the battery icon on the screen that it was charging, all I got was a black screen(the off screen) and so I waited about an hour while it was on charge to see if it would show me the battery screen. Nothing was happening even after the hour so I tried different USB ports and different outlets and still the same thing. Then I started to press random buttons on the iPhone and holding stuff and even then nothing happened. After that I tried to put it on charge again and it magically started to charge and showed me the charging screen. I charged it up to 100% and later that night the phone died again from normal use. Now I have the same problem but its not magically charging again like last time. Does anyone know how to fix this? My phone has been on charge for the past 2 hours and still nothing on it.
EDIT: I connect it to the computer and still nothing, my computer doesn't even recognize that I put in a USB device into it, and so doesn't iTunes..