added battery warning