lkml.org 
[lkml]   [2010]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Attempted summary of suspend-blockers LKML thread, take three
On Mon, 9 Aug 2010, Alan Cox wrote:

>> But wouldn't an office suite run as a power-oblivious application on an
>> Android device? After all, office applications do not need to run when
>
> I was waiting for soemone to leap down the pit I dug Office suites have
> some quite important background activities. Consider the case of a power
> oblivious Open Office. You type a critical document, you suspend, your
> phone battery dies a bit later, you lost your document. Office suites do
> timed backing up as one simple obvious example. That could become a power
> aware behaviour but the truely power oblivious office suite is a myth.

this is a good example of why the office suite should be a privilaged
application. If the system were to consider it privilaged, it could
wake up when the timer is scheduled to fire to save the document.

the office suite probably has a periodic timer that would fire every 10
min no matter what, but if there was a reason to change it, it could be
modified to only setup the timer when the document is changed. If no
changes can take place because the system is asleep, the timer never gets
setup.

David Lang


\
 
 \ /
  Last update: 2010-08-10 03:21    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site