We have moved to a new Sailfish OS Forum. Please start new discussions there.
16

Wakeup/Sleep via power button has noticeable delay on Torronsuo

asked 2019-11-11 15:33:57 +0200

sloh gravatar image

Since upgrading to 3.2.0.12/Torronsuo, my Xperia X now has a noticeable delay when reacting to pressing the power button. Both waking up and turning off the screen takes at least half a second before anything visible happens. This is especially apparent when turning off the screen, where I press the power button and the screen remains on for what feels like an eternity.

edit retag flag offensive close delete

Comments

1

Same here on Xperia X and 3.2. It's an annoyance.

tmy ( 2019-11-11 15:41:50 +0200 )edit
1

Same applies to using lock icon from top menu.

potski ( 2019-11-11 16:29:15 +0200 )edit
1

Yeah, sometimes I pressed a second time already, because phone has not reacted. Maybe someone skilled can make a patch?

SaimenSays ( 2019-11-11 18:56:30 +0200 )edit

I think iPhone had this sort of update in the past: they slowed down the older models too. 😄

potski ( 2019-11-11 19:52:10 +0200 )edit
1

It seems that only Xperia X is affected by this issue. Though, no problems here on XA2

Sakke ( 2019-11-12 07:26:52 +0200 )edit

1 Answer

Sort by » oldest newest most voted
5

answered 2019-11-11 20:41:59 +0200

s_mario gravatar image

updated 2019-11-12 23:13:23 +0200

I noticed the same thing. And for my Xperia X, it helped to apply the code from the release notes under the Phone section

mcetool --set-ps-on-demand=disabled.

I had no more delay after that, if I lock the phone via the top menu.

[Edit - 12.11.19 - converted to an answer]

edit flag offensive delete publish link more

Comments

2

Note that the delay is directly related to "on-demand" proximity sensor setting. Sensor is kept powered off unless the phone is in a state the sensor state is constantly needed i.e. things like ongoing call -> proximity blanking is needed -> sensor is powered up. Then there events/impulse kind of things that require knowledge of p-sensor state -> processing of such events is delayed until sensor state is known -> reacting to things like power key presses is affected by sensor ramp-up time.

This feature was implemented as a workaround for xa2 p-sensor starting to malfunction after being powered on for long time.

It was taken also in use for Xperia X in the hope that it might fix some problems people were having with in-call proximity blanking.

Also noteworthy: Power key is a special case, but is currently not treated as such i.e. under some circumstances processing of power key events would not require knowledge of p-sensor state -> delaying power key processing is not always necessary. An internal task exists for this purpose, but it is not considered high priority.

spiiroin ( 2019-11-13 10:13:03 +0200 )edit
Login/Signup to Answer

Question tools

Follow
7 followers

Stats

Asked: 2019-11-11 15:33:57 +0200

Seen: 508 times

Last updated: Nov 12 '19