Can we ON or OFF the device programatically?
<p><em>I know there is a way where we can reboot the device. And it shows immediate result.</em></p>

<p>But my need is as :- </p>

<p>I want that when I will be in my class-room my phone automatically goes to OFF. (Lets say at 2:00 PM), and when I will end my class, my phone will automatically ON (Lets say at 5:00 PM).</p>

<p>So I am looking for the ways where I can ON/OFF the device automatically. </p>

<p><em><strong>Is this possible? If yes how can I do it?</em></strong> </p>
