Sony Xperia 10II - Low power mode

After activating the low power mode by

mcetool --set-low-power-mode=enabled

the device is acting well. Only the period of time the date and time is displayed is too short.
Which parameter has to get changed to extend the time periode that the date and time is diplayed longer / 3 times longer would be fine.

3 Likes

mcetool - prints all current settings

mcetool --long-help - prints ALL options with short descriptions of settings

mcetool --set-low-power-mode=enabled / mcetool --set-low-power-mode=disabled

To prolong the time the display is active for, you need to adjust the DEFAULT 5 seconds, you can do this with the folowing;
mcetool --set-blank-from-lpm-on-timeout=15

1 Like

There’s a small typo in there, it should be --set-blank-from-lpm-on-timeout, but either way that parameter doesn’t work on the Xperia 10 II. The LPM screen is only visible for about a second at most, regardless of how seconds the abovementioned parameter is set to.

And one more thing: the Xperia 10 II seems to suffer from the same proximity sensor issues as the Xperia 10 and Xperia XA2 (and occasionally the Xperia X), which means you will only occasionally get the LPM screen to show up when you take the device out of your pocket or wave your hand in front of it. Usually it just stays black and you have to use the power button or the fingerprint sensor (which is also the power button) to turn on the screen.

2 Likes

I experience the same effect on my Xperia X; the lpm timeout is effectively one second regardless of the setting of --set-blank-from-lpm-on-timeout. This has worked on SFOS3 but seems to be broken with SFOS4. It would be great if this could be fixed somehow.

2 Likes

Firstly from 3.2.0 / Torronsuo release notes:

An attempt was made to prevent calls from being accidentally held [Xperia X devices]. Proximity sensor utilization was tweaked to improve the reliability of in-call blanking behaviour. Unfortunately, this change also affects the Sneak Peek feature. Those users who have not experienced problems with in-call proximity blanking and wish to continue using Sneak Peek can revert back to the previous behaviour by executing mcetool --set-ps-on-demand=disabled from the command line.

Basically: In Xperia X the above should make lpm work without causing any issues. In other Xperia devices there is some risk that proximity sensor will start misbehaving and cause issues both for lpm and in-call proximity blanking.

There was a change in topmost window reporting (AFAIK in 4.1.x release) and this caused some more or less subtle problems for fingerprint wakeup, blanking timers, …, and lpm (misinterpreting topmost window state makes it look like there is an app on top of lpm screen = not ok for lpm → lpm is canceled → display blanks). Fix is in 4.2.x. Some more info at: [BUG][4.1.0.23, 4.1.0.24] Unlock device by fingerprint

6 Likes

Thanks for the explanation. Looking forward to 4.2. :slight_smile:

Xperia 10 ii SFOS 4.2 EA

I have ‘sneak peek’ working on Xperia 10 ii with a timeout of 15 seconds (LPM content shows for 15 seconds once activated). As pointed out by Spiiroin, to revert/enable back to LPM you must execute ‘mcetool --set-ps-on-demand=disabled’, prior to this, LPM would not show.

I note that the Weather Temperature on the LPM screen still shows white text when the time/day/date are in theme colours. Looks a little…disjointed.

Also to bear in mind, I have no SIM card in the device as yet, so I won’t know about Proximity Sensor problems until then. At least for now I can enjoy using sneak-peek once again.

EDIT:
I changed the colour of Weather Temperature on LPM screen. It’s quite a simple change and the file to be altered is here; ‘usr/lib64/qt5/qml/Sailfish/Weather/WeatherIndicator.qml’ at LINE 33;
change from;

    color: Theme.primaryColor     

to;

    color: lockScreen.lowPowerMode ? Theme.highlightColor : Theme.primaryColor
5 Likes

With mcetool --set-ps-on-demand=disabled
and mcetool --set-low-power-mode=enabled it causes no problems with proximity sensor on my Xperia 10II with SFOS 4.2.0.19 EA so far.

2 Likes

On light ambiances, the temperature even disappears, probably because the text is black due to the theme colour.

1 Like

Not a problem for the preset light ambience but yes, I have a white ambience that shows only the weather icon, as all text becomes black. I had only tested with preset ambience packages, not user ambience.
I’m fairly sure there is a way round it and if I work it out, I’ll be sure to post it here.