KOReader tips & tricks
Kindle 4 PW - enable PowerOff menu option
TODO: create PR
To enable Power Off option to KOReader’s exit menu:
- Run KOReader
- Go to the
Tools/Text Editor. Openfrontend/device/kindle/device.luafile. - Add
canPowerOff = true,line beforecanSuspend = yes,inlocal Kindle = Generic:extend(declaration. Add the following function (in any place, can be below above declaration):
function Kindle:powerOff() os.execute("shutdown -P 0") end