pm-is-supported(1) on Linux
The text ce751ea08ce4, as Debian 7 (Wheezy) shipped it.
Test whether suspend or hibernate is supported.
Flags it lists
-
--hibernate -
--suspend -
--suspend-hybrid