Can my FreeRunner remind me to shut it down if it is still running at 22:00?

Brolin Empey brolin at brolin.be
Tue Jul 28 12:47:25 CEST 2009


2009/7/27 Ben Wong <lists.openmoko.org at wongs.net>

> On Fri, Jul 24, 2009 at 3:44 PM, Brolin Empey<brolin at brolin.be> wrote:
>
> > I prefer to shut down my cell phone before going to bed, but I frequently
> > forget to do so.
>

That could be interpreted as meaning I frequently forget to go to bed too.
;)

>
>
> Hmmm... I think the solution depends on why you're shutting down your
> cell phone at night.
>
> To prevent calls from waking you?


No, the phones I have do not wake me.


>  Try a cron job that changes your
> default ring style to silent (and resets it in the morning).


A phone that literally *rings* (i.e., has a real bell instead of an
electronic tone) may wake me, though. :)

>
>
> To save electricity, and thus the earth from global climate change?


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.


>
> I'd use a cron job that calls shutdown, but that first checks if your
> phone is off the hook (well, I guess we already know the Freerunner is
> "off the hook").  I'd probably also check if there had been any recent
> screen input.


In this case you literally meant off the hook, but at first I thought you
meant “no longer responsible for”. :)

>
>
> To save the battery in case you forgot to plug it in?


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.


>  A cron job
> would work to shut it down, but you could add a couple lines in the
> script to skip it if the battery is already charging.


 Or if I am using the phone. ;)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20090728/eb5c841c/attachment.htm 


More information about the community mailing list