View Single Post
Old 10-17-2022, 02:30 PM   #2
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
What the software sees when the hall sensor is tripped is essentially a key press (on contact, e.g., cover closed) and a key lift (on lift, e.g., cover opened), so it's as "simple" as ignoring those.

(Note the quotes, because said events might actually wake the device up if alseep regardless of what userland does with it, so it requires further trickery to avoid false wakeups, but a sane implementation should be transparent to the user on that front... when it works (c.f., the varied history of battery issues with wonky covers )).

Note that some/all (never had one with a cover myself) Kindles went the extra mile to cover (ha!) more of those potential cover issues by having *multiple* hall sensors, some calibrated for the front of the device, and some calibrated for the back.

Last edited by NiLuJe; 10-17-2022 at 02:32 PM.
NiLuJe is offline   Reply With Quote