fixed typo in battery message handling

Signed-off-by: Jukka Laukkanen <jukkalau@gmail.com>