Turn up brightness a little when UI crashes (#20142)

* implement ui check and brightness set in thermald

* fix bugs

* only set once

* duh

* forgot factor for tici
old-commit-hash: 4c243da0194b8fcefb3c7cba3472fa983ccd7052
This commit is contained in:
robbederks
2021-02-24 15:25:06 +01:00
committed by GitHub
parent ddc95515d0
commit 2db03fdbe2
5 changed files with 25 additions and 0 deletions
+3
View File
@@ -76,3 +76,6 @@ class Pc(HardwareBase):
def get_thermal_config(self):
return ThermalConfig(cpu=((None,), 1), gpu=((None,), 1), mem=(None, 1), bat=(None, 1), ambient=(None, 1))
def set_screen_brightness(self, percentage):
pass