Revert "Revert "native: Add dock battery support""

This reverts commit 183013eb5f20936e8f5175df52027173adbbda4e.