Openmoko Bug #2008: Suspend exceptions: Do not suspend when certain apps are running
Openmoko Public Trac
bugs at docs.openmoko.org
Thu Sep 18 10:20:47 CEST 2008
#2008: Suspend exceptions: Do not suspend when certain apps are running
----------------------------------+-----------------------------------------
Reporter: Benih | Owner: openmoko-kernel
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: System Software | Version: Om2008.8
Severity: minor | Resolution:
Keywords: suspend exception | Blockedby:
Reproducible: | Blocking:
----------------------------------+-----------------------------------------
Comment(by raster):
bingo! it's not the job of some susped.deny thing or other such hacks
that guess based on open files or on process names etc. that is entirely
an ugly hack that is bound to break down in so many places. if an app
truly wants the system not to suspend while it's up - the app should ask.
there is a dbus api just for that. :) if an app wants the system to sleep
(e.g. some idle timeout) again - dbus api to ask just for that. the rest
is just complicating what is a very simple system already in place. :)
there really is zero need for suspend.deny if you knwo what is already in
place (as ompower implements a suspend.deny via dbus requests as such).
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2008#comment:12>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the buglog
mailing list