7

Error Receiving broadcast Intent ACTION_BATTERY_CHANGED

view full story
linux-howto

http://stackoverflow.com – I am trying to get battery information through the use of a broadcast receiver and store it in a database. I'd prefer to get it only when I specifically want it, but I am willing to keep a database of just running records of it. Anyways, The problem is my app crashes with this error: java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras) } at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:765) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessage(Handler.java: (HowTos)