Improve the behaviour of the power button on mobile

Authored by apol on Feb 6 2020, 12:16 PM.

Description

Improve the behaviour of the power button on mobile

Summary:
On Mobile, if the power button is pressed for short time, suspend to Ram as
requested by Bhushan. If the power button is pressed for over a second show a
menu asking whether to reboot, shut down and others like we show on the
desktop.

Albeit pretty cool and useful, this can't be translated into the desktop
because there press time is always 0ms for some reason.

See https://phabricator.kde.org/D26899

Reviewers: Plasma, bshah, broulik

Reviewed By: Plasma, broulik

Subscribers: z3ntu, broulik, PureTryOut, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D27193

Details

Committed
apolFeb 6 2020, 2:51 PM
Reviewer
Plasma
Differential Revision
D27193: Improve the behaviour of the power button on mobile
Parents
R122:24e2b60981d0: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown