The power button may be sticking. This happened to my s2. It kept turning off and on and off and on. None stop til it killed my battery. I just took it apart and flipped the rubber button cover around and it was fine. One side of the button was wore out. Unfortunately I dropped it in the toilet...