It stays completely hidden until a piece of your armor or your Elytra has less than fifteen durability and is about to break. When the durability gets low, it flashes a warning icon and plays a sound