Always-on display will be turned On only when charging to save battery. Guaranteed to work on Samsung Galaxy devices(it may work on other devices too).
Google Pixel devices:
First try checking all my flows and search for your model.
If there is no flow made for your device, you will need to get the name and category of AOD setting using this flow: https://llamalab.com/automate/community/flows/7409 and then change block parameters in my flow manually.