Google Android 14 has changed the workload balancing mechanisms for the processor and RAM, which should have a positive impact on device performance and battery life. Dave Burke, Google Vice President of Software Development and responsible for Android, spoke about this.
Resource savings are achieved by limiting broadcasts – a mechanism for communication between the system and applications when critical events occur, such as a drop in battery level or the Internet connection switching from Wi-Fi to cellular networks. “We’ve done a great job of reducing CPU activity for background apps, resulting in 30% fewer cold app launches in Android 14. During a cold boot, code pages must be read from flash memory and transferred to RAM before execution. So the 30% reduction is clearly noticeable and you as a user will feel it.”– said Mr. Burke.
He explained that the challenge of reducing cold starts is a delicate matter. “We wanted to increase the number of cached processes – which are processes that are in RAM – so that there are more warm starts. “But the danger here is that if there are too many cached processes and they are not actually frozen – if they are not actually in sleep mode – they start to use the processor more actively and then use up battery power.”explained the top manager.
These measures made it possible to achieve significant increases in productivity. “In fact, the team was able to reduce background activity as measured by CPU by 50%, and we achieved this through a number of internal projects to properly freeze processes and reduce transfers.”Burke added.
In addition, the developers have made optimizations that help reduce the required storage space without affecting performance. “We reduced code size by 9% by folding return statements and performing various optimizations in the compiler. For a device with 500MB to 1GB of optimized code – these are applications that have been installed and optimized – the savings are 50 to 100MB of data that we have shared.”“, concluded the vice president of Google.