If you have a Samsung Galaxy S Duos GT S7562 mobile phone and getting problem of switching off your mobile again and again then from here you can get some solution.
What is the Solution for it?
1) The first problem might be in your mobile battery (Replace it if your Samsung Galaxy S Duos in warranty period)
2) Second option might be of Sleep of Death and which can be corrected as follow:
Go to Settings -> Wi-Fi -> Advanced -> Keep Wi-Fi on during sleep -> Never (increase data usage)
3) Install Android Booster in Your mobile phone.
4) If your are getting this problem again and again then go to Samsung Mobile service center as soon as possible.
Hope these tricks will solve your problem.