Add support for external dock batteries

Conflicts:

	core/res/res/values/config.xml
more of the same