shermp / NickelDBus

Monitor and control kobo Nickel via dbus
MIT License
24 stars 2 forks source link

Power management signals #16

Open shermp opened 1 year ago

shermp commented 1 year ago

There were discussions on https://github.com/pgaskin/NickelMenu/issues/124 about using the signals from N3PowerWorkflowManager to notify scripts/programs when resuming from sleep etc. It's probably best to continue the discussion over here.

For reference, the available signals are:

aboutToSleep()
resumingFromSleep()
resumedFromSleep()
aboutToPowerOff()
aboutToReboot() 

Pinging @marnovdm @NiLuJe

marnovdm commented 1 year ago

Yes this seems like a better place, thanks for opening this! I (unintentionally) hijacked the original issue post a bit anyway :smile:

Not sure if I can contribute anything here, as I'm not really familiar with C++, and I'll be on holiday for the next couple of weeks so it'll be a while before I get back to this issue.