V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
dabaizuishuai
V2EX  ›  Android

极端轻量级能源环境下的可穿戴设备,定制完整的安卓 ROM,需要哪些方面的考虑?

  •  
  •   dabaizuishuai · 2021-02-25 11:39:32 +08:00 · 4546 次点击
    这是一个创建于 1149 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我知道这个问题太宏大了,那么不妨将讨论局限在几个方面,比如电量等

    在极致电量情况下,例如是一般手机的 1/3 电量,如何从 ROM 层面优化系统,使得设备能够待机+使用达到一天的时间?

    比如 4g 模块,wifi 模块,都得在不使用时关闭掉;任务管理也得像 wearos 一样,后台任务管理极其严格,非前台应用基本上不给分配 CPU 。

    但是这样也仅仅能够将续航提高 50%左右。有没有资深安卓大牛能提供一些经验或思考呢?
    8 条回复    2021-02-27 14:36:02 +08:00
    no1xsyzy
        1
    no1xsyzy  
       2021-02-25 13:09:48 +08:00
    索尼(还是说是 Google 做的?)有个 Ultimate(名字是这个吗?) Stamina 模式,只剩下最基础的一些电话短信等等。
    要退出该模式需要重启。所以我估计对系统是削得挺严重的。猜测可以在这种状态下待机一天。
    janus77
        2
    janus77  
       2021-02-25 13:45:01 +08:00
    既然你有这种需求为啥非要安卓系统呢
    dabaizuishuai
        3
    dabaizuishuai  
    OP
       2021-02-25 15:40:46 +08:00
    @janus77 RTOS ?
    dabaizuishuai
        4
    dabaizuishuai  
    OP
       2021-02-25 15:45:12 +08:00
    @no1xsyzy

    Ultra STAMINA mode overview
    Mobile data and Wi-Fi® are disabled.
    The Home screen is limited to one pane.
    You only have access to a limited selection of apps. No apps can be added or removed. The apps are all shown on the Home screen. There is no Application screen.
    You can't move icons on the Home screen.
    Apart from the Clock widget, no widgets are available.
    You can't change wallpapers, switch themes or customise your screen.
    The Settings menu only includes settings that are relevant to Ultra STAMINA mode.
    When Ultra STAMINA mode is activated, you can use the following applications:

    Phone
    Contacts
    Messaging
    Camera
    Album
    Calendar
    Alarm & clock
    Calculator (in some products)
    FM radio (where available)
    Settings
    Music
    no1xsyzy
        5
    no1xsyzy  
       2021-02-25 16:03:39 +08:00
    @dabaizuishuai 应该就是,没仔细看,看到过三遍也没记得它叫啥
    削得确实惨,但是大概可以找个中间值。其他我想不到什么了。
    orannge
        6
    orannge  
       2021-02-25 19:47:38 +08:00   ❤️ 1
    Doze 模式+关闭不必要模块和功能,续航应该不止提高 50% 吧。小米 MIUI12 放那一天不用都掉不了多少电,穿戴设备一直在动,应该要耗电些。
    dabaizuishuai
        7
    dabaizuishuai  
    OP
       2021-02-26 11:03:06 +08:00
    @orannge 无任务后 interval 加倍 直到唤醒
    no1xsyzy
        8
    no1xsyzy  
       2021-02-27 14:36:02 +08:00
    一个怪异的想法:
    不是有那种戴着就自动上发条的机械表嘛
    靠自身充电呢?

    还有压 CPU 电压这种操作,感觉续航优化更多的是硬件相关而不是安卓相关。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1884 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 16:19 · PVG 00:19 · LAX 09:19 · JFK 12:19
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.