Fix battery status configuration.

Need to require the battery extension first!