Hmmmm, the
Larger Sleep/Power-off timeouts patch doesn't seem to be working properly...
I customised it using this handy tool:
https://pgaskin.net/kobopatch-patche...off-15505.html
And what I got was this:
Code:
Larger Sleep/Power-off timeouts:
- Enabled: no
- PatchGroup: Sleep/Power-off timeouts
- Description: |
Increase the available sleep/power-off timeouts to larger values (up to a
few weeks). To customize this patch, see https://pgaskin.net/kobopatch-patches/lgrpwroff-15505.html .
IMPORTANT - Although this patch has been tested by multiple users and
confirmed to be working, the interaction between the RTC timer and Nickel
has many moving parts. As reported by JSWolf on MR, this patch might have
issues with actually powering-off with timeouts longer than a day. The
cause is likely to be the auto-sync interval or sleepcover causing the
timer to be overridden/reset every day. Nevertheless, this patch should
work reliably for timeouts under 12 hours, and probably under 1 day.
If you are using this patch with timeouts above 12 hours, and can confirm
if it works/doesn't work, please PM me or comment on GitHub with your
setting values, sleepcover or not, auto-sync interval, wifi on/off, firmware
version, and Kobo model.
See https://github.com/pgaskin/kobopatch-patches/issues/28#issuecomment-537161827
for more details about this.
# Multipliers
- ReplaceBytes:
Base: "N3PowerWorkflowManager::configureWakeup(AlarmControl*, int, AlarmControlDelegate*)"
Offset: 28
FindH: 03 FB 04 F2 # MUL r2(dest), r3(multiplier), r4(mins)
ReplaceH: 4F EA 44 52 # LSL r2, r4, #21
- ReplaceBytes: {Base: "N3PowerWorkflowManager::pollBattery()", Offset: 106, FindH: 08 FB 00 F8, ReplaceH: 4F EA 40 58} # MUL r8(dest), r8(multiplier), r0(mins) -> LSL r8, r0, #21
- ReplaceBytes: {Base: "N3PowerWorkflowManager::pollBattery()", Offset: 156, FindH: 02 FB 00 F2, ReplaceH: 4F EA 40 52} # MUL r2(dest), r2(multiplier), r0(mins) -> LSL r2, r0, #21
# Menu text
- FindBaseAddressString: "5 mins\0"
- ReplaceString: {Offset: 0, Find: "5 mins\0", Replace: "34m"}
- ReplaceString: {Offset: 8, Find: "10 mins", Replace: "25h37m"}
- ReplaceString: {Offset: 16, Find: "15 mins", Replace: "72h14m"}
- ReplaceString: {Offset: 24, Find: "30 mins", Replace: "97h52m"}
- ReplaceString: {Offset: 32, Find: "45 mins", Replace: "121h10m"}
- ReplaceString: {Offset: 38, Find: "60 mins", Replace: "148h32m"}
# Values (see https://www.mobileread.com/forums/showpost.php?p=3887105)
- FindBaseAddressSymbol: "N3SettingsPowerView::initChoices()"
- ReplaceInt: {Offset: 11, Find: 5, Replace: 1}
- ReplaceInt: {Offset: 465, Find: 5, Replace: 1}
- ReplaceInt: {Offset: 99, Find: 10, Replace: 44}
- ReplaceInt: {Offset: 525, Find: 10, Replace: 44}
- ReplaceInt: {Offset: 159, Find: 15, Replace: 124}
- ReplaceInt: {Offset: 583, Find: 15, Replace: 124}
- ReplaceInt: {Offset: 219, Find: 30, Replace: 168}
- ReplaceInt: {Offset: 641, Find: 30, Replace: 168}
- ReplaceInt: {Offset: 279, Find: 45, Replace: 208}
- ReplaceInt: {Offset: 699, Find: 45, Replace: 208}
- ReplaceInt: {Offset: 339, Find: 60, Replace: 255}
- ReplaceInt: {Offset: 755, Find: 60, Replace: 255}
I have the patch switched on from the kobopatch.yaml file.
I have the Kobo Clara HD settings set to Sleep after 34 minutes (never tested as I have a sleep cover) and Power-off set to after 148h32m. I haven't properly tested it because I usually read every day... but, I've noticed that if I skip one or two days of reading, I find my Kobo Clara HD
off when I want to read again on day three. As if it switches off after 48 hours instead of after 148 hours (more than 6 days). I changed the power-off time to 97h52m (four days), but after skipping only one day of reading (24-48 hours), I still find my Clara in off mode...
Any idea what's going on?