GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
357 stars 21 forks source link

implementation of slow charging toggle #1931

Open 5georgeK opened 1 year ago

5georgeK commented 1 year ago

I am aware of https://github.com/GrapheneOS/os-issue-tracker/issues/1089 and did find numerous similar requests, but is there maybe a chance to enable this somehow? I only need a toggle to enable the slowest possible charging speed, nothing more (this is 5V/1A as far as I know).

I use my device with a cabled headset professionally. For this usecase, I connect a powered usb-c-hub which charges my Pixel 7 constantly with the highest power rating (15-23W most of the time which I can monitor via third party apps). (Phone -> powered USB hub -> DAC -> headset)

I am very aware of the firmware based smart charging algorithm, but I think this is not optimized for people like me who connect their phones numerous times in daytime where no alarms are set and primarily not to charge, but to add powered accessoires like LAN-adapters, USB-DACs etc. And if you connect and reconnect often, there will be a decline in battery health way sooner than the projected numbers we know.

If you absolutely are against it, maybe you can put this option in the developer settings?

peterge1998 commented 1 year ago

While thinking about getting a case with MagSafe and intending to buy a MagSafe powerbank, I would be interested in a maximum charge percentage too, so that I can keep it connected 24/7 to use it like @5georgeK has his phone connected to a dock often. Please add this functionality!

Letgamer commented 8 months ago

As you are working on the USB implementation and drivers, kernel, etc. at the moment, it would be great if this feature would be implemented. Disabling any fast-charge protocol and things like PPS could on the one hand reduce attack surface and on the other hand protect the battery by minimizing heat. It would be very useful for the following use case: Using your Smartphone the whole day and only charging it when going to bed during the night