Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,145 Members 45,044 Now Online
XDA Developers Android and Mobile Development Forum

[Q] [APP] Llama - Reboots multiple times.

Tip us?
 
Fubie3
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 6
Join Date: Jul 2011
Default [Q] [APP] Llama - Reboots multiple times.

I have a Llama event setup to reboot my phone before I go to bed.

It's set to reboot when I put it on the charger between 9pm and 11pm.

I actually have it reboot 2 minutes after I place it on the charger.

This does work without a problem. But sometimes it will reboot 3 or 4 times.

Is there a way to tell it that after a reboot do not reboot again for 5hrs or so?

Here is how I have Llama setup now.

Charging Status - Charge from any source

Time Between - 9pm - 11pm

Enter Area - Home

Actions
Reboot
Yes, I really want the Reboot!

Any help would be greatly appreciated.
 
schlummerle
Old
#2  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Dec 2010
I think you can work with variables:
Set a variable to true at the time you reeboot.
Add a new action, which sets this variable to false after 11 pm.
And add a condition to check this variable (has to be true) before rebooting your phone to your existing action.


Sent from my Nexus 5 using XDA Free mobile app
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes