From c4f3a0856378f161c8805018d66337c76d5fe3d9 Mon Sep 17 00:00:00 2001 From: Abhay Singh Gill Date: Thu, 14 Aug 2025 21:01:31 +0530 Subject: [PATCH] Pong: charging-control: Use battery tzn fallback for USB charging The device tends to heat up a bit with usb fallback Signed-off-by: Abhay Singh Gill --- charging/charging-control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charging/charging-control.cpp b/charging/charging-control.cpp index b93ea35..b7e9d9a 100644 --- a/charging/charging-control.cpp +++ b/charging/charging-control.cpp @@ -124,7 +124,7 @@ int ChargeStatusListener::get_charge_temp() { temp = stoi(read_line(path)); if (temp > 0) return temp; } - tzn = get_tzn("usb"); + tzn = get_tzn("battery"); snprintf(path, sizeof(path), "%sthermal_zone%d/temp", THERMAL_SYSFS, tzn); temp = stoi(read_line(path)); return temp;