Is it dyeing or dying?
When referring to the process of death or when something stops functioning, the correct spelling is “dying” (e.g., “My phone battery is dying”).
However, “dyeing” is a homophone that means “to change something’s color using a dye or liquid substance (e.g., “We are dyeing our t-shirts blue”).