<table><tr><td style="">apol created this revision.<br />apol added reviewers: Plasma, bshah.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />apol requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D27193">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>On Mobile, if the power button is pressed for short time, suspend to Ram as<br />
requested by Bhushan. If the power button is pressed for over a second show a<br />
menu asking whether to reboot, shut down and others like we show on the<br />
desktop.</p>

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

<p>See <a href="https://phabricator.kde.org/D26899" class="remarkup-link" target="_blank" rel="noreferrer">https://phabricator.kde.org/D26899</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R122 Powerdevil</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27193">https://phabricator.kde.org/D27193</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>daemon/actions/bundled/handlebuttonevents.cpp<br />
daemon/actions/bundled/handlebuttonevents.h<br />
daemon/powerdevilbackendinterface.h<br />
daemon/powerdevilprofilegenerator.cpp</div></div></div><br /><div><strong>To: </strong>apol, Plasma, bshah<br /><strong>Cc: </strong>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<br /></div>