<table><tr><td style="">anthonyfieroni created this revision.<br />anthonyfieroni added reviewers: mart, broulik, thsurrel, Plasma.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />anthonyfieroni 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/D17874">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This is 2nd patch of fixes annoying side effect (<a href="https://phabricator.kde.org/D16918" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: line-through;">D16918</a> was first one), yeah about me it's not a bug but it depend of driver even on display reaction time. I try to wake-up by simulating activity, but that may not enough, so delay screen brightness gives a little bit time to display to react.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>What the side effect is:</p>
<ol class="remarkup-list">
<li class="remarkup-list-item">Dimm display and screen energy saving are enabled</li>
<li class="remarkup-list-item">Let's time activation in configuration of energy saving is longer</li>
<li class="remarkup-list-item">Unplug adapter</li>
<li class="remarkup-list-item">Wait to dimming to set screen to 0</li>
<li class="remarkup-list-item">If now wake-ups screen - all is good screen is not goes to sleep</li>
<li class="remarkup-list-item">So we wait to screen saving to be activated</li>
<li class="remarkup-list-item">Now screen sleeps, just plug adapter in makes screen to wake-up</li>
<li class="remarkup-list-item">If dimm action sets screen brightness too early is just ignored (by driver or display who knows)</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R122 Powerdevil</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17874">https://phabricator.kde.org/D17874</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>daemon/actions/bundled/dimdisplay.cpp<br />
daemon/powerdevilcore.cpp</div></div></div><br /><div><strong>To: </strong>anthonyfieroni, mart, broulik, thsurrel, Plasma<br /><strong>Cc: </strong>plasma-devel, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>