Ticket #262 (closed enhancement: fixed)
List of exceptions for auto-suspend
| Reported by: | Leonti | Owned by: | mickey |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | framework/general | Version: | |
| Keywords: | Cc: |
Description
It would be cool to have a possibility to set a list of programs which would prevent phone to go to auto suspend of turning screen off. For example - if fso-gpsd is running, the phone should not be suspended because some track can be recording, or if TangoGPS is running backlight should not turn off because if you use it in a car it's hard to tap on the screen just to keep it alive. Or when playing doom using accelerometers - screen goes black after some time of playing. It would be nice to have such a list implemented, for example - fso-gpsd is running -> no autosuspend, doom is running - no autosuspend, backlight and screen are always onn.
Change History
Note: See
TracTickets for help on using
tickets.

This is now implemented. If you request the "CPU" resource, the system (idlenotifier, to be exact) will no longer autosuspend.
You can now just write a rule or RequestResource? via dbus whenever you want this behaviour to happen.