Fix binding/calculation problems with the battery indicator

Signed-off-by: Simon Busch <morphis@gravedo.de>