by Andrés Ramírez Quirós
It's a little bit complicated but what it does in short terms is turning off all your connections while you sleep and back on, only the ones that where active before bedtime. For more details try to understand if you can or contact me (if you can).
CONFIGURE THE LANGUAGE IN THE TEXTS AND THE VOICE MESSAGE. Also the time...
You can make it for non-root if you take out the NFC, Airplane and GPS.
If you are unsure about the permission it asks check the flow.
+More order in the flow
+Now if you sleep at X hour, you don't have to wait until that hour to set the alarm