/usr/lib/pm-utils/sleep.d/000record-status is in apport 2.20.9-0ubuntu7.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh
#
# Record the current operation to allow failure detection.
STAMPFILE="/var/lib/pm-utils/status"
case "$1" in
hibernate|suspend)
mkdir -p `dirname $STAMPFILE`
echo "$1" >"$STAMPFILE"
;;
thaw|resume)
rm -f "$STAMPFILE"
;;
esac
|