How to control frequency of notification update on locked screen

Viewed 733

I have an application which updates a notification through a service.

This notification is updated every second. It shows a timer.

Currently on nougat, with device locked, notification update triggers screen to wake up, to show the updated notification.

I would like to control this as my notification is really frequent.

I would also like to avoid changing the update frequency of the notification. Doing so shows less accurate information to the user.

So what I am looking for is a programmatic way to control wake up screen frequency upon notification updates.

thank you :)

1 Answers
Related