Actions during Device Idle/Doze Mode
Moderator: Martin
Actions during Device Idle/Doze Mode
There are both Automagic trigger and condition options for this. If the flow continues as a result of Doze mode being enabled, will some actions not work (because the phone is in Doze mode and has stopped lots of things running)? For example, should I be able to
- Use Speech Output?
- Disable Bluetooth or Wifi?
I don't have Automagic set to show its icon on the status bar, but have whitelisted it not to doze...
- Use Speech Output?
- Disable Bluetooth or Wifi?
I don't have Automagic set to show its icon on the status bar, but have whitelisted it not to doze...
Re: Actions during Device Idle/Doze Mode
The documentation about the doze-mode is lacking so I can not really say how an Android device will behave exactly when Doze is active.
The whitelist under System settings->Battery->Menu->Battery optimization is only relevant for 'App Standby' but not 'Doze', which seems confusing to me.
It's probably best to test if the two actions work reliably on your device but turning off the notification icon of Automagic is not recommended since it can cause reliability problems even when Doze is not active.
The whitelist under System settings->Battery->Menu->Battery optimization is only relevant for 'App Standby' but not 'Doze', which seems confusing to me.
It's probably best to test if the two actions work reliably on your device but turning off the notification icon of Automagic is not recommended since it can cause reliability problems even when Doze is not active.
Re: Actions during Device Idle/Doze Mode
If Show status icon is unticked, but Icon in expanded status bar is ticked, is that as good?Martin wrote:but turning off the notification icon of Automagic is not recommended since it can cause reliability problems even when Doze is not active.
Re: Actions during Device Idle/Doze Mode
No, Show status icon needs to be ticked to let Automagic run reliably.
If you don't reboot your system often, you can also let the setting ticked, open the notification drawer, long-click the Automagic notification, press (i) to switch to the settings page, activate Block all (which removes the icon), deactivate Block all (to ensure that new notifications can be posted by Automagic again). The status icon will be hidden until your device is rebooted but Automagic should run reliable.
If you don't reboot your system often, you can also let the setting ticked, open the notification drawer, long-click the Automagic notification, press (i) to switch to the settings page, activate Block all (which removes the icon), deactivate Block all (to ensure that new notifications can be posted by Automagic again). The status icon will be hidden until your device is rebooted but Automagic should run reliable.
Re: Actions during Device Idle/Doze Mode
I have a flow that automates this on every Automagic startup (or reboot in most cases)Martin wrote:No, Show status icon needs to be ticked to let Automagic run reliably.
If you don't reboot your system often, you can also let the setting ticked, open the notification drawer, long-click the Automagic notification, press (i) to switch to the settings page, activate Block all (which removes the icon), deactivate Block all (to ensure that new notifications can be posted by Automagic again). The status icon will be hidden until your device is rebooted but Automagic should run reliable.

Needs a rooted device, but works on KitKat 4.4 and Marshmallow.
Re: Actions during Device Idle/Doze Mode
For non rooted devices I guess this can be done via ControlUI, first waiting for the user to be present...kintrupf wrote: I have a flow that automates this on every Automagic startup (or reboot in most cases)
Needs a rooted device, but works on KitKat 4.4 and Marshmallow.
Re: Actions during Device Idle/Doze Mode
Only out of curiousity, that there are options in this area presumably means there are use cases where this is best left not ticked?Martin wrote:No, Show status icon needs to be ticked to let Automagic run reliably.
And even when it is ticked the icon can be hidden from the main status bar by also ticking Icon in expanded status bar. This is what I meant above. That, presumably is ok as Show status icon remains ticked

Re: Actions during Device Idle/Doze Mode
The option in Automagic is just there because there was no way to move the icon to the expanded status bar on older versions of Android (<4.1) so the icon was always visible on the statubar. Some users did not like this at all so I added the option.
Showing the icon in the expanded status bar is perfectly ok and should not have any negative effect on reliability.
Showing the icon in the expanded status bar is perfectly ok and should not have any negative effect on reliability.
Re: Actions during Device Idle/Doze Mode
Many thanks for the explanantion Martin