Send all battery broadcasts with REGISTERED_ONLY_BEFORE_BOOT

The "low" and "okay" broadcasts were not being sent with this flag, so that if
the device had booted in a low battery state, the battery service would crash
due to an illegal-state exception.

This fixes bug b/1985606
1 file changed