[ Version ( since = "4.19.1" ) ]
public bool can_suspend (out bool can_suspend, out bool auth_suspend) throws Error
Check whether systemd can trigger and has authorization for Suspend.
| this |
the Systemd object |
| can_suspend |
location to store capacity or null |
| auth_suspend |
location to store authorization or null |
|
true if the D-Bus request was successful, false otherwise and throws is set. |