Update battery and config.