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