Fix battery check.