Desktop unable to Suspend when Inactive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
policykit-desktop-privileges (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 16.04 and later versions (Xfce/Xubuntu) the power-manager is unable to suspend the system when the user is inactive. A PK user-agent dialog is presented for the user to authenticate first - and as this action occurs specifically when the user is idle and away the PC can end up having an unplanned loss of power when the battery is exhausted.
/var/log/auth.log shows:
polkitd(
The problem seems to be "com.ubuntu.
Adding the following stanza solves the issue:
[Enable suspend by default in logind]
Identity=
Action=
ResultActive=yes
ResultInactive=yes
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.