mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fix: crash on emulator when trying to display battery level
This commit is contained in:
@@ -21,7 +21,7 @@ function BasePowerD:init() end
|
||||
function BasePowerD:toggleFrontlight() end
|
||||
function BasePowerD:setIntensityHW() end
|
||||
function BasePowerD:setIntensitySW() end
|
||||
function BasePowerD:getCapacityHW() end
|
||||
function BasePowerD:getCapacityHW() return "0" end
|
||||
function BasePowerD:isChargingHW() end
|
||||
function BasePowerD:suspendHW() end
|
||||
function BasePowerD:wakeUpHW() end
|
||||
|
||||
Reference in New Issue
Block a user