[Local hibernate]
#Identity=unix-user: your_username
Identity=unix-group:power
Action=org.freedesktop.upower.hibernate
ResultAny=yes
ResultInactive=no
ResultActive=yes

[Local suspend]
#Identity=unix-user: your_username
Identity=unix-group:power
Action=org.freedesktop.upower.suspend
ResultAny=yes
ResultInactive=no
ResultActive=yes
