@gharris999

A thought occurs to me:
Should sleep_inhibit register for the "system will now sleep" call-back
and shut itself off on that event as well as timer expiry ? 
I'm not sure how the timer survives system sleep, and there might be
unexpected results if sleep_inhibit is still running when the system
next wakes.

As a longer term project it might even undertake the "on sleep" task
that SleepWatcher is currently doing for you...

I'm not sufficiently familiar with SrvrPowerCtrl [1]. My off the cuff
thought would be to go with two separate plug-ins and keep the
functionality and coding split.
Presumably the plug-ins could talk to each other if some small
communication were to be useful ?


[1] I do use it to reboot my Plug computer from time to time. I am
planning to see if I can get it to initiate a few other system admin
tasks.


-- 
mrw
------------------------------------------------------------------------
mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to