mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-04-24 13:50:38 +02:00
add the PolicyKit action org.freedesktop.devicekit.power.hibernate
This commit is contained in:
parent
058834be91
commit
4398839de1
1 changed files with 12 additions and 2 deletions
|
|
@ -20,8 +20,18 @@ file are instantly applied.
|
|||
<icon_name>system-suspend</icon_name>
|
||||
|
||||
<action id="org.freedesktop.devicekit.power.suspend">
|
||||
<_description>Suspend the system to RAM</_description>
|
||||
<_message>Authentication is required to suspend to system</_message>
|
||||
<_description>Suspend the system</_description>
|
||||
<_message>Authentication is required to suspend the system</_message>
|
||||
<defaults>
|
||||
<allow_any>no</allow_any>
|
||||
<allow_inactive>no</allow_inactive>
|
||||
<allow_active>yes</allow_active>
|
||||
</defaults>
|
||||
</action>
|
||||
|
||||
<action id="org.freedesktop.devicekit.power.hibernate">
|
||||
<_description>Hibernate the system</_description>
|
||||
<_message>Authentication is required to hibernate the system</_message>
|
||||
<defaults>
|
||||
<allow_any>no</allow_any>
|
||||
<allow_inactive>no</allow_inactive>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue