Thank you for all the work on Automate. It is a great app.
I am using a non-rooted Lenovo M8 (gen 2, Android 10), with Developer options > USB debugging on.
I installed Automate 1.50.0 from Playstore, and legacy extension from Llama.
I am using a flow to automate connection of my car OBD reader (OBDLink SX). That works well (thanks again).
I am also using an OTG Y cable for simultaneous power in and data out. With 15 kohms between microUSB pins 4 & % that also works well. But the M8 retains 'Plugged In' status, even when the external power is disconnected. The screen still 'sleeps' as usual.
So to get back to low battery usage while the screen sleeps, I am trying to use any of Automate Blocks:
Power save mode set state (Enable)
CPU speed set (On demand) or
Device doze mode et state (Activate)
I have set the required permissions (priveleged or full (superuser) access to device features and storage is available via Device Settings > Apps > Automate > Permissions > Additional permissions; even though the device is not rooted). Automate reports that start method is 'None'. I have even tried Automate > Settings > Priveleges > execute shell commands; and Workarounds > Power save mode workaround > Priveleged service (no solution for me).
I have not been asked for (nor sent) any ADB command from PC.
I tested each block alone (Flow beginning > Test Block). In each case, I get:
Failed to start priveleged service.
java.lang.UnsupportedOperationException: Priveleged service disabled, see settings
java.util.concurrent. TimeoutException: Service startup timeout
Does this mean it needs a rooted device? Or an abd command from PC?
It is not explicit in the Block documentation.