Function: Switch off the phone at the defined time.
There are some information about how this thing works in the developer website. I took a while to understand.
There are some information about how this thing works in the developer website. I took a while to understand.
So, I made an example:
1. At [Begin time], program start to look for last key press time *after* 2330 and add [inactivity time] to compute the shut down time. So, supposing:
1. At [Begin time], program start to look for last key press time *after* 2330 and add [inactivity time] to compute the shut down time. So, supposing:
IF [last key press = 2335] and [Begin time = 2330] >> shutdown time = 2335 + 30 = 0005.
IF [last key press = 2315] and [Begin time = 2330] >> shutdown time = 2330 + 30 = 0000.
2. Supposing you want to call your girlfriend at 0200, you can turn on phone and talk. Let’s say you hangup at 0220. Then, the phone will shutdown at [0220 + 30] = 0250. In short, whenever you turn on and use your phone between [Begin time] and [End time], the phone will wait for [inactivity time] and auto shutdown.
No comments:
Post a Comment