spes: gamebar: Fix GPU temperature location

* It shows wrong temperature before, now it shows gpu-usr temperature

Signed-off-by: Jabiyeff <cebiyevanar@gmail.com>
This commit is contained in:
Jabiyeff
2025-04-20 18:55:06 +04:00
committed by spesmynuts
parent a484d3f461
commit cc4749b69b

View File

@@ -24,7 +24,7 @@ public class GameOverlayGpuInfo {
private static final String GPU_USAGE_PATH = "/sys/class/kgsl/kgsl-3d0/gpu_busy_percentage";
private static final String GPU_CLOCK_PATH = "/sys/class/kgsl/kgsl-3d0/gpuclk";
private static final String GPU_TEMP_PATH = "/sys/class/kgsl/kgsl-3d0/temp";
private static final String GPU_TEMP_PATH = "/sys/class/thermal/thermal_zone16/temp";
public static String getGpuUsage() {
String line = readLine(GPU_USAGE_PATH);