From 56701303470f622d03a2bfb45224bf095f14ba42 Mon Sep 17 00:00:00 2001 From: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com> Date: Wed, 29 Oct 2025 10:27:01 +0100 Subject: [PATCH] Refactor value assignment to use new string constructor --- LibreHardwareMonitorLib/Hardware/Battery/BatteryGroup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibreHardwareMonitorLib/Hardware/Battery/BatteryGroup.cs b/LibreHardwareMonitorLib/Hardware/Battery/BatteryGroup.cs index dd7bba1..dd0ba03 100644 --- a/LibreHardwareMonitorLib/Hardware/Battery/BatteryGroup.cs +++ b/LibreHardwareMonitorLib/Hardware/Battery/BatteryGroup.cs @@ -154,7 +154,7 @@ internal class BatteryGroup : IGroup &returnBytes, null)) { - value = span.ToString(); + value = new string(pSpan); result = true; } }