文档中提到您可以在电池状态上注册更改事件。 您可以在以下位置查看: http://developer.android.com/reference/android/content/Intent.html#ACTION_BATTERY_CHANGED