last night when i slept my iphone 4`s battery was 12% charged & in the morning i woke up my device was shut off due to lack of charging. when i make it on charging its indicate that it`s charging but all of a sudden after 5-10 minute of charging it was going switch on & off & it have been around 4 hours but it was on same condition like starting switch on & sudden switch off again n again. please help me out.