Tak jsi měl řešit tu chybu.Uprav ten řádek na:Intent batteryStatus = this.registerReceiver(null, ifilter);