I've personally looked at the Issue just a few days after shofel release, wanna show my search requests for the MX chipset?
Just dropped it because of lack of time
--------------------- MERGED ---------------------------
It just gives us a IC name as well as a I2C addr, both are well known even before homebrew existed on the switch in the form we know it
"Look and compare", I mean, thats common sense among coders. I mean come on..
Edit: I actually looked it up, while I have this exact chipset for some reason in my search history related to the Issues (probably looked up most of the maxim chipsets
) , I only find information to MAX77620, because those header files were copied, for the Power Management IC.
I didn't find any results to the
actual fuel gauge used
Now, this gets interesting
Note: This probably isn't it, just funny in function
https://github.com/torvalds/linux/blob/master/drivers/power/supply/max17042_battery.c#L717
"/* Write dQ_acc to 200% of Capacity and dP_acc to 200% */"
This probably isn't related, but given it drops at 50%, I already had the thought that maybe the capacity is written as double the amount (but since we can discharge it to low% if there isn't a load, can't really
confirm it, but given horizon shuts off, it could just think there is no gas left)
So that actually looks suspicous, given I already had the idea of it