<div dir="ltr"><div class="gmail_extra">Regarding the power consumption:</div><div class="gmail_extra"><br></div><div class="gmail_extra">"<span style="color:rgb(119,119,119);font-family:'Source Sans Pro',sans-serif;font-size:16px;line-height:20px">Your application is draining too much power when device is on idle state. It is critical for any application to go to the idle state within reasonable amount of time, depending on what the app is doing. For example if the app is fetching some data, syncing data, or playing some audio streaming, then it would be okay for it to remain on the list for a longer time (or never disappear from the list). However, in other cases, there is no reason for an app to remain on the list, disappears and re-appears from time to time. In the 'Arithmetics' application when the device is in idle state, the app is not doing anything special, so it needs to disappear from the list within ~1 minute (In normal cases, when the app is not doing anything special, Harbour applications disappear from the list around 1 to 2 minutes)"</span></div><div class="gmail_extra"><span style="color:rgb(119,119,119);font-family:'Source Sans Pro',sans-serif;font-size:16px;line-height:20px"><br></span></div><div class="gmail_extra"><font color="#777777" face="Source Sans Pro, sans-serif"><span style="font-size:16px;line-height:20px">And then there are 12 steps I could try in order to check why it consumes so much power. I presume the wording IDLE might refer going to the background. </span></font></div><div class="gmail_extra"><font color="#777777" face="Source Sans Pro, sans-serif"><span style="font-size:16px;line-height:20px"><br></span></font></div><div class="gmail_extra"><font color="#777777" face="Source Sans Pro, sans-serif"><span style="font-size:16px;line-height:20px">SDL has two function in order to get events. </span></font>SDL_WaitEvent and SDL_PollEvent but in SDL2 the two are almost the same. <span style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:19.5px"> </span><span style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:19.5px">Waiting is equivalent to polling with a delay of 10ms between polls! (</span><font face="Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:15px;line-height:19.5px"><a href="http://stackoverflow.com/questions/18860243/sdl-pollevent-vs-sdl-waitevent">http://stackoverflow.com/questions/18860243/sdl-pollevent-vs-sdl-waitevent</a>)</span></font></div><div class="gmail_extra"><font face="Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:15px;line-height:19.5px"><br></span></font></div><div class="gmail_extra"><font face="Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:15px;line-height:19.5px"><br></span></font></div><div class="gmail_extra"><font face="Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:15px;line-height:19.5px">Regarding the hint orientation I didn't know it exists. I'll put it in the queue after solving this power consumption</span></font></div><div class="gmail_extra"><font face="Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:15px;line-height:19.5px"><br></span></font></div><div class="gmail_extra"><font face="Helvetica Neue, Helvetica, Arial, sans-serif"><span style="font-size:15px;line-height:19.5px">thx</span></font></div>
</div>