I added a kernel module to the msm flo kernel. I built android JB from source for my Nexus 7(flo). I flashed the device with the built OS.
My battery power seems to be stuck at 100% remaining. I also used the trepn profiler app for Qualcomm SOCs and it also gives incorrect measurements for % battery power remaining and instantaneous battery power.
When I flash a factory image of JB 4.3 this issue goes away. Is there a part of the source tree that is responsible for giving correct battery power measurements? If so where is it located?
I booted into recovery and the battery power stats are still incorrect