Premium AOD Controller

by F.

Version 3 (August 17, 2022)

Download (121 downloads)

Flow to control AOD mode based on certain configurable conditions.

[ADB/ROOT]
[PREMIUM]

This flow toggles the 'Always On Display' mode optionally based on specific posted notifications, battery charging and the 'Do Not Disturb' mode.

The flow set contains 2 starting points - a service flow doing the processing and a configurator flow to administrate the options, which are stored persistently in a file.

It has been created and tested on a Google Pixel 4a (Android 11), so no warranties are given it will run smoothly on any other device.

Setting the AOD mode requires the WRITE_SECURE_SETTINGS right on the device. You may be able (as me) to unlook it using the 'Android Debug Bridge' (ADB). Consult the Automate documentation for further details. There should be no issues on a rooted device either.

Once the configurator flow modifies the settings, it provides them to the eventually running service flow within a broadcast message. Synchronization between the processing fiber and the blocking fibers monitoring the conditions and a possibly changed configuration in the service flow is done by applying 'Variables Give' and 'Variables Take' blocks.

Since disabling AOD does not take effect until it is inactive (at least on the Google Pixel 4a), the device needs to be woken up with a 'Device Keep Awake' block for that matter.

5.0 average rating from 2 reviews

5 stars
2
4 stars
0
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.