I'd argue that io operations wake the phone. There are hardware wake up gpios that can wake up the phone if there's a signal on one of those and there are wakelocks that are causing wake ups (via power regulator hardware wake up gpio). I'll agree though that every extra operation extends battery usage (including io operations). Unfortunately HDMI message is internal part of our hwcomposer lib and we can't do much about it. Library is looking for ipc service, unfortunatelly this service uses blur framework. It's not related to direct hdmi connection, you could disable hdmi gpio and you would still get this message. It has to be implemented, there's no other way to get rid of that. But if you get it constantly it means that your device is not in real deepsleep mode. In real deepsleep mode all voltage are down, especially CPU and core voltage. So either something is wrong with deepsleep mode settings or there are wakelocks that wake your phone every 2s.[Just an observation]
I don't have a radio log. But I do realize that the drops happen more as the phone runs more.
I do an immediate restart and it doesn't drop for a period of time.
When it does drop, it will start to drop more frequently.
*I'm using the rom from epinter's web.*
From what i've read from this / cm10.1 thread, some users face the same observation as me.
Oh and kernel devs, I do receive this message in logcat every 2 seconds regardless if the phone is in deep sleep etc.
D/HWC_HDMI_MOT( 194): wait_for_extdisp_service: try to connect to ExtDisp servi
ce IPC
E/HWC_HDMI_MOT( 194): connectToExtDispIpc: Client Failed, No IPC Server
I do understand that its under HDMI and hdmi mirroring isn't working very well. Might i suggest that this feature gets fully removed / deactivated. When it is working, perhaps reactivation can be done.
Why?
I am doing my final year project on battery management on android. I manually check the current usage on phones using an external device. Everytime there is an IO operation, the power will spike a little. Even though android says the phone is in deep sleep, IO operations do 'wake' the phone in a way but not too much.
This hdmi error message every 2 second actually depletes some battery.
Even if the error message is removed, I'm guessing the phone is still trying to find 'hdmi' connection which also consumes power.
Anw, devs, i totally appreciate your efforts.
Edit:
From my experience battery drain is resultant of two variables. First one is frequency of wakeups, second one is proper hardware gpio/pinmux/clock/regulators configuration. It's very easy to leave open gpio that drains battery (like sdcard detection gpio). In April/May we were dealing with camera regulator being enabled even though camera wasn't used. Modem can also drain a lot of battery if it's poorly handled. But our worst enemy is wakelock mechanism. There are tons of wakelocks, it's like apps totally ignore system sync option being turned on or off. Even google apps (hangout) sync when syncing is off. I managed to narrow it down a bit using wakelock detector combined with greenify but it's still far from optimal. On GB we had 3-4 wakelocks per hour and on ICS and above we usually have 20 per hour.
Last edited: