[Xperia Z1 Compact Android Development] munjeni:
Also found that kernel deep sleep is not working right:

g console(s) (use no_console_suspend to debug)
<6>[13952.490640] PM: suspend of devices complete after 34.549 msecs
<6>[13952.496488] PM: late suspend of devices complete after 5.795 msecs
<6>[13952.504614] PM: noirq suspend of devices complete after 8.075 msecs
<6>[13952.505422] Disabling non-boot CPUs ...
<6>[13952.516585] CPU0: msm_cpu_pm_enter_sleep mode:3
<6>[13952.518027] Enabling non-boot CPUs ...
<6>[13952.524421] CPU3 is up
<6>[13952.530405] PM: noirq resume of devices complete after 5.727 msecs
<6>[13952.537420] PM: early resume of devices complete after 3.690 msecs
<6>[13952.549767] hdmi_tx_hpd_on: HDMI HW version = 0x30000001
<6>[13952.604749] PM: resume of devices complete after 67.280 msecs
<6>[13952.612502] Restarting tasks ... done.
<6>[13952.619025] PM: suspend exit 2017-08-22 05:29:42.010560744 UTC
<6>[13953.229607] PM: suspend entry 2017-08-22 05:29:42.621137254 UTC
<6>[13953.229652] PM: Syncing filesystems ... done.
<6>[13953.260567] Freezing user space processes ... (elapsed 0.004 seconds) done.
<6>[13953.265016] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done.
<6>[13953.268613] Suspending console(s) (use no_console_suspend to debug)
<6>[13953.316900] PM: suspend of devices complete after 41.858 msecs
<6>[13953.320965] PM: late suspend of devices complete after 4.030 msecs
<6>[13953.326621] PM: noirq suspend of devices complete after 5.624 msecs
<6>[13953.327084] Disabling non-boot CPUs ...
<4>[13953.337893] IRQ40 no longer affine to CPU3
<6>[13953.342954] CPU0: msm_cpu_pm_enter_sleep mode:3
<6>[13953.343862] Enabling non-boot CPUs ...
<6>[13953.348377] CPU2 is up
<6>[13953.354126] CPU3 is up
<6>[13953.358554] PM: noirq resume of devices complete after 4.376 msecs
<6>[13953.363877] PM: early resume of devices complete after 3.022 msecs
<6>[13953.369280] hdmi_tx_hpd_on: HDMI HW version = 0x30000001
<6>[13953.430409] PM: resume of devices complete after 66.486 msecs
<6>[13953.439110] Restarting tasks ... done.
<6>[13953.446483] PM: suspend exit 2017-08-22 05:29:57.292553237 UTC
<6>[13953.547075] PM: suspend entry 2017-08-22 05:29:57.393135998 UTC
<6>[13953.547120] PM: Syncing filesystems ...
<4>[13953.547815] IRQ40 no longer affine to CPU2
<6>[13953.582713] done.
<6>[13953.583501] Freezing user space processes ... (elapsed 0.005 seconds) done.
<6>[13953.589216] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done.
<6>[13953.592967] Suspending console(s) (use no_console_suspend to debug)
<6>[13953.636084] PM: suspend of devices complete after 35.344 msecs
<6>[13953.641811] PM: late suspend of devices complete after 5.676 msecs
<6>[13953.649981] PM: noirq suspend of devices complete after 8.123 msecs
<6>[13953.650027] Disabling non-boot CPUs ...
<6>[13953.667831] CPU0: msm_cpu_pm_enter_sleep mode:3
<6>[13953.669284] Enabling non-boot CPUs ...
<6>[13953.677982] CPU3 is up
<6>[13953.682205] PM: noirq resume of devices complete after 4.172 msecs
<6>[13953.688082] PM: early resume of devices complete after 3.065 msecs
<6>[13953.696178] hdmi_tx_hpd_on: HDMI HW version = 0x30000001
<6>[13953.753595] PM: resume of devices complete after 65.468 msecs
<6>[13953.761824] Restarting tasks ... done.
<6>[13953.767912] PM: suspend exit 2017-08-22 05:30:47.008506030 UTC
<4>[13954.340295] IRQ40 no longer affine to CPU1
<6>[13959.086616] PM: suspend entry 2017-08-22 05:30:52.327200202 UTC
<6>[13959.086659] PM: Syncing filesystems ... done.
<6>[13959.123429] Freezing user space processes ... (elapsed 0.002 seconds) done.
<6>[13959.125555] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
<6>[13959.127293] Suspending console(s) (use no_console_suspend to debug)
<6>[13959.155036] PM: suspend of devices complete after 26.109 msecs
<6>[13959.156191] PM: late suspend of devices complete after 1.144 msecs
<6>[13959.157820] PM: noirq suspend of devices complete after 1.619 msecs
<6>[13959.157830] Disabling non-boot CPUs ...
<4>[13959.159226] IRQ40 no longer affine to CPU3
<4>[13959.169976] lpm_set_l2_mode: 9 callbacks suppressed
<6>[13959.169976] Configuring for L2 power collapse

suspend exit almost on every minute caused by function hdmi_tx_hpd_on, will check that too! Anyway I didn't noticed big battery drain, almost 5 percent per night, not so bad :) But for sure I will try fix that