2, the detecting light switch state
3, when the battery filter switch a few milliseconds without electricity state
Point 3 can use other things instead of? Such as capacitance, I am afraid that the battery is not durable, easy to out of the question,
