Page 1 of 1

Power Supply On / Power Supply Off (On gives full power)

Posted: 11 Oct 2013 17:49
by Iveco
Hello,

here I am sharing my 2 flows (they may contain german text but thats something you can change).
They require version 0.19 at least.

First flow:
Power Supply On
When you supply your phone with power the following will be done:
1) Add notifcation to the status bar, that the power supply is plugged in
2) Display-Timeout will be set to "never"
3) Display-Brightness will be set to "255" (full)
4) Display will be set to "bright"
5) "Energy saving quicktoggle" (spares cpu time, reduces screen-time, no haptic feedback) will be turned off (tested with Samsung Galaxy S4, uses psm_switch 0 system setting)
6) Voice will be spoken "Power supply has been plugged in."

Second flow:
Power Supply Off
When you remove the power supply from the phone the following will be done:
1) Remove the notifcation from the status bar, that the power supply is plugged in
2) Display-Timeout will be set to "30 seconds"
3) Display-Brightness will be set to "auto" (auto + value before)
4) Display will be set to "bright"
5) "Energy saving quicktoggle" (spares cpu time, reduces screen-time, no haptic feedback) will be turned on (tested with Samsung Galaxy S4, uses psm_switch 1 system setting)
6) Voice will be spoken "Power supply has been plugged out."

Have fun! Please note the flows have been created with german text, but you can easily change it.

http://www.automagic4android.com/flow.p ... 1bc2833ffb