My battery meter always shows 100% or 80% and obviously isn't working correctly. I updated to 1.2 with the full image and started with the default configuration.1) Has anyone ever seen all values on his device
(10/30/45/65/80/100% with CFW 1.2)? 2) Regarding battery calibration
GMenu2x automatically updates minBattery/maxBattery values, that are used to calculate the current battery status (200/4500 on my device). Does someone have different values in gmenu2x.config?3) A bit more technical
to the rescue!, code I'm referring to
3.1) Isn't getBatteryStatus() reading the current voltage from "/proc/jz/battery"? Both of my min/max values don't seem to be realistic voltage values (200mV!?): Shouldn't this 3.7V battery be more like 3000mV min and 4200mV max?
3.2) Is the battery level calculation in line 2206 correct (levels should go from 0 to 5)?
quick test: min=3000, max=4500 and val=3100
level = val / ((max - min) / 5); // => 10 (current code)
level = (val - min) / ((max - min) / 5); // => 0 (expected result)