Opened 8 years ago

Closed 8 years ago

Last modified 6 years ago

#443 closed enhancement (fixed)

Automatic screen lock when suspending

Reported by: TAsn Owned by: ainulindale
Priority: minor Milestone:
Component: SHR Image Version: SHR-unstable
Keywords: Cc: baruch

Description

Hey,
Think about the following scenario:
I suspend my phone (manually or automatic) put it in my pocket, receive a call and don't answer/take out of my pocket, either because I don't want to, or because the answer/release buttons were accidentally clicked while the phone was in my pocket.
Anyhow, the phone will now stay non suspended, and furthermore, it'll also start may start applications (accidental button clicks) and drain the battery.
Conclusion, we need auto screen lock on suspend.

Change History (10)

comment:1 Changed 8 years ago by alfa21

yeah! I got this scenario many times :S

I suggest also, while locked, to ignore the touchscreen and put the phone in std-by again if the user do not intentionally unlock it.
(think about the pocket of your jeans while you are walking)

comment:2 Changed 8 years ago by alfa21

mmh... something like this one?
http://www.opkg.org/package_86.html

comment:3 Changed 8 years ago by TAsn

alfa21, yeah, already suggested the first idea sometime in the past, I think suspending should die, and there should be only one button, lock, which suspends if no application requested for anything. And therefore the unlock/unsuspend button should unlock and unsuspend automatically, according to state. If the phone is woken up because of a call, it should stay locked.

comment:4 Changed 8 years ago by alfa21

mmhh... interesting idea... but is it always true?
is there any scenario where someone wants to have FR ready (not locked) after resume?
anyway I prefer configurability instead of fixed daisy chains... in power-config we could add an autolock switch and keep all the other stuff untouched.
default autolock one second before autosuspend should do the trick ;)

comment:5 Changed 8 years ago by dos

  • Milestone changed from wishlist to MS2

comment:6 Changed 8 years ago by baruch

  • Cc baruch added

I believe that the shr-today application does it for you now, could you test it and see if the ticket can be closed?

comment:7 Changed 8 years ago by alfa21

imho it could be closed

comment:8 Changed 8 years ago by dos

No, it can't, as shr-today is not included in SHR images yet.

comment:9 Changed 8 years ago by dos

  • Resolution set to fixed
  • Status changed from new to closed

Now it is, so closing

comment:10 Changed 6 years ago by morphis

  • Cc changed from baruch, to baruch
  • Milestone MS2 deleted

Milestone MS2 deleted

Note: See TracTickets for help on using tickets.