https://bugs.kde.org/show_bug.cgi?id=498091

            Bug ID: 498091
           Summary: Incorrect S.M.A.R.T. attribute interpretation
    Classification: Applications
           Product: partitionmanager
           Version: 22.12.3
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: andr...@stikonas.eu
          Reporter: tsichrinisch...@gmail.com
  Target Milestone: ---

SUMMARY
The S.M.A.R.T. attribute with ID 231 (0xE7) is reported as the drive
temperature, while for most modern drives it should be the the life left
percentage

STEPS TO REPRODUCE
1. Open K.D.E. partition editor
2. Select a SSD that reports this attribute
3. Go to Device > SMART status and scroll all the way down to ID 231

OBSERVED RESULT
The attribute is reported as the drive's temperature

EXPECTED RESULT
The attribute should be reported as the life left of the drive, in terms of
program/erase cycles or available reserved blocks. A value of 100 should be
reported for new drives and values close to 0 indicate a drive that is about to
fail. A value of 0 may also mean that the drive is operating in read-only mode
to allow data recovery.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian GNU/Linux 12, Kernel version: 6.1.0-28-amd64 (64-bit)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
I've located the issue of this bug at KPMCore/src/core/smartattribute.cpp, line
166
(https://invent.kde.org/system/kpmcore/-/blob/master/src/core/smartattribute.cpp?ref_type=heads#L166)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to