Actions
Bug #955
openToo many CPU consumed when my app does nothing
Start date:
11/26/2022
Due date:
% Done:
0%
Estimated time:
Affected version:
Description
When my app waits for a key input without animation, even when my program has ended and I keep my window opened : the app consumes too many CPU. But it should consume nothing.
The effect is immediate on my laptop which fan make a lot of noise when the CPU works. It's probably less visibles with a lot of computers, but we see it well with CPU monitoring.
Let's benchmark it !
A web page opened, but no AOZ app :
My AOZ app, which does nothing (UI waiting for keyboard, Curs Off), still opened :
My AOZ app, which does nothing (ended), still opened :
There is probably something to do to save the planet being more green with it.
If I program still apps, I don't want it to empty my users battery cells that fast.
Files
Actions