[Plugin] add PowerManager class
As you know, PowerManager class is operating system class that gives you control of the power state of the device. It Added to android api in API level 1. Since the beginning of the android!!
Unfortunately, corona sdk does not support it. It allows developer to control cpu running on sleep, dim screen and more. It is necessary in app like GPS mapping that track people when device is sleep or on health programs that track heart rate or in puzzle games to prevent game go to sleep or screen dim.
Using our existing idle timer should accomplish what this will do. We don’t support back-grounding and wait blocking is a no-no in Android.