I want my laptop to wake up at 0300 even with the lid closed, check power & network status and perform certain functions if it is connected.
There's rtcwake
but I don't want to use it to suspend: I just want to use the lid.
I looked through APM manual and there is something that looks like what I need: Get/Set/Disable Resume Timer (11H). How can I use it? I presume this is what rtcwake does.
(XPS 13 2016 with ubuntu 16.10)