<div class="gmail_quote">2009/7/27 Ben Wong <span dir="ltr">&lt;<a href="http://lists.openmoko.org">lists.openmoko.org</a>@<a href="http://wongs.net">wongs.net</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Fri, Jul 24, 2009 at 3:44 PM, Brolin Empey&lt;<a href="mailto:brolin@brolin.be">brolin@brolin.be</a>&gt; wrote:<br>
<br>
&gt; I prefer to shut down my cell phone before going to bed, but I frequently<br>
&gt; forget to do so.</div></blockquote><div><br>That could be interpreted as meaning I frequently forget to go to bed too. ;) <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
<br>
</div>Hmmm... I think the solution depends on why you&#39;re shutting down your<br>
cell phone at night.<br>
<br>
To prevent calls from waking you?</blockquote><div><br>No, the phones I have do not wake me.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
  Try a cron job that changes your<br>
default ring style to silent (and resets it in the morning).</blockquote><div><br>A phone that literally <i>rings</i> (i.e., has a real bell instead of an electronic tone) may wake me, though. :) <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
To save electricity, and thus the earth from global climate change?</blockquote><div><br>I was thinking more of “to save the battery runtime for when I am awake and can actually use the phone”, but I guess it could be considered to be preventing (or at least reducing) climate change too.  I already have 2 tower PCs running almost all the time at home, but at least they both have 80plus PSUs.  My tower PC at work is running almost all the time too, but it needs to be running at night for the backup system.  It has an 80plus PSU too.<br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
I&#39;d use a cron job that calls shutdown, but that first checks if your<br>
phone is off the hook (well, I guess we already know the Freerunner is<br>
&quot;off the hook&quot;).  I&#39;d probably also check if there had been any recent<br>
screen input.</blockquote><div><br>In this case you literally meant off the hook, but at first I thought you meant “no longer responsible for”. :) <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
To save the battery in case you forgot to plug it in?</blockquote><div><br>Yes, this is what I was thinking of.  I am afraid to leave battery-powered devices plugged in (line-powered) all the time, though, because doing so seems to kill laptop batteries.<br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">  A cron job<br>
would work to shut it down, but you could add a couple lines in the<br>
script to skip it if the battery is already charging.</blockquote><div><br> Or if I am using the phone. ;)<br></div><br>
</div>