Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Take over scheduling for new "charging control" battery optimization in Android #232

Closed
Nazosan opened this issue Jan 3, 2024 · 1 comment

Comments

@Nazosan
Copy link

Nazosan commented Jan 3, 2024

So it seems there's a new charge limiting feature in Android with version 13 I think and I suspect it will become a standard thing for all versions from now on probably. I'm not sure if this is available to all Android devices (I'm using a Pixel 4a 5G, but I'm on LineageOS rather than stock,) but this has potential to work with the system in a more official fashion and thus work on virtually any phone where the OS implements it which might possibly include anything on a clean OS (aka not Samsung stock probably -- I read it has its own optimization option that may not work well.) In my settings I have an option labeled "charging control" that is supposed to "automatically determine when to start charging based on alarms set." I didn't realize how extreme this really was until I noticed that after a few days plugged in it starts to actually lower the battery on purpose and then keep it on 80% from then on. Apparently it tries to predictively learn your schedules based on alarms and when you use it, but unfortunately will once again charge to 100% if you use it more than a few minutes off the charger or if something like an alarm triggers it.

I was thinking that if something could override the scheduling so it thinks it should always be in charging optimized mode (even when there are alarms) then this would provide a slightly less hacky means of working with the system's more standardized means of limiting charge. Basically just trick its built in schedule into thinking there are no alarms even if there are and that it should enter battery optimization immediately upon reaching 80%. Normally it charges back to 100% the moment you plug it back in after optimization goes off from usage or an alarm, so it would need to also trick it into immediately entering optimization mode.

Not sure how well this would work or if it's even possible (or even if applicable) but it seems like if it did work it could make for a more universal solution on perhaps a larger range of devices if it's as universal as it seems like it should be. Food for thought anyway.

@VR-25
Copy link
Owner

VR-25 commented Jan 26, 2024

I'm closely following the evolution of this feature and thinking about the possibilities...

@VR-25 VR-25 closed this as completed Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants