[plugin] HTTPInspector: return InputEvent on every call to reset standby/suspend timer#13339
Conversation
|
@poire-z I'm still a bit unsure between this and the other variety. How about you? |
|
I think this 2-lines PR is fine. |
|
I thought this was fixed, so I downloaded latest beta, but the issue is still there?
Edit: when disconnected from WiFi and left alone for 20 minutes, device autosuspends as expected. KOReader running in standard mode (not the frameworkless one) |
|
The logs show this PR working as intended. Suspend didn't come from KOReader but from the Kindle itself: @NiLuJe @hius07 Is this something that would be affected by no framework mode? |
|
In context I suppose the real question is whether it can be told that yes, we're active right now. |
|
I seem to recall us pinging powerd... somewhere, to ensure it honors our suspend timer and not its baked in one; but I don't recall the exact details (but I would hope this approach would Just Work(TM) without anyone having to think about that implementation detail). |
Yep, it's handled by |
|
Then it sounds like everything should be working. This is the last time it triggered before suspend. Which would suggest either the default isn't 10 minutes and it's merely 5 (with the update triggering just prior the first time by sheer coincidence) or that it's not working at all. |
|
I imagine they could have somehow tweaked the default timeouts, which device and FW version was that running on? (I don't remember the command OTOH, but the whole lot of powerd timeouts are stored in the elektra db that's.. somewhere I can't remember in /etc ;p). |
|
No tweaking on user end. PW5, FW 5.14.1.1,, default Amazon timeout is 10 minutes (timeout is non adjustable, unlike on newest firmware versions.). |
…dby/suspend timer (koreader#13339) Fixes koreader#13303.
Fixes #13303.
This change is