Hi,

Any chance the setting found in lineage can be added to prevent screen wake-up? I'd really like to get this working without having to resort to root. I thought it was a standard android feature since 10+ but possibly not!

Regards,

Andrew

snoop20 GrapheneOS is an AOSP fork which is focused primarily on security and privacy. Tweaking power management is an area of endeavor that the developers have previously expressed some disinterest in. Depending on your priorities, GrapheneOS might not be to your taste at the present time. If your priorities change, hopefully GrapheneOS will still be here to offer a phone OS with good security and privacy.

It's actually for dynamo hub power which on bicycles is volatile and which in turn wakes the screen up.

    snoop20
    I've never actually done this but have seen it. I thought it was customary to have some kind of buffer battery between the dynamo and the phone.

    snoop20 I'm not yet confident I understand the goals or the problem.

    For a while the phone is powered while the bike is being pedalled, then power is removed and the screen turns off, then the bike is pedalled again and the screen comes on... I think the screen coming on is an issue? But I'm not sure why.

    Because it's immensely irritating. :)

    Apparently AOSP already has it in the kernel it just needs enabling in the settings menu which is what that commit on lineage above is. It should be an easy add if that is the case and the grapheneos fork is still bringing aosp commits into it.

      snoop20
      I imagine that would be. I mean there you are pedaling away to charge up the battery and the screen keeps coming on an undoing your work lol. But apart from the GOS issue, isn't it standard practice to use a pass through battery to protect devices (phones, GPS etc) from the variation in the power source? Or does the screen come on regardless? Just curious.

      Proper regulators ensure the USB current/voltage specs can be met, or they shut off power. Adding a buffer lowers efficiency by about 20%, a big deal in dynamo hub power.

      My alternative is Lineage but I don't believe it supports locking the bootloader afterwards, which is a nice feature of Graphene.

        snoop20
        An interesting problem. If it were me I think I'd look for a way to just charge a battery and use it to charge the phone later, anything to stick with GrapheneOS. But then I suppose you are sensitive to packing along extra weight. I googled around a bit for more info on this and found this article, but I sense you already know everything about the subject. Good luck!

        https://www.cyclingabout.com/buffer-batteries-pass-through-charging-dynamo-hub-systems/

        13 days later

        Power-banks induce an efficiency penalty.

        I moved to Lineage to resolve the wake-up. Unfortunately Lineage isn't as Pixel targeted and 5G doesn't work, but that's less of a priority to get working.

        Cheers,

        A.