flesh out the list of prior work to include some of the more popular Node/Electron modules (e.g. node-desktop-idle, the Electron powerMonitor module, etc.)
add a "Considered Alternatives" section to discuss tradeoffs and different available API style options
expand example code to show how the provided sample code addresses the provided list of use-cases
in example code, show how this API will integrate with (and be used around) the Permissions API
This explainer is good!
I'd like to see a few things expanded on: