Software

Flemming Richter Mikkelsen quatrox at gmail.com
Wed May 7 22:24:29 CEST 2008


On 5/7/08, joerg at openmoko.org <joerg at openmoko.org> wrote:
> Am Mi  7. Mai 2008 schrieb David Samblas Martinez:
> > And why not implement a "execute command" option in
> > the PIM Task Manager(Schedule)?
> > If the neo will be able to wake up to play a sound
> > and/or buzz, I suppose it can execute a shell command
> > and sleep again when finished.
>
> The interesting bit of this is to distinguish between dates that just had wake
> up the device, so we may go to sleep again immediately after "execution", and
> dates that happen to be "executed" while user intentionally switched on the
> device already so we mustn't go to sleep afterwards.

I got one idea. We know how the phone powered up (by button, charger or rtc).
If the phone powered up by rtc (/proc/cmdline) and
time_until_next_task > min_interval then suspend;)


-- 
Please don't send me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Join the FSF as an Associate Member at:
<URL:http://www.fsf.org/register_form?referrer=5774>

Free your mind - Open(moko) your phone




More information about the community mailing list