Refactor battery setter, register 07 processing

Refactorings allow for a central battery update that can be used for implementing #30 and #27. Ultimately, this can help to achieve #8 as well.