mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
* Kobo: Make sure checkUnexpectedWakeup won't run between scheduled suspend calls Because of the suspend_wait_timeout, a previously scheduled check *could* shortcircuit a suspend scheduled a tiny bit later by a real Power event. This led to fun breakage when you plugged/unplugged a "sleeping" device, for instance. Fix #9457 * And clear up the unexpected_wakeup_count semantics Bits of an older design seeped through and were causing weird corner-cases...