This is my first flow for you. I hope you'll enjoy it. (speechouts are in italian. You can change them in your language).
For my device i used the action "restart" cause "shutdown" doesn't work (Samsung N7100), so change it in order to shutdown your device.
http://automagic4android.com/flow.php?i ... 22f0f4ae5b
Battery level check + auto shutdown after countdown
Moderator: Martin