In the latest #TheAndroidShow event, Google’s Vice President of Android Engineering Dave Burke said that the Android 14 system has changed the workload balancing mechanism of the processor and memory, which can not only improve device performance but also Improve battery life performance.
The Android 14 system will limit broadcasts to save resources. Broadcasting is a communication mechanism between systems and applications when critical events occur, such as when the battery power drops or the Internet connection switches from Wi-Fi to cellular network.
Mr Burke said on the show
Android 14 once again reduces CPU activity for background apps, resulting in a 30% reduction in app cold start frequency.
During a cold boot, code pages must be read from flash and transferred to memory before execution, so the 30% reduction is noticeable to the user.
There are many challenges in reducing cold starts, and we naturally want to increase the number of cached processes (that is, processes in RAM) to allow more applications to be warmly started.
But the key here is the balance, if you have too many processes cached, and they are not actually frozen, then those processes will take up processor resources and drain the battery
Through continuous testing and training, the team can reduce CPU usage by 50% while the application is running in the background. We achieve this through some internal projects, freezing threads appropriately and reducing transfers.
Android 14 also optimizes application-related code to ensure that the space occupied by the application is reduced without affecting performance.
A cold start means that the application is started from scratch. This means that the system process only creates the application process after a cold start. A cold start occurs when an app is launched for the first time since the device started or the system terminates the app.
Mr Burke said:
By folding return statements and performing various optimizations in the compiler, we reduced the code size by 9%. If an optimized application of about 500MB-1GB is installed on the device, the space occupied can be reduced by 50MB-100MB compared with before optimization.
THIS IS A SPONSOR PROMOTION: >>>>>>>>>>>>>
Geekwills is an online shop that connects consumers with millions of products and brands around the world with the mission to empower them to live their best lives. Geekwills is committed to offering the most affordable quality products to enable consumers and sellers to fulfill their dreams in an inclusive environment.