Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add power_mode/power_name to info output #239

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AeroNotix
Copy link

Adds the power_mode/power_name to the info json output.

Useful for automated monitoring.

smartmontools/ataprint.cpp Outdated Show resolved Hide resolved
@SimonFair
Copy link

The same change should be applied to scsiprint.cpp

if (powername) {

@robbat2
Copy link

robbat2 commented Jan 24, 2024

@SimonFair nice catch re SCSI power states
I see that nvmeprint.cpp doesn't export ANY information about the current NVME power state; the power table is shown with -x, but not the current state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants