Re: [RFD] Automatic suspend

Pavel Machek
2009-02-22T14:03:11Z

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