WIKI: double tap on Xperia 10

I got working the double-tap feature on Sailfishos 4.4.0.58 Vanha Rauma

You need mcetool installed on your device (pkcon install mcetools)

I got to activate LPM first:
mcetool --set-low-power-mode=enabled
mcetool --set-ps-on-demand=disabled
mcetool --set-lpmui-triggering=from-pocket,hover-over

Then I activated double tap and configured it:
mcetool -M show-unlock-screen (can be also -M unlock if you prefer)
mcetool -z proximity
mcetool -i enabled
mcetool -E enabled

In case you want Double tap almost always active you can set LPM with a very long timeout, like 100 seconds:
mcetool --set-blank-from-lpm-on-timeout=100

Remeber: Double-tap on xperia 10 ii works only if you have already glance screen (i.e. if you take it out of your pocket)

9 Likes

Two little remarks (Xperia 10 iii; SFOS 4.4.0.72 Vanha Rauma):

  1. mcetools install command is: pkcon install mce-tools
  2. -E and --set-low-power-mode is the same option; hence, required only once

Furthermore, I reduced the config to the following commands:

  1. mcetool --set-ps-on-demand=disabled
    //otherwise it does not work after a few seconds in blank screen (screen off)

  2. mcetool --set-lpmui-triggering=from-pocket,hover-over
    //activate low-power-mode ui from blank screen

  3. mcetool -E enabled
    //enable low-power-mode

  4. mcetool -M show-unlock-screen
    //set screen to switch after doubletap

  5. mcetool -z always
    //recognize doubletap always (alternative: only with proximity)

Is there an option to keep the lpm-screen always on? or another workaround to listen for doubletap without hovering?
–set-never-blank=enable
also disables lpm mode.

4 Likes

This works great on Xperia 10 III, thanks.
I have one problem though - when the glance screen comes up the whole screen lights up, not just the active pixels as it should be on an OLED screen.
How does it work for you on Xperia 10 II?
Thanks.

Thinking of using this on my Xperia 10 iii, what’s the difference with battery life while using it?

Do you mean the glance screen or double tap or both?
Either way the thing is the glance cannot be set to always on, only to be activated by the proximity sensor - pulling the phone out of your pocket etc. And the double tap is only active when the glamce screen is on. Sort of a workaround is to set a really long time for the glance screen - the longest I’ve tried so far was an hour, but you still need to activate the glance by triggering the proximity sensor first.
So I haven’t really tested battery life impact much as it’s not super straightforward.
But for me the whole screen on issue is a bit of a deal breaker as that definitely eats more battery and just plain looks ugly:(