Is there a power management API in Linux? If so what is it?
I want to be able to program my C application to prevent suspend/hibernate while it's running.
Thanks,
DBus provides some basic power management functionality within the org.freedesktop.PowerManagement bus.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With