look at my previous post in the thread. in case it is not clear - calling that main loop at least 20 times per second would mean that battery will get flat in a matter of few hours. If we are to believe to that comment (and I see no reason to not), there is something wrong with the design of that SW if it needs to poll for events instead of waiting for them.