Ticket #172 (closed enhancement: fixed)
disable screen blanking/suspend for certain apps.
| Reported by: | alfa21 | Owned by: | ainulindale |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Frameworkd / FSO | Version: | |
| Keywords: | Cc: |
Description
I think it'd be useful a sort of white list where executable names can be declared and if any of them are running, FR is not put into std-by mode.
it could be based on a simple text file with program names, one on each line.
in this way a user could define an anti_stdby policy when he is using tangogps or navit or mplayer... etc...
Change History
comment:2 Changed 3 years ago by anonymous
I would report to fso
as this would be something for the framework
comment:3 Changed 3 years ago by andreas.sinz@…
This has already been reported.
See here: http://trac.freesmartphone.org/ticket/245
comment:4 Changed 3 years ago by ainulindale
- Status changed from new to accepted
- Owner changed from daniel to ainulindale
- Milestone MS1 deleted
This has been implemented in FSO. We now have to wait for the next release.
comment:5 Changed 3 years ago by spaetz
actually, the upstream bug mentioned has been resolved as invalid and mickeyl does not want to implement it. So SHR needs to think about how to implement this or convince FSO to reconsider.
comment:6 Changed 3 years ago by spaetz
- Summary changed from implement a white list anti stand-by to disable screen blanking/suspend for certain apps.
This is how the disabling of suspend and screen blanking should be done according to mickeyl:
13:11 < mickeyl> request the CPU and Display resources
13:11 < mickeyl> keep them requested
13:11 < mickeyl> release 'em if necessary
13:11 < mickeyl> or, if you absolutely want
13:11 < mickeyl> set the resource policy to enabled
13:11 < mickeyl> for as long as you want
13:11 < spaetz> sorry I am new to Moko, requesting resources increases a usage counter and releasing frees it?
13:12 < mickeyl> spaetz: correct
comment:8 Changed 3 years ago by monto
- Priority changed from major to minor
as said before this is a framework bug and the correct way to prevent this is to ask for cpu and display resources, if you don't want to do this you can disable the auto suspend and autodimming from shr-settings.
comment:9 Changed 3 years ago by spaetz
I am tempted to close this bug now. The effect can be achieved by using fsoraw which is available in SHR. How to use it should be put on our wiki pages if it's not already there.
comment:10 Changed 3 years ago by kimaidou
hum, fsoraw seems to be the solution, but I cannot find any page on how to use it. Could anyone write some notes about it ?
comment:11 Changed 3 years ago by spaetz
- Status changed from accepted to closed
- Resolution set to fixed
see http://lists.openmoko.org/nabble.html#nabble-td2630893
I would be glad if you could add that to some tweaks or tipps and tricks section to the SHR wiki :)

That's a great idea :)