Add battery API detection. Lint code.