repowerd should ignore power presses for a moment after state change

Bug #1656311 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
repowerd (Ubuntu)
New
Undecided
Unassigned

Bug Description

It happens relatively often that I receive a message, pick up the phone and press power just after the notification kicked in and turned the screen on.

Even if the above would be fixed by synchronizing sound and screen, this is still a valid scenario where you receive a message just as you pressed the button.

My proposal is that repowerd ignore the key press that happens within a threshold after a power change (that's not itself been caused by a power button press).

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: repowerd 2016.12+17.04.20161212.1-0ubuntu1
ProcVersionSignature: Ubuntu 4.9.0-11.12-generic 4.9.0
Uname: Linux 4.9.0-11-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.20.4-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Jan 13 14:38:03 2017
InstallationDate: Installed on 2016-05-06 (251 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: repowerd
UpgradeStatus: Upgraded to zesty on 2016-11-22 (52 days ago)

Revision history for this message
Michał Sawicz (saviq) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.