Project Volta 让 Android 续航提升了多少?

简介:

image

似乎每一次 Android 大升级,Google 都习惯性地发布一个“Project”,以彰显对 Android 某一问题的改进力度。比如 Jelly Bean 的“Project Butter”(黄油计划)让 Android 系统的动画切换效果达到 60fps,KitKat 的“Project Svelte” 让 Android 最低运行 RAM 降低至 512MB。

今年的 Google I/O 带来了“史上改进最大”的 Android L,伴随而来的是针对续航改进的“Project Volta”。Google 表示,真正优化之后省电模式至少可以让 Nexus 5 增加 90 分钟的续航时间。

Project Volta 究竟让 Android 续航提升了多少?Ars Technica 使用两台 Nexus 5 进行了一次续航对比测试,测试尽可能保证了实验条件的精准:一台搭载 Android 4.4 KitKat,另一台搭载 Android L 预览版,亮度同时保持 200nit,保持屏幕常亮、同时更新应用,在 Wi-Fi 环境下每 15 秒刷新一次网页,直至电量耗尽为止。

image

实验结果显示,搭载 Android 4.4 的续航时间为 345 分钟,而Android L 预览版的续航时间则高达 471 分钟,续航能力提升 36%,多了两小时的使用时间。

需要提到的是,Android L 还提供了一个“电池保护”的功能,当设备电量低于 15% 时系统会自动降低设备性能、切断后台数据、调低屏幕亮度。尽管可以更进一步提升续航能力,不过测试并没有应用该功能。

“Project Volta” 对 Android 续航能力的提升源于多项措施。首先,“Project Volta”可以通过分析来发现系统资源的最大消耗者,并在节能模式下控制这些进程,从而达到节电的目的。

Google 测试发现,用户每点亮一次屏幕大约消耗 2 分钟的待机,这不仅仅源于屏幕消耗,一些应用程序或网络模块执行后台数据刷新的操作也会消耗电量。Android L 引入了新的“JobScheduler” API,使得Android 可以分批处理数据清理和日志上传等不重要的应用请求。

另外,增强的 Battery Historian 电量消耗统计跟踪器增加了大量电量追踪功能,为开发者带来了数据可视化的图标,开发者可以通过有针对性的调整来延长电池续航时间。

当然,ART 替代 Dalvik 成为 Android 的默认虚拟机也是重要原因之一,ART 可以一次性将 Android 应用编译成本地代码,减少了即时编译对计算性能的浪费,从而提高了运行效率。

相关文章
|
Android开发
IDEA编译gradle提示This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 2020.3.1 or newer.
IDEA编译gradle提示This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 2020.3.1 or newer.
665 1
|
1月前
|
缓存 监控 Android开发
构建高效Android应用:从内存优化到电池续航
【4月更文挑战第7天】 在移动开发领域,构建一个高效的Android应用不仅意味着提供流畅的用户体验,还涉及确保应用对设备资源的消耗保持在最低水平。本文将重点讨论如何通过内存优化和电池使用效率的提升来增强Android应用的性能。我们将深入探究内存泄漏的根源、内存优化的策略以及电池续航的改进方法,并通过具体实例展示如何实施这些技术。
|
5月前
|
JavaScript Java 开发工具
Vue project package Android App
Vue project package Android App
|
9月前
|
Android开发
Android > Project with path ‘:audiovisualize‘ could not be found in project ‘:app‘. 异常解决方案
Android > Project with path ‘:audiovisualize‘ could not be found in project ‘:app‘. 异常解决方案
43 0
|
Android开发
Android Studio的Project有某个项目,Build Variants却没有,如何添加物已有项目?
Android Studio的Project有某个项目,Build Variants却没有,如何添加物已有项目?
114 0
This project uses AndroidX dependencies, but the ‘android.useAndroidX‘ property is not enabled
This project uses AndroidX dependencies, but the ‘android.useAndroidX‘ property is not enabled
164 0
This project uses AndroidX dependencies, but the ‘android.useAndroidX‘ property is not enabled
This project uses AndroidX dependencies, but the ‘android.useAndroidX‘ property is not enabled
37 0
|
Android开发 iOS开发
搞定Android Studio cannot open this project, please retry with Android Studio 3.6 or newer
搞定Android Studio cannot open this project, please retry with Android Studio 3.6 or newer
148 0
搞定Android Studio cannot open this project, please retry with Android Studio 3.6 or newer
|
安全 Android开发
ERROR: This version of Android Studio cannot open this project, please retry with Android Studio 3.
ERROR: This version of Android Studio cannot open this project, please retry with Android Studio 3.
301 0
ERROR: This version of Android Studio cannot open this project, please retry with Android Studio 3.