added battery state