This is very strange. Earlier the iphone could charge normally and it did not matter which way the cable was plugged in. Now, when my iphone 5's battery is dead, It will only charge if the cable is the right way. And when it boots after it has charged to 5%, I have to flip the lightning cable to resume charging. In both accurances it will only charge with the cable the right way. I havent found anyone with similar problem so I'm posting here.