Regarding the power consumption: "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)"
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. SDL has two function in order to get events. SDL_WaitEvent and SDL_PollEvent but in SDL2 the two are almost the same. Waiting is equivalent to polling with a delay of 10ms between polls! ( http://stackoverflow.com/questions/18860243/sdl-pollevent-vs-sdl-waitevent) Regarding the hint orientation I didn't know it exists. I'll put it in the queue after solving this power consumption thx
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org