It would be nice if this function was the canonical source of battery status key. It would be a lot more transparent if it wasn't tucked away in config.