pmtool

Use the Power Manager pmtool to set power management options.

Usage:

pmtool bootOn gpio  <gpioNum> <triggerOption>
pmtool bootOn timer <timeOutVal>
pmtool shutdown
pmtool bootReason timer
pmtool bootReason gpio <gpioNum>
pmtool query

pmtool bootOn gpio <gpioNum> <triggerOption>

Configure specified gpio as boot source. TriggerOption specifies the gpio state that will trigger device boot: high, low, rising, falling, both, off.

pmtool bootOn timer <timeOutVal>

Configure specified timer as boot source. timeOutVal specifies the time interval seconds to trigger device boot.

pmtool shutdown

Initiates target device shutdown.

pmtool bootReason gpio  <gpioNum>

Checks if the specified gpio triggers' target device boot.

pmtool bootReason timer

Checks if the timer expiry triggers' target device boot.

pmtool query

Displays the current ultra-low power manager firmware version.

pmtool --help

Prints help text to standard out and exits.