Allow Kobo to entirely turn off the front light.

pull/2977/head
Hzj_jie 7 years ago committed by GitHub
parent d83de47204
commit 05769872c7

@ -43,6 +43,8 @@ function KoboPowerD:frontlightIntensityHW()
return 20
end
function BasePowerD:turnOffFrontlightHW() self:_setIntensity(0) end
function KoboPowerD:setIntensityHW(intensity)
if self.fl == nil then return end
self.fl:setBrightness(intensity)

Loading…
Cancel
Save