Have you tried to sniff the i2c traffic while the FM radio is ON?
some searches on device i2C address on the net:
5A - Possible candidate is MLX90614 IR sensor, but looking to pcb don't see this. Maybe MPR121.
C0 - PCA9532(I2C LED Dimmer)? or CMPS03 - Compass Module
B0 - 133MHz-16.2kHz programmable oscillator (DS1077), TDA9875 tv chip
I figured it out. C0 is a OV6680 camera chip (The front facing camera) 5A and B0 I think are just noise on the bus.
I am going to try to do all the writes to the OV6680 chip and see if the current draw drops. I may get lucky
Does the boot.img file with auto brightness also include the LCD panel power kernel?Just to make sure I do things in the correct order:
1) fastboot latest recovery then fastboot boot_LC_power_off.img
2) from recovery format data/system/cache then install cm-7-20130106....zip then gapps-gb-20110828...zip (without rebooting inbetween?)
3) reboot
Is there a way to load boot.img from recovery?
Does the boot.img file with auto brightness also include the LCD panel power kernel?
Can I just put a boot.IMG inside a zip file and flash it from recovery like on other phones? Could you start packaging the kernals that way and renaming them some custom zip name with the date (just to keep things consistent)?
sudo fastboot flash boot.img boot
sudo fastboot reboot
Every update.zip can flash boot.img alongside of system and data partition! we may delete system folder and also delete the ralative scripts on the updater-script to make a flashable boot.img zipped package!
I make it and it works!
You mean flash the new .zip release? Can't I just use my current ROM, rename the .img file to boot.img, place it in the fastboot folder, and flash the new kernel?You have to flash the .zip file first. Then you use fastboot to flash the boot.img file.
There is a boot.img file inside the .zip-file so it will overwrite whatever kernel you have install previously.
The auto-brightness fix is also in the LCD power .img file. (the difference between the two is the addition of "//" on one line in board-htkovsky-panel.c)
I guess I will release a new cm-7.zip ota package with the new kernel when I have tested it some more.
I think I finally have gotten somewhere with the battery drain. Alex had written some code to turn of power to the LCD-panel, but he had put a "return;" in front of it. I removed it and Voilá: Lower battery drain
You do get some artifacts on the screen when going out of suspend. I think this is just an annoyance, but I have just tested it since last night.
I just uploaded a boot.img file.
That's more what I'm thinking. What files did you leave intact inside the zip?
The percentage is calculated from Volt readings and not storage capacity (mAh)