Skip to content

Commit

Permalink
Change: docstring improved
Browse files Browse the repository at this point in the history
  • Loading branch information
petersulyok committed Jan 6, 2024
1 parent 766be85 commit 787178f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/diskinfo/disk.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +562,9 @@ def get_partition_table_uuid(self) -> str:
def get_temperature(self) -> float:
"""Returns the current disk temperature. Important notes about using this function:
- SATA SSDs and HDDs require ``drivetemp`` kernel module to be loaded (available from Linux kernel version ``5.6+``). Without this the HWMON system will not provide the temperature information.
- NVME disks do not require any Linux kernel module
- SATA SSDs and HDDs require ``drivetemp`` kernel module to be loaded (available from Linux kernel
version ``5.6+``). Without this the HWMON system will not provide the temperature information.
- NVME disks do not require any Linux kernel module.
.. note::
Expand Down

0 comments on commit 787178f

Please sign in to comment.