green-code-initiative / ecoCode-android

Reduce the environmental footprint of your Java-based Android apps with SonarQube
https://ecocode.io
GNU General Public License v3.0
58 stars 18 forks source link

[iOS] Idleness - Rigid Alarm (EIDL002) #51

Closed gaelfoppolo closed 1 year ago

gaelfoppolo commented 1 year ago

Setting a tolerance for timers will allow them to fire later than the scheduled fire date. The system will use this flexibility to shift the execution of timers by small amounts of time, within their tolerances, increasing the ability to optimize power savings. Using this approach dramatically increases the amount of time that the processor spends idling while users detect no change in system responsiveness.

gaelfoppolo commented 1 year ago

Closed by #57