java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.intent.action.ACTION_POWER_DISCONNECTED from pid=27577, uid=10149 at android.os.Parcel.readException(Parcel.java:1546) at android.os.Parcel.readException(Parcel.java:1499) at android.app.ActivityManagerProxy.broadcastIntent(ActivityManagerNative.java:3005) at android.app.ContextImpl.sendBroadcast(ContextImpl.java:1515) at android.content.ContextWrapper.sendBroadcast(ContextWrapper.java:384) at com.android.boltage.unplugbroadcast.MainActivity$2.onClick(MainActivity.java:69) at android.view.View.performClick(View.java:5076) at android.view.View$PerformClick.run(View.java:20279) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5930) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)