Always show time and info

nickelbox

New member
Hello,

Brand new user and need a bit of help. I rummaged around a bit on the app and I didn't find what I am looking to do so I came here for some help.

I am attempting to create a macro that turns on the display option (settings > display > lock screen) titled "Always show time and info" at 10:00 pm and then turns it off at 6:00am.

Any suggestions on the steps needed is very much appreciated. Thanks!
 

Dimlos

Well-known member
First, check to see if this setting has a system setting value.
Searching for 15949 in the template store will bring up macros that fit the bill.
In this case, it's [Secure] doze_always_on, so I think you should create a macro like this.
 

Attachments

  • Macro.jpg
    Macro.jpg
    319.4 KB · Views: 11
Last edited:

nickelbox

New member
First check if this setting has a system setting value.
A search for 15949 in the template store will bring up macros suitable for this purpose.
In this case, it's [Secure] doze_always_on, so I think you should create a macro like this.
I'm sorry but you will need to walk me though the Actions portion. I attempted to try and find [Secure] doze_always_on and didn't have any luck.
 

Dimlos

Well-known member
Select Secure from the settings table and enter doze_always_on manually.
 

Attachments

  • Select Settings Table.jpg
    Select Settings Table.jpg
    225.7 KB · Views: 4
  • doze_always_on.jpg
    doze_always_on.jpg
    244.7 KB · Views: 4

nickelbox

New member
I just thought of this but I would like to add a constraint where it only triggers if I have my phone charging. Would this be?
Add constraint
Battery/Power
Power Connected
 

Dimlos

Well-known member
There are several ways to get the value of a system setting.
At first I used Automate's Settings Finder, but now MacroDroid has a similar feature and there is a macro in the Template Store to retrieve it.

Lately I have been using Tasker's Custom Setting, but when these methods were not established, I had to search all over the place, which was very tedious.
 

Dimlos

Well-known member
I just thought of this but I would like to add a constraint where it only triggers if I have my phone charging. Would this be?
Add constraint
Battery/Power
Power Connected
If you ask for the answer right from the start, you lose half the fun, so it is better to try things out on your own.
 

nickelbox

New member
There are several ways to get the value of a system setting.
At first I used Automate's Settings Finder, but now MacroDroid has a similar feature and there is a macro in the Template Store to retrieve it.

Lately I have been using Tasker's Custom Setting, but when these methods were not established, I had to search all over the place, which was very tedious.
Thank for explaining. I appreciate it.
 

nickelbox

New member
It's not exactly what @Snurre suggested but it should work too...

Be carefull with the global constraint "Power connected". Is it really useful?

I only want it to display when I have the phone wirelessly charging between the hours of 10:00 pm and 6:00 am. Otherwise, not.
 

Dm114

Well-known member
This is what I came up with...

View attachment 6362
In addition, as you only have 2 triggers (one to set ON, the other to set OFF), you could use a If...then...else...endif this way:
IF Trigger1 fires
SET ...doze... = 1
ELSE
SET ...doze... = 0
ENDIF

It'll be simpler and easier to read (and quicker to execute, even that it won't change anything due to the very small number of instructions involved).
 
Top