3 releases
0.1.0 | Dec 9, 2021 |
---|---|
0.1.0-alpha2 | Jan 13, 2021 |
0.1.0-alpha1 | May 9, 2020 |
#4 in #suspend
12KB
222 lines
insomnia
This library provides a cross-platform interface for inhibiting power management operations.
Features
Platform | Automatic suspend | Manual suspend | Manual shutdown | Screen Sleep |
---|---|---|---|---|
Linux (via systemd-logind ) |
✓ | ✓ | ✓ | |
Windows | ✓ | ✓ | ✓ |
Dependencies
~0.7–2.1MB
~44K SLoC