The optional GetPowerState routine reports the display hardware's current power state.
OSErr = Status (theDeviceRefNum, cscGetPowerState, &theVDPowerStateRec );
Set kPowerStateNeedsRefreshBit in powerFlags if VRAM decays in the current power state.