Ticket #2296 (new defect)
Cannot disable suspend anymore
| Reported by: | stiell | Owned by: | Nytowl |
|---|---|---|---|
| Priority: | normal | Milestone: | Om2009 |
| Component: | Distro | Version: | |
| Severity: | normal | Keywords: | Om2009 suspend |
| Cc: | Blocked By: | ||
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | no | PatchReviewResult: | |
| Reproducible: | always |
Description
In Om2009 Testing 5, setting "suspend-time" to -1 in Paroli, or "Suspend After Blank" to Off in the E17 settings, no longer disables suspend, but instead makes the phone suspend immediately after blank. Thus, there is no way to disable suspend. Other suspend-time values work as expected.
How to reproduce:
- In Paroli, go to Settings → phone and select -1 under suspend-time.
- Go back to Paroli and wait until the screen has gone completely blank.
- Touch the screen.
Expected results: The screen should light up again. The phone should not suspend at any point.
Actual results: The phone suspends immediately after screen goes blank. If you touch it immediately after blank, the screen may light up, but it will show some console text and then suspend. After that, it will of course not react to touching.
In Testing 4, this worked as expected and the phone would not suspend.
I am using a clean install of Om2009 Testing 5, dated 16-Jun-2009.

As a workaround commented out the following in /etc/freesmartphone/oevents/rules.yaml:
# -
# trigger: IdleState?()
# filters: HasAttr?(status, "suspend")
# actions: Suspend()