not sure what you mean by "went dark" did it hang up? froze?
if not, maybe you meant the AoD disappeared just like that. i found this when the proximity censors are covered, MIUI will also lower the brightness of the AoD, on to zero when the phone is inside your pocket or in a really dark...