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