Re: [RFD] Automatic suspend

From: Pavel Machek
Date: Sun Feb 22 2009 - 09:03:34 EST


Hi!

> > Again, the decision to trigger automatic suspend has to be based on some
> > well defined criteria and the (in)activity of devices seems to be one of them.
>
> I don't know what criteria the system monitor would use. It might have
> to be platform-specific. The Android people seem to have a pretty good
> idea of what criteria will work for them.
>
> Inactivity of devices isn't always a good criterion. There might be a
> background task which wakes up every few seconds to do something as
> long as the system is awake, thereby keeping some device always active.
> The activity from this background task shouldn't prevent an auto-sleep.

Then we'd need a interface to mark such background task... and what is
reasonable use for such task, anyway? Either its job is neccessary, or
it should not waste power.

IOW maybe it is easier to eliminate such stuff?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/