Enable/disable auto turn off screen from menu

Paweł Łabaj shared this question 3 months ago
Answered

Hi,


Usually I have set Locus to turn off a screen after couple of seconds.

It would be good to have possibility to disable and enable that feature from menu (panel button).

I would like to have the screen turned on always when I am in a city and back to my common settings when I am in a countryside paths.


Maybe it is ready and I don't know how to set it up?

Is it possible to set custom function in panel?


Cheers

Comments (2)

photo
1

Not exactly what you ask for, so not by function panel, but a similar function is possible by a change in the config.cfg file.

By (single) wave proximity sensor display on_ off function. Set timeout to infinite display on, until dismissed by next (single) wave display off. A nice operating mode for cyclists with a phone mount on the bike handlebar, especially when nearing very complex area's. By the way by using phone (Samsung) with hardware home button by push button also wakes up the display.


See attached pdf > find the config.cfg change at page 4.

photo
1

Hi @0709,

What the wave is?

I didn't get how your solution works.


Despite changes in cfg file, should I also do changes in settings like in the screenshots?

photo
1

Gesture control. By a single wave or a double wave, as you prefer.


In order to use this function you have to activate it.

See Instellingen.pdf page 1 & 2.


Example of the functionality here:

https://docs.locusmap.eu/doku.php?id=manual:user_guide:settings:control&s[]=gesture#screen_on_off_control

Video example is by older Locus version !

By the config.cfg change there is NO auto screen turn off for a gesture wave control.

photo
1

I'll try this settings tomorrow and let you know how it works

photo
1

Locate exact Proximity Sensor position by the IR transmitter diode. Detect the Ir light transmitter by phone cam.

https://youtu.be/u6pAVYo5RUg

photo
photo
1

Hi Pawel,

Willy 0709 has suggested a really interesting solution. Nevertheless, you asked something a bit different, right? You can get controlling of the display behavior into the function panel by the "quick settings" feature (see https://docs.locusmap.eu/doku.php?id=manual:user_guide:settings:quick_settings)

best regards

Michal Stupka

Locus team

photo
2

@ Michal.

I suppose Pawel asks this for navigation, as he recently asked auto screen on/off without sound in another tread.

In the proposal settings shown in the pdf there is already selected and set: "Screen always on"

I suppose this does just override the "standard Android" screen time out. (Ask the developer)

But @ navigate the Locus screen on/off function by announcements or GESTURE has higher priority.

Any announcement, even silent ones by "Voice Mute", that triggers a screen on and off is by the time out set.

Unless when by a config.cfg change the gesture control is set without a time out. And it seems the GESTURE control has even the highest priority. So when the display is on by a GESTURE the next navigate announcements do not dim the display automatically by the time out set. Therefore the operational functionality @ navigate do work perfectly.

photo
1

Hi,

Michal, thanks for suggestions, but id doesn't work for me.

0709 has right, feature you have advised is "covered" by auto turn off during navigation.


I have checked the workaround with gestures - this provides behaviour that I wanted: When I ride in a back country my screen is on only at crossroads; when I get to the town I use gestures and srceen is on until next gesture (out of town).


Above solution is great. Having in mind users that are afraid to touch any application file (even config) I would still vote to have possibility to place "navigation screen always on/off" in right/top panel.

Do you think it is possible to create such item and put under some "nice to have" fetaures usrers' voting?


All the best

photo