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
+4
View File
@@ -101,3 +101,7 @@ class HardwareBase:
@abstractmethod
def get_thermal_config(self):
pass
@abstractmethod
def set_screen_brightness(self, percentage):
pass