diff --git a/frontend/device/kobo/powerd.lua b/frontend/device/kobo/powerd.lua index bd11c3898..656a71df6 100644 --- a/frontend/device/kobo/powerd.lua +++ b/frontend/device/kobo/powerd.lua @@ -13,9 +13,11 @@ local KoboPowerD = BasePowerD:new{ } function KoboPowerD:init() - local kobolight = require("ffi/kobolight") - local ok, light = pcall(kobolight.open) - if ok then self.fl = light end + if self.device.hasFrontlight() then + local kobolight = require("ffi/kobolight") + local ok, light = pcall(kobolight.open) + if ok then self.fl = light end + end end function KoboPowerD:toggleFrontlight()