1. When a thing has stopped functioning.
2. When a person has run out of energy, especially after a period of sustained effort.
"I dropped my phone in the toilet. It worked for about ten minutes, then died in the ass."
"We kept the afterparty going til about six, but then the sun came up and everyone just died in the ass."
"This project's important, Doug. I don't want to get halfway through and have you die in the ass again."