View Single Post
Old 01-25-2021, 05:01 PM   #33
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 868
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Continuing from the FBInk thread:

Quote:
Originally Posted by sherman View Post
Haven't looked into that to be honest.

There probably is a signal, I'll need to find it though.
Yes, N3PowerWorkflowManager has the following signals that could be listened to:
Code:
SIGNAL :: void aboutToSleep()
SIGNAL :: void resumingFromSleep()
SIGNAL :: void resumedFromSleep()
SIGNAL :: void aboutToPowerOff()
SIGNAL :: void aboutToReboot()
So I could probably add at least a few of these.
sherman is offline   Reply With Quote