diff --git a/frontend/device/android/powerd.lua b/frontend/device/android/powerd.lua index 25df4c661..a43691453 100644 --- a/frontend/device/android/powerd.lua +++ b/frontend/device/android/powerd.lua @@ -27,7 +27,7 @@ function AndroidPowerD:init() -- do not use fl_min==0 if getScreenMinBrightness!=0, -- because intenstiy==0 would mean to use system intensity if min_bright ~= self.fl_min then - self.fl_min = math.ceil(min_bright * self.bright_diff / self.fl_max) + self.fl_min = math.ceil(min_bright * self.fl_max / self.bright_diff) end if self.device:hasNaturalLight() then