pm-is-supported(1) on Linux
The text 55a4a529eb61, as Debian 5.0 (Lenny) shipped it.
Test whether suspend or hibernate is supported.
Flags it lists
-
--hibernate -
--suspend -
--suspend-hybrid