PM-IS-SUPPORTED(1)

πŸ“¦
version 1.4.1 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ PM-IS-SUPPORTED ✨

okay bestie, welcome to the pm-utils User Manual πŸ’– this is pm-is-supported, section 1, and she's here to tell you whether your lil machine can nap or go fully night-night 😴


🌸 NAME 🌸

pm-is-supported β€” test whether suspend or hibernate is supported, no cap πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

pm-is-supported [{--suspend | --hibernate | --suspend-hybrid}]

πŸ¦‹ DESCRIPTION πŸ¦‹

So like, this manual page documents briefly the pm-is-supported command. brief but make it cute ✨

The intended purpose of pm-is-supported is to find out which power management modes are supported by the system. hald(8) will call it to do just that, fr fr. (Note that UPower does not use this.) πŸ™ˆ


πŸ’… OPTIONS πŸ’…

  • --suspend β€” Test whether suspend is supported. Suspend is a state where most devices are shutdown, except for RAM. This state still draws power. it's giving "asleep but still sipping electricity" ⚑😴
  • --hibernate β€” Test whether hibernate is supported. During hibernate the state of the system is saved to disk, the system is fully powered off. like a full power-down nap, iconic πŸ›ŒπŸ’€
  • --suspend-hybrid β€” Test whether hybrid-suspend is supported. Hybrid-suspend is the process where first the state of the system is saved to disk β€” just like with hibernate β€” but instead of poweroff, the system goes in suspend state, which means it can wakeup quicker than for normal hibernation. The advantage over suspend is that you can resume even if you run out of power. s2both is a hybrid-suspend implementation. best of both worlds behavior honestly πŸ‘‘βœ¨

πŸ”₯ RETURN VALUE πŸ”₯

The result of the test for a certain powermanagement state is defined by the following exit codes. vibe check via exit code, let's go πŸ“‹

  • 0 β€” State available. slay βœ…
  • 1 β€” State NOT available. rip πŸ’€

🌈 SEE ALSO 🌈

hald(8), pm-suspend(8), s2both(8), UPower(7)

iykyk, go read those next 🫢


πŸ“ AUTHOR πŸ“

Tim Dijkstra <tim@famdijkstra.org>

  • Manpage author. the original main character πŸ’–

Copyright Β© 2007 Tim Dijkstra

This manual page was originally written for the Debian(TM) system, and has been adopted by the pm-utils project.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation. legal bestie said yes πŸ’œ


lowkey important: this page is pm-is-supported, part of the pm-utils project, dated Apr 18, 2007. that's the whole vibe, periodt. πŸŒŸπŸŽ€πŸ¦‹
πŸ“¦ where this page comes from