NVME-FEAT-POWER-T(1)

πŸ“¦ version 3.2, in arch rolling

✨ nvme-feat-power-thresh(1) ✨

okay so bestie, we're deep in the NVMe Manual today and this is the page for nvme-feat-power-thresh β€” the glow-up command for getting and setting the power threshold feature πŸŽ€


🌸 NAME 🌸

nvme-feat-power-thresh β€” get and set the power threshold feature. that's it, that's the vibe πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

nvme [<global-options>] feat power-thresh <device>
                        [--pwrth=<pwrth> | -p <pwrth>] [--pvtht=<pvtht> | -t <pvtht>]
                        [--sel=<select> | -S <select>] [--save | -s]

πŸ’– DESCRIPTION πŸ’–

So. This command gets and sets the power threshold feature. Lowkey iconic.

The <device> parameter is mandatory β€” you literally cannot skip it, bestie. It can be either:

  • the NVMe character device, like /dev/nvme0 ✨
  • or a namespace block device, like /dev/nvme0n1 🫢

Here's the tea on how it behaves: if you specify any of the setting options (--pwrth or --pvtht), the command updates the power threshold configuration. But if you don't specify either of them? It just retrieves and displays the current configuration for you. no cap, it's that simple πŸ’œ

On success it returns 0 β€” any error code otherwise. periodt.


πŸŽ€ OPTIONS πŸŽ€

  • -p <pwrth>, --pwrth=<pwrth> β€” Power Threshold. Specifies the power threshold value to be applied to the controller πŸ”₯
  • -t <pvtht>, --pvtht=<pvtht> β€” Power Threshold Type. Specifies the type of power threshold, like static or dynamic threshold πŸ¦‹
  • -S <select>, --sel=<select> β€” Select (SEL): this field specifies which value of the attributes to return in the provided data:
    • 0 β€” current β€” Current
    • 1 β€” default β€” Default
    • 2 β€” saved β€” Saved
    • 3 β€” supported β€” Supported capabilities ⭐
  • -s, --save β€” Save the attribute so that it persists through all power states and resets πŸ’Ύβœ¨

πŸ‘‘ GLOBAL OPTIONS πŸ‘‘

The following options are defined at the top-level nvme command and are available to this subcommand β€” they're the main character energy that follows you everywhere:

  • --dry-run β€” Print the command that would be executed, but do not actually execute it. look, don't touch πŸ™ˆ
  • --no-ioctl-probing β€” Disable probing for 64-bit IOCTL support.
  • --no-retries β€” Disable retry logic on transient errors. one shot, no second chances πŸ’€
  • -o <fmt>, --output-format=<fmt> β€” Set the reporting format to normal, tabular, 'json, or binary. Only one output format may be used at a time. pick one, bestie ✨
  • --output-format-version=<version> β€” Select the output format version. Version 1 uses the original field naming, while version 2 (default) provides more consistent and script-friendly field names. Other versions are rejected 🚫
  • --quiet β€” Suppress informational messages. Errors are still reported, and --quiet cancels any --verbose for the library log level. shhh 🀫
  • --set-options=<key=value>[,<key=value>...] β€” Set libnvme library options for this invocation. Supported keys are force-4k, mi-probe-enabled, test-base-dir and test-sysfs-dir.
  • --timeout=<ms> β€” Set the timeout for the command in milliseconds. infinite or -1 waits without a time limit (0xffffffff). time is fake anyway ⏳
  • -v, --verbose β€” Increase the level of detail in the output. May be specified multiple times to further increase verbosity. say it louder for the people in the back πŸ“’

These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file β€” CLI stays winning, fr fr πŸ‘‘


🌈 EXAMPLES 🌈

  1. Has the program issue a feat power-thresh to get the current configuration:
# nvme feat power-thresh /dev/nvme0
  1. Has the program issue a feat power-thresh to set power threshold with saving enabled:
# nvme feat power-thresh /dev/nvme0 --pwrth=30 --pvtht=1 --save

🧚 NVME 🧚

Part of the nvme-user suite. you're in good company, bestie πŸ’œ


okay that's the whole page, go be iconic with it πŸ’…βœ¨ β€” with love, from the NVMe crew, dated 10/30/2026, NVME-FEAT-POWER-T(1) πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from