WIP Foreground service controlled by preference

The service is running in the foreground, but it is ignoring the preference to tell it to do so.
Changed Battery Service to run in same process as the activity. However now when you kill the activity, the service does not register broadcasts.