[Sony Xperia XZ2 Questions & Answers] Haldi4803:
After a Full Charge and a normal Usage +over night standby connect the phone via USB cable, activate Debug Mode and ADB, then do a "ADB Bugreport"

The .zip file which will be created can be uploaded to https://bathist.ef.lc/

This will show you how much Doze, Deepsleep and whatever your phone has. Way more accurate than ANY other app.

Like this:

Duration / Realtime: 36h11m52.024s

Aggregated Checkin Stats:
Metric | Value
Screen Off Discharge Rate (%/hr) | 0.66 (Discharged: 22%)
Screen On Discharge Rate (%/hr) | 13.01 (Discharged: 36%)
Screen On Time | 2h45m59.535s
Screen Off Uptime | 1h7m16.273s
Userspace Wakelock Time | 23m44.667s
Sync Activity | 2m12.654s (89 times)
JobScheduler Activity | 7m32.307s (527 times)
App Wakeup Alarms | 661 times
CPU Usage | 2h20m29.119s user time, 1h50m49.538s system time
Kernel Overhead Time | 43m31.606s
Kernel Wakelocks | 40m48.298s (1.283107e+06 times)
Wakeup Reasons | 30m15.526s (3565 times)
Mobile KBs/hr | 13326.44
WiFi KBs/hr | 16984.52
Total WiFi Scan Activity | 2m10.686s (106 times)
Total WiFi Full Lock Activity | 30.917s
Mobile Active Time | 3h3m15.876s
Signal Scanning Time | 1m19.575s
Full Wakelock Time | 9m1.827s
Interactive Time | 2h45m5.054s
Phone Call Time | 0
Device Idle Mode Enabled Time | 17h23m13.272s
Device Idling Time | 17h25m44.636s
Total GPS Use | 10m28.636s (15 times)
Wifi Power Usage | 0.00%/hr, 0.00% total
Wifi Transfer Time | 3m55.544s
Wifi Idle Time | 10m10.627s
Bluetooth Power Usage | 0.00%/hr, 0.00% total
Bluetooth Transfer Time | 0
Bluetooth Idle Time | 0
Camera Use | 4m1.165s (19 times)
Flashlight Time | 0 (0 times)
Modem Transfer Time | 6h22m3.379s
Modem Idle Time | 1h0m15.345s

Device's Power Estimates:
Ranking | Name | Uid | Battery Percentage Consumed
0 | OVERCOUNTED | 0 | 0.08%
1 | SCREEN | 0 | 15.59%
2 | com.kiwibrowser.browser | 10235 | 12.58%
3 | IDLE | 0 | 8.92%
4 | CELL | 0 | 5.69%
5 | ROOT | 0 | 2.83%
6 | ANDROID_SYSTEM | 1000 | 1.92%
7 | WIFI | 0 | 1.83%
8 | com.whatsapp | 10191 | 1.68%
9 | GOOGLE_SERVICES | 10046 | 1.63%

Userspace Wakelocks:
Ranking | Name | Uid | Duration / Hr | Count / Hr | Total Duration | Total Count
0 | ANDROID_SYSTEM : deviceidle_maint | 1000 | 9s609ms | 1.52 | 6m42.987s | 55
1 | RADIO : RILJ_ACK_WL | 1001 | 5s417ms | 28.51 | 3m46.287s | 1032
2 | ANDROID_SYSTEM : ConnectivityService | 1000 | 5s39ms | 0.06 | 3m16.559s | 2
3 | GOOGLE_SERVICES : *net_scheduler* | 10046 | 2s907ms | 8.01 | 2m48.706s | 290
4 | ANDROID_SYSTEM : DeviceMonitorService | 1000 | 2s158ms | 18.84 | 1m31.485s | 682
5 | GOOGLE_SERVICES : NlpWakeLock | 10046 | 1s861ms | 6.16 | 1m13.868s | 223
6 | AUDIOSERVER : AudioMix | 1041 | 1s745ms | 0.69 | 1m13.328s | 25
7 | GOOGLE_SERVICES : NlpCollectorWakeLock | 10046 | 1s565ms | 0.72 | 1m10.625s | 26
8 | com.whatsapp : sendinactive | 10191 | 1s482ms | 0.50 | 56.452s | 18
9 | GOOGLE_SERVICES : GCM_CONN_ALARM | 10046 | 1s | 0.77 | 52.161s | 28

Kernel Wakesources:
Ranking | Name | Duration / Hr | Count / Hr | Total Duration | Total Count
0 | netmgr_wl | 22s153ms | 22.93 | 13m21.925s | 830
1 | NETLINK | 6s941ms | 14136.75 | 4m11.277s | 511719
2 | IPA_RM12 | 6s883ms | 31.05 | 4m9.16s | 1124
3 | IPA_WS | 6s512ms | 191.56 | 3m55.75s | 6934
4 | suspend_backoff | 5s322ms | 1.05 | 3m12.675s | 38
5 | [timerfd] | 5s42ms | 174.43 | 3m2.524s | 6314
6 | PowerManagerService.Broadcasts | 3s71ms | 5.30 | 1m51.173s | 192
7 | alarmtimer | 2s696ms | 1.33 | 1m37.599s | 48
8 | ipc00000098_1326_rild | 1s540ms | 39.84 | 55.747s | 1442
9 | qcom_rx_wakelock | 1s25ms | 14.14 | 37.131s | 512

Kernel Wakeup Reasons:
Ranking | Name | Duration / Hr | Count / Hr | Total Duration | Total Count | Show Count vs Time
0 | 103:qcom,glink-smem-native-xprt-modem | 14s457ms | 31.02 | 8m43.315s | 1123 |
1 | unknown | 5s483ms | 14.28 | 3m18.489s | 517 |
2 | Abort:Last active Wakeup Source: lpass_IPCRTR | 7s938ms | 12.82 | 4m47.368s | 464 |
3 | Abort:Last active Wakeup Source: ipc0000004c_395_kworker/5:3 | 7s353ms | 10.91 | 4m26.181s | 395 |
4 | Abort:Pending Wakeup Sources: IPA_WS | 3s421ms | 6.13 | 2m3.846s | 222 |
5 | 669:qpnp_rtc_alarm | 2s63ms | 4.86 | 1m14.691s | 176 |
6 | 109:gsi | 1s888ms | 4.39 | 1m8.343s | 159 |
7 | 109:gsi:108:ipa | 734ms | 1.66 | 26.596s | 60 |
8 | Abort:Last active Wakeup Source: charge_service | 921ms | 1.57 | 33.369s | 57 |
9 | Abort:Some devices failed to suspend, or early wake event detected | 1s326ms | 1.30 | 48.034s | 47 |

App Wakeup Alarms:
Ranking | Name | Uid | Frequency (count/hr) | Count
0 | GOOGLE_SERVICES | 10046 | 6.46 | 234
1 | ANDROID_SYSTEM | 1000 | 4.25 | 154
2 | com.whatsapp | 10191 | 3.78 | 137
3 | com.google.android.apps.maps | 10123 | 2.21 | 80
4 | com.sonymobile.xperiaweather | 10178 | 1.30 | 47
5 | GOOGLE_CALENDAR | 10102 | 0.11 | 4
6 | RADIO | 1001 | 0.06 | 2
7 | com.android.chrome|com.sonymobile.email | 10186 | 0.03 | 1
8 | com.google.android.apps.messaging | 10124 | 0.03 | 1
9 | com.sonyericsson.xhs | 10162 | 0.03 | 1

Modem only active when not in WiFi and Sleeping :)