Quote:
Originally Posted by NiLuJe
@Lucas Malor: It wouldn't appear so.
Code:
┌─(ROOT@(none):pts/0)───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(/)─┐
└─(0.33:31%:19:33:96%:#)── strings /usr/local/Kobo/libnickel.so.1.0.0 | grep -e halt -e shutdown -e poweroff ──(Sat, May 21)─┘
_ZN11EventEngine8shutdownEv
_ZN11EventEngine12shutdownSlotEv
shutdownSlot
shutdownSlot
And we have no actual way of knowing if nickel actually gets killed "cleanly" on a long-press anyway, that's an assumption I'm not willing to take for granted.
|
Depends on how long the press is. Tap to sleep, hold for a few seconds will initiate a shutdown and nickel will close cleanly. Hold it longer, I usually say 20 seconds but it should be shorter, and it just powers off.
It hasn't been mentioned, but have you enabled the nickel logging? I have the following in my config file:
Code:
[DeveloperSettings]
EnableDebugServices=true
EnablePacketDump=true
DebugPM=true
EnableInspector=true
"EnableDebugServices" enables a general log for nickel and writes to a syslog in the users .kobo directory. "DebugPM" enables more debugging writing to dmesg. The "PM" stands for "Power Management".
Edit: I should just add for anyone who sees this and thinks it's a good idea to add these lines. The debug services also enables a telnet service. This tends to block the WiFi from turning off and the device from automatically sleeping. And that runs the battery down a lot faster. I only use these options when I am debugging something.