Battery API support