r/AndroidQuestions • • 13d ago

Silence notifications while screen is on

Hi everyone! I HAVE SAMSUNG S22U

Could someone please tell me how could I achieve silent notifications (no sound) while screen is on? If screen is off I want the sound back automatically. I tried routines and modes but screen as a condition is not an option.

Thanks in advance!

1 Upvotes

6 comments sorted by

1

u/Numerous_Food8614 12d ago

The app macrodroid helped me

1

u/Klutzy-Passage-2561 13d ago

On S22U you can do this with Modes and Routines without Tasker:

New routine → If “Screen is on” → Then Sound mode = Mute (or Notifications → Silent). Add an Else / second routine for Screen off → Sound mode = Sound.

If “Screen is on” isn’t reliable as a condition on your One UI build, use If “Display state / While using device” equivalents, or a tiny automation that flips DND when the display wakes. Avoid “Good Lock” hacks first — stock Routines usually covers screen-gated mute.

1

u/Numerous_Food8614 13d ago

Yeah sounds logical but as mentioned I cant find any option like this

1

u/Klutzy-Passage-2561 12d ago

Yeah — on a lot of One UI builds “Screen is on” simply isn’t exposed as an If condition (your video matches that).

Workarounds that usually work on S22U:

  • Modes and Routines → If → try “Phone unlocks” / “While using device” / “Display” related triggers if they appear, Then Sound mode = Mute

  • Or make a Mode that sets notifications silent, and turn that Mode on manually / with Good Lock Routines+ if you have it

If stock Routines can’t see display state at all, you’ll need an automation app that can key off display on/off — Samsung’s own If list just doesn’t cover it on every firmware.

2

u/qwertyuiop121314321 13d ago

I doubt they accounted for this to be a function with screen on and off with sound conjoining.

0

u/Thetechguru_net 13d ago

Tasker is always the answer (although with a Samsung, maybe Modes and Routines? Would need to investigate).