fix pmic temp scale on comma two

old-commit-hash: 29a8fe272cc60a80a000cdb9a921a38a4298c501
This commit is contained in:
Vehicle Researcher
2021-11-29 13:41:48 -08:00
parent 28dd415759
commit 561052bed4
+1 -1
View File
@@ -369,7 +369,7 @@ class Android(HardwareBase):
os.system('LD_LIBRARY_PATH="" svc power shutdown')
def get_thermal_config(self):
return ThermalConfig(cpu=((5, 7, 10, 12), 10), gpu=((16,), 10), mem=(2, 10), bat=(29, 1000), ambient=(25, 1), pmic=((22,), 1))
return ThermalConfig(cpu=((5, 7, 10, 12), 10), gpu=((16,), 10), mem=(2, 10), bat=(29, 1000), ambient=(25, 1), pmic=((22,), 1000))
def set_screen_brightness(self, percentage):
with open("/sys/class/leds/lcd-backlight/brightness", "w") as f: