Here maps locks the screen
Hello Jolla people,
I have Sailfish 3.0.1.14 running on Xperia XA2 -Dual SIM. When I run here maps app after some time my screen locks. What is quite problem when you using it for car navigation. I cannot stop car every time my phone locks the screen. It is possible to setup it somehow ?
Thanks in advance.
Workaround #1: Connect phone to charger and set it to keep display on when connected to charger in Display Settings.
Workaround #2: Try PureMaps.
Pohli ( 2019-03-10 23:05:12 +0200 )editWorkaround #3:
pkcon install mce-tools
mcetool -j enabled
Allow screen go off again with
Manatus ( 2019-03-11 07:39:14 +0200 )editmcetool -j disabled
Side note: "-j enabled" is the same as using "--set-never-blank=enabled".
@Manatus - That feels a bit like shooting mosquitoes with shotgun. The intended use for never-blank is to "deny all attempts to blank display in early stages of porting sfos to a new device where we might not be able to bring it back up" i.e. powerkey, swipe to lock, ... nothing will be allowed to power down the display.
In all likelihood toggling demo-mode is better option than never-blank. It just disables all timer based display dimming and/or blanking but explicit user actions such as power key still function as expected.
Back to normal with:
Or you can allow display to get dimmed after inactivity, but still remain indefinitely on with:
The caveat is that it disables (almost) all automatic blanking, also from lockscreen - not a biggie, but in case of p-sensor problems / like it makes it somewhat more likely that device accidentally keeps the display powered on. If you wish to disable blanking only when application ui is on top, then tweaking blanking-inhibit-mode should suffice. This is actually what the display settings toggle mentioned by @Pohli controls, but the ui exposes only a subset of options supported at lower levels.
So, to disable automatic display blanking, but only while some application is in front you can use:
Back to normal with:
(Or just go to the display settings and toggle the switch at least once)
spiiroin ( 2019-03-11 09:37:51 +0200 )edit@spiiroin Ah, thanks! :) [Uncocks the hammer]
Manatus ( 2019-03-11 10:03:41 +0200 )edit