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
Droid4: identify batterytype to get charger to work for HV #621
Comments
imho -best- would be to have the cpcap-battery.c code actually detect the right battery, and modify MIN MAX voltages and charge voltages accordingly -afaik- nvmem interface for that is broken atm. @IMbackK might know more? |
BE WARNED
I'll clean up my mod and PR soonish |
(PR wont be for merging., dont worry, i dont plan to blow up any phone beside my own ;) ) |
the kernel now seems to try to identify the battery to be 89-500029ba0f73 (as seen on https://github.com/maemo-leste/droid4-linux/blob/maemo-5.18/drivers/power/supply/cpcap-battery.c#L426) But my two EB41 identify as 89-5000385c064b and 89-50003a31240b To get to the nvmem contents :
https://space.nurdspace.nl/~buzz/89-5000385c064b.nvmem |
this is on its way upstream |
I modified the kernel to just always assume its using a EB41 and charge at 4.35V
1183 mAh with the original kernel after training/calibrating a couple times.
1357 mAh with my modified kernel. (will throw on github soon)
about 15% more batterylife , making my days a lot less 'where's my USB powersource'' ;)
The text was updated successfully, but these errors were encountered: