(This example mainly studies the implementation of the Android broadcast mechanism. Taking a battery monitoring and broadcast notification as an example, it introduces the process of implementing the broadcast. The general idea is: register a system BroadcastReceiver for accessing battery metering. If the captured action is ACTION_ BATTERY_ CHANGED, run onBatteryInfoReceiver() to capture ACTION_ BATTERY_ The method to be run when CHANGED, create a window with ambiguous scenery, place the dialog window in the foreground, display the obtained battery measurement in the Dialog, and set the button back to the main screen.)