I found this workaround for the pixel 6a, it now works for me.
cmp: https://xdaforums.com/t/app-root-4-0-battery-charge-limit-v1-1-1.3557002/page-147#post-88052367
"The Pixel 7 uses a different method of controlling charge state, with the file containing the battery % the charge should run to and stop at.
Instead of a binary, I set the Enable value to 100. I set the Disable value to 10 for my own peace of mind, but it could be set as low at 1.
Control file is at /sys/devices/platform/google,charger/charge_stop_level"
(This will also work with the Pixel 7 / Panther, Pixel 6 Pro / Raven, and Pixel 6 / Oriole. I'm also expecting it'll work with the Pixel 6a / Bluejay.)
I hope this helps someone.
I found this workaround for the pixel 6a, it now works for me.
cmp: https://xdaforums.com/t/app-root-4-0-battery-charge-limit-v1-1-1.3557002/page-147#post-88052367
"The Pixel 7 uses a different method of controlling charge state, with the file containing the battery % the charge should run to and stop at.
Instead of a binary, I set the Enable value to 100. I set the Disable value to 10 for my own peace of mind, but it could be set as low at 1.
Control file is at /sys/devices/platform/google,charger/charge_stop_level"
(This will also work with the Pixel 7 / Panther, Pixel 6 Pro / Raven, and Pixel 6 / Oriole. I'm also expecting it'll work with the Pixel 6a / Bluejay.)
I hope this helps someone.