pm-is-supported(1) on Linux
The text 9b5447feb289, as Debian 8 (Jessie) shipped it.
Test whether suspend or hibernate is supported.
Flags it lists
-
--hibernate -
--suspend -
--suspend-hybrid