NVME-FEAT-POWER-M(1)
π NVME-FEAT-POWER-M(1) β nvme-feat-power-mgmt
okay so bestie, welcome to the NVMe Manual page for nvme-feat-power-mgmt, and no cap, this is the one that gets and sets your power management feature. let's go π
β¨ NAME β¨
nvme-feat-power-mgmt β get and set power management feature π
π¦ SYNOPSIS π¦
nvme [<global-options>] feat power-mgmt <device>
[--ps=<ps> | -p <ps>] [--wh=<wh> | -w <wh>]
[--sel=<select> | -S <select>] [--save | -s]
πΈ DESCRIPTION πΈ
Get and set power management feature. that's the whole vibe, like literally both directions in one little command π
The <device> parameter is mandatory β it's not optional, it's not a suggestion, it is the moment. and it can be either of these:
- the NVMe character device (ex:
/dev/nvme0), or - a namespace block device (ex:
/dev/nvme0n1)
so if you pass the setting option (--ps), the command will update the power management configuration. if you omit --ps, it will retrieve and display the current configuration instead. one flag decides which whole personality it's giving π
On success it returns 0, error code otherwise. periodt.
π OPTIONS π
-p <ps>,--ps=<ps>β Power state. this is where you specify the power state to transition the controller to π§-w <wh>,--wh=<wh>β Workload hint. it provides a hint to the controller about the workload characteristics, like a little heads-up so it knows what's coming π₯-S <select>,--sel=<select>β Select (SEL): this field specifies which value of the attributes to return in the provided data. the iconic lineup:0β current β Current1β default β Default2β saved β Saved3β supported β Supported capabilities
-s,--saveβ Save the attribute so that it persists through all power states and resets. the "make it stick" button, we love her π
π GLOBAL OPTIONS π
bestie these live at the top-level nvme command, so they're available to this subcommand too. main character flags, honestly:
--dry-runβ Print the command that would be executed, but do not actually execute it. manifesting the command without committing to it π--no-ioctl-probingβ Disable probing for 64-bit IOCTL support.--no-retriesβ Disable retry logic on transient errors. one shot, no do-overs π-o <fmt>,--output-format=<fmt>β Set the reporting format tonormal,tabular,'json, orbinary. only one output format may be used at a time β pick your fighter, not all four β--output-format-version=<version>β Select the output format version. Version1uses the original field naming, while version2(default) provides more consistent and script-friendly field names. Other versions are rejected. π«Ά--quietβ Suppress informational messages. Errors are still reported, and--quietcancels any--verbosefor the library log level. she's silencing the group chat but still reading the important texts π--set-options=<key=value>[,<key=value>...]β Set libnvme library options for this invocation. Supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir.--timeout=<ms>β Set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). she'll wait forever, lowkey devoted π°οΈ-v,--verboseβ Increase the level of detail in the output. May be specified multiple times to further increase verbosity. stack her like accessories π
these options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file. no cap, the flag wins every time π
π EXAMPLES π
- Has the program issue a
feat power-mgmtto get the current configuration:
# nvme feat power-mgmt /dev/nvme0
- Has the program issue a
feat power-mgmtto set power state and workload hint:
# nvme feat power-mgmt /dev/nvme0 --ps=1 --wh=2 --save
π NVME π
Part of the nvme-user suite. icons only, fr fr π
and that's the page, bestie π huge thank you to the NVMe crew for this one β this copy is dated 10/30/2026, so go slay some power states and remember: --save it or lose it πβ¨
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms