D27193: Improve the behaviour of the power button on mobile
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Thu Feb 6 12:16:58 GMT 2020
apol created this revision.
apol added reviewers: Plasma, bshah.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
apol requested review of this revision.
REVISION 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
REPOSITORY
R122 Powerdevil
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D27193
AFFECTED FILES
daemon/actions/bundled/handlebuttonevents.cpp
daemon/actions/bundled/handlebuttonevents.h
daemon/powerdevilbackendinterface.h
daemon/powerdevilprofilegenerator.cpp
To: apol, #plasma, bshah
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200206/b1a66061/attachment.html>
More information about the Plasma-devel
mailing list