This occurs because libhal-glib/libhal-gpower.c:hal_gpower_has_suspend_error and :hal_gpower_has_hibernate_error check for the existence of "/var/lib/hal/system-power-suspend-output" and "/var/lib/hal/system-power-hibernate-output" respectively.
Specifically, if the respective file exists, then the suspend is considered to have errored.
This occurs because libhal- glib/libhal- gpower. c:hal_gpower_ has_suspend_ error and :hal_gpower_ has_hibernate_ error check for the existence of "/var/lib/ hal/system- power-suspend- output" and "/var/lib/ hal/system- power-hibernate -output" respectively.
Specifically, if the respective file exists, then the suspend is considered to have errored.