I built the AOSP downloaded from google's official site without changing any of the code, Model number is "Full AOSP on Maguro", version is 4.1.1. My device is Galaxy Nexus.
After I flashed the phone, I found that the battery draining surged. In fact, I turned on the airplane mode and turned off the screen, and I turned off all apps, the current was around 50mA, and sometimes surged up to 200mA. On the other hand, on my another Galaxy Nexus, which was running the off-the-shelf Android 4.1.2, the current was around 10mA when under the same situation.
I checked the difference between the processes running on these two phones. The rooted phone was running 3 more processes, kworker/1:1, kworker/1:2,com.android.smspush. It seemed unlikely these processes caused the difference in battery draining.
My question is what caused the difference in power consumption? Thank you!