hybrid_sleep


Description:

[ Version ( since = "4.19.1" ) ]
public bool hybrid_sleep (bool polkit_interactive) throws Error

Ask systemd to trigger HybridSleep.

Parameters:

this

the Systemd object

polkit_interactive

whether PolicyKit should ask the user to authenticate if needed

Returns:

true if the D-Bus request was successful, false otherwise and throws is set.