Display date in notifications? Turn off the screen?

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
Alex
Posts: 11
Joined: 04 Dec 2015 02:27

Display date in notifications? Turn off the screen?

Post by Alex » 11 Dec 2015 19:20

(1) I'd like to create a persistent notification that displays the date. I'm trying to avoid installing a specialized app. Is it possible with AutoMagic?

(2) Is there an action that immediately turns off the screen? I saw 'set screen timeout' and that's almost what I'm looking for. I want to the screen to turn off immediately every time I set put it upside down in my pocket, or facedown on a desk, etc.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Display date in notifications? Turn off the screen?

Post by Martin » 11 Dec 2015 20:00

Hi,

1) You could use action Notification on Statusbar with title set to {triggertime,dateformat,dd.MM.yyyy HH:mm:ss} (see menu->Select Variable for other examples to format date/time). Also check Ongoing. You'd have to execute the action every few minutes or once a day to update the displayed time by using a trigger Periodic Timer. Deactivate Wake device... to reduce battery usage.

2) As a side effect action Lock Device turns off the screen. The action does more or less the same thing like pressing the power button. Android 6 seems to have a bug where unlocking by fingerprint does not work when Lock Device was used to turn off the display.

Regards,
Martin

User avatar
Alex
Posts: 11
Joined: 04 Dec 2015 02:27

Re: Display date in notifications? Turn off the screen?

Post by Alex » 11 Dec 2015 20:05

Thank you Martin!

Post Reply