Added battery plugin.
Fixed plugin intent bug: intents are now targeted at specific components.