A, if powered on at the time, found out when power demand cycle is not yet over, continue with this demand cycle, when time reaches the EOI is to calculate the cycle of demand and start the next cycle calculated.
a, if the power demand period when power failure has not yet been found in the past, continue to this demand period, when the time reaches the EOI is required to calculate the amount of the cycle and the beginning of the next cycle is calculated.
A, if the power on, found the demand cycle when the power is off is not over, continue to this one demand cycle, when the time reaches EOI will calculate the required this cycle, and begin the next cycle is calculated.