Le 14 sept. 07 à 01:55, David Chisnall a écrit : > On 14 Sep 2007, at 00:48, Quentin Mathé wrote: > >> About ETMachineInfo, I plan to move it to EtoileFoundation. It would >> provide applications with a simple way to know about the platform >> they are currently running on (useful if they want to add hardware or >> system dependent optimizations). SystemConfig is probably needed only >> by Étoilé private applications and tools. On configuration changes >> (triggered by the user or coming from the host system) SystemConfig >> can post a distributed notification that any applications can catch. >> Applications may observe such notification to be aware of monitor >> resolution change, network interface change etc.) so I think in most >> cases SystemConfig won't have to be link by any user applications. >> That's why it makes sense to keep ETMachineInfo outside of >> SystemConfig in my opinion. > > Okay. No objections to any of this. For notifications, I think it > would be useful to have the following: > > 1) Battery power low. > 2) AC state changed.
Agreed. > Background processing should be deferred until on AC power; I don't > want tasks using CPU (which drains the battery) if they can avoid > it. When the battery is low, applications (or components) might want > to save their state in case the system fails soon. ok. > I agree that > distributed notifications are a much better idea than having lots of > things polling the kernel. We only need a developer to work on the framework now ;-) Cheers, Quentin. _______________________________________________ Etoile-dev mailing list [email protected] https://mail.gna.org/listinfo/etoile-dev
