10cean Isn't that a bit dumb?
Yes.
10cean Why nobody fixed that?
It's hard to say. After all, there are something like 8 billion people, each of whom hasn't fixed it so far, and it seems plausible that different people have different reasons.
10cean It seems like 1 byte change in source code. From 90, to 80, or 75. Is this hard to change?
Just changing "90" to "80" probably wouldn't be very hard. But:
- I think the Pixel Tablet has different charge cutoffs depending on whether it is or isn't docked,
- Avoiding user surprise would probably require setting the auto-disable threshold to either 90 or 80 depending on whether or not battery optimization is on,
- In turn that would mean that any time somebody flipped the optimization toggle the auto-disable threshold would need to be changed as a result.
It's probably not a lot of code, but I suspect it's not a one-line change either.