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