Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-05-2023, 11:13 AM   #1
Tialex
Member
Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.
 
Posts: 13
Karma: 11102
Join Date: Aug 2023
Device: Nook Glowlight 4e
Energy-saving patch for Android version-Nook 4/4e

Hi,

finally the super-flexible lua/KOReader ecosystem allowed me to reproduce the Nook Glowlight 4 deep sleeping between page turns with a single patch.

The patch page with a detailed Readme is at https://github.com/Codereamp/nopowen

Basically this patch sends the Nook into Deep Sleep after every page turn. So, a short period of wakefulness for preparing and showing a new page is followed by the longer one until you consume the page and decide to go to the next. This translates into about 3000+ page turns on a single charge, but the real number may be different depending on other operations and your habits.

My previous attempts was to find what's wrong with not sleeping, an attempt to make a cross-app solution (but it required an advanced preparation and root). The KOReader patch doesn't require root and needs only a couple
of simple actions and probably of reading a not-so-long readme

If you have any questions, and issues, please, post them here.

Thanks

Last edited by Tialex; 11-05-2023 at 11:15 AM.
Tialex is offline   Reply With Quote
Old 11-05-2023, 11:55 AM   #2
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,506
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Great idea! Might try some time later with my Onyx Boox.

My question is - does it send the device to deep sleep until next tap/swipe only? Can it wake on status bar clock updates? I had a lot of fun recently trying to kill Onyx’es native deep sleep to make progress bar clock work every minute https://github.com/koreader/koreader/issues/11037
mergen3107 is offline   Reply With Quote
Advert
Old 11-05-2023, 11:58 AM   #3
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,506
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
So, like in usual page turns:
1) Turn page
2) Go to deep sleep
3) *wait for tap* - resume from deep sleep, do the page turn, go back to deep sleep.
4) *wait for minute change* - resume, update clock, go back to deep sleep.

Maybe at the (2) it should take current second, and set a timer to wake up? I don’t know if timers work during deep sleep though.

Also, does it go to deep sleep only after page turns, or after any action?
mergen3107 is offline   Reply With Quote
Old 11-05-2023, 12:33 PM   #4
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
You might want to look into the `Device:standby`(& the matching `canStandby` cap) implementation (e.g., on Kobo) and the autosuspend (not autostandby, that's one for PB) plugin's standby timer, and implement this as a standby method, you should get much saner scheduling behavior for free than simply hooking page turns this way .

Last edited by NiLuJe; 11-05-2023 at 12:36 PM.
NiLuJe is offline   Reply With Quote
Old 11-05-2023, 12:45 PM   #5
Tialex
Member
Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.Tialex can tame squirrels without the assistance of a chair or a whip.
 
Posts: 13
Karma: 11102
Join Date: Aug 2023
Device: Nook Glowlight 4e
Quote:
Originally Posted by mergen3107 View Post
So, like in usual page turns:
1) Turn page
2) Go to deep sleep
3) *wait for tap* - resume from deep sleep, do the page turn, go back to deep sleep.
4) *wait for minute change* - resume, update clock, go back to deep sleep.

Maybe at the (2) it should take current second, and set a timer to wake up? I don’t know if timers work during deep sleep though.

Also, does it go to deep sleep only after page turns, or after any action?
As for your first post and Onyx, I just looked at the Boox dates and all other infos, I highly doubt it is compatible but who knows. For everyone interested, there should be power_enhance_enable entry in the /data/system/users/0/settings_system.xml file. If it is then the script might be compatible. My current high probability guess is MobiScribe hardware since they explicitly mention this entry in their SDK.

I also see that you're very serious about your clock and how punctual it is From what I saw, theoretically it's possible to wake sooner that tap or press events come. But this would require more time to investigate and meanwhile not very high on my priority list, also because my usual per page reading time is less than a minute so I'm ok with the clock being a little off-time
Tialex is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free (nook/Kindle) Oil Safari [Pulitzer Author Energy Industry Journalism Travelogue] ATDrake Deals and Resources (No Self-Promotion or Affiliate Links) 1 04-13-2015 07:05 PM
Tablet Nook HD+, what version android? catsknit Nook Color & Nook Tablet 5 12-24-2014 12:56 PM
[Android App] calibre companion - saving to SD card Justy Devices 3 10-22-2012 06:13 PM
IQ Patch für Android-Version und Root-Rechte Fellball PocketBook 6 04-06-2011 04:43 AM


All times are GMT -4. The time now is 03:12 AM.


MobileRead.com is a privately owned, operated and funded community.