[HTC 10 Guides, News, & Discussion] Haldi4803:
Standby drain in Flight mode:

Normally you'd think if your phone is in Flight mode there is no reason to drain battery right? Well not with this phone apparently... Lost 4% in 13h (0.3%/h) for no apparent reason.

I'm gonna retry this tonight in SafeMode (Volume Up+Powerbutton while Booting which disables ALL nonpreinstalled apps) But i cannot find any cuplrit in this current Log, check for yourselves:

ROM: 3.16.709.3 Rooted, few apps installed, Flightmode with Blueooth and WiFi off, and DON'T ask me why the "mobile signal strength" is shown as moderat all the time -.-

Duration: 13h14m28.948s
[B][U]Aggregated Checkin Stats:[/U][/B]
[B]Metric | Value [/B]
Screen Off Discharge Rate (%/hr) | 0.30 (Discharged: 4%)
Screen On Discharge Rate (%/hr) | 0.00 (Discharged: 0%)
Screen On Time | 1m1.798s
Screen Off Uptime | 4m1.647s
Userspace Wakelock Time | 2m37.553s
Sync Activity | 0 (0 times)
JobScheduler Activity | 7.014s (30 times)
App Wakeup Alarms | 46 times
CPU Usage | 1m40.096s user time, 2m27.647s system time
Kernel Overhead Time | 1m24.094s
Kernel Wakelocks | 1m34.535s (5714 times)
Wakeup Reasons | 20.625s (133 times)
Mobile KBs/hr | 0.00
WiFi KBs/hr | 0.00
Total WiFi Scan Activity | 0 (0 times)
Total WiFi Full Lock Activity | 0
Mobile Active Time | 0
Signal Scanning Time | 0
Full Wakelock Time | 2.435s
Interactive Time | 1m0.804s
Phone Call Time | 0
Device Idle Mode Enabled Time | 11h51m31.256s
Device Idling Time | 11h53m31.84s
Total GPS Use | 0 (0 times)
Wifi Power Usage | 0.00%/hr, 0.00% total
Wifi Transfer Time | 0
Wifi Idle Time | 0
Bluetooth Power Usage | 0.00%/hr, 0.00% total
Bluetooth Transfer Time | 0
Bluetooth Idle Time | 0
Camera Use | 0 (0 times)
Flashlight Time | 0 (0 times)
Modem Transfer Time | 0
Modem Idle Time | 0

[B][U]Userspace Wakelocks:[/U][/B]
[B]Ranking | Name | Uid | Duration / Hr | Count / Hr | Total Duration | Total Count[/B]
0 | ANDROID_SYSTEM : deviceidle_maint | 1000 | 9s643ms | 0.45 | 2m10.769s | 6
1 | ANDROID_SYSTEM : AnyMotionDetector | 1000 | 728ms | 0.08 | 10.091s | 1
2 | ANDROID_SYSTEM : NlpCollectorWakeLock | 1000 | 528ms | 0.15 | 7.033s | 2
3 | com.htc.android.mail : MailServicePowerLock_0 | 10051 | 424ms | 0.23 | 5.658s | 3
4 | GOOGLE_SERVICES : *net_scheduler* | 10023 | 187ms | 2.95 | 5.121s | 39
5 | com.whatsapp : *job*/com.whatsapp/.AlarmService | 10116 | 37ms | 0.38 | 1.36s | 5
6 | ANDROID_SYSTEM : *alarm* | 1000 | 59ms | 2.04 | 1.2s | 27
7 | com.whatsapp : backupdb | 10116 | 34ms | 0.08 | 1.015s | 1
8 | ANDROID_SYSTEM : BatteryServiceUpdateStats_3 | 1000 | 58ms | 23.64 | 861ms | 313
9 | com.google.android.apps.maps : *job*/com.google.android.apps.maps/com.google.android.apps.gmm.offline.update.OfflineAutoUpdateJobService | 10098 | 20ms | 0.08 | 679ms | 1
10 | com.google.android.apps.maps : *alarm* | 10098 | 15ms | 0.15 | 613ms | 2
11 | ANDROID_SYSTEM : deviceidle_going_idle | 1000 | 41ms | 0.68 | 581ms | 9
12 | GOOGLE_CALENDAR : *net_scheduler* | 10085 | 12ms | 0.08 | 501ms | 1
13 | SYSTEM_UI : show keyguard | 10020 | 22ms | 0.15 | 334ms | 2
14 | ANDROID_SYSTEM : NetworkStats | 1000 | 10ms | 1.96 | 310ms | 26
15 | com.htc.android.mail : *alarm* | 10051 | 19ms | 0.23 | 272ms | 3
16 | GOOGLE_SERVICES : CMWakeLock | 10023 | 5ms | 1.21 | 215ms | 16
17 | GOOGLE_SERVICES : GCoreFlp | 10023 | 8ms | 0.53 | 163ms | 7
18 | GOOGLE_CALENDAR : *job*/com.google.android.calendar/com.google.android.apps.calendar.config.phenotypesupport.old.PhenotypeCommitJobService | 10085 | 3ms | 0.08 | 148ms | 1
19 | GOOGLE_SERVICES : NlpWakeLock | 10023 | 8ms | 0.53 | 138ms | 7
20 | ANDROID_SYSTEM : *job*/com.htc.htcpowermanager/.jobservice.PowerCommonJobService | 1000 | 5ms | 0.15 | 117ms | 2
21 | com.whatsapp : *alarm* | 10116 | 4ms | 0.30 | 69ms | 4
22 | ANDROID_SYSTEM : *job*/com.htc.htcpowermanager/.jobservice.ExtremePowerSaverJobService | 1000 | 2ms | 0.15 | 68ms | 2
23 | RADIO : RILJ | 1001 | 3ms | 0.45 | 58ms | 6
24 | ANDROID_SYSTEM : *job*/android/com.android.server.PruneInstantAppsJobService | 1000 | 1ms | 0.08 | 50ms | 1

[B][U]JobScheduler Jobs:[/U][/B]
[B]Ranking | Name | Uid | Duration / Hr | Count / Hr | Total Duration | Total Count[/B]
0 | com.htc.launcher : com.htc.launcher/com.htc.pushnotification.RegisterPpsService | 2897 | 152ms | 0.08 | 2.018s | 1
1 | com.htc.launcher : com.htc.launcher/.htcwidget.HtcContextualWidgetService | 2897 | 109ms | 0.30 | 1.454s | 4
2 | com.whatsapp : com.whatsapp/.AlarmService | 10116 | 108ms | 0.45 | 1.441s | 6
3 | com.google.android.apps.maps : com.google.android.apps.maps/com.google.android.apps.gmm.offline.update.OfflineAutoUpdateJobService | 10098 | 88ms | 0.08 | 1.167s | 1
4 | ANDROID_SYSTEM : com.htc.htcpowermanager/.jobservice.PowerCommonJobService | 1000 | 20ms | 0.30 | 275ms | 4
5 | GOOGLE_CALENDAR : com.google.android.calendar/com.google.android.apps.calendar.config.phenotypesupport.old.PhenotypeCommitJobService | 10085 | 13ms | 0.08 | 175ms | 1
6 | ANDROID_SYSTEM : com.htc.htcpowermanager/.jobservice.ExtremePowerSaverJobService | 1000 | 11ms | 0.30 | 152ms | 4
7 | com.htc.android.mail : com.htc.android.mail/.mailservice.MailIntentService | 10051 | 9ms | 0.08 | 121ms | 1
8 | ANDROID_SYSTEM : com.htc.htcpowermanager/.jobservice.PowerUsageJobService | 1000 | 5ms | 0.23 | 78ms | 3
9 | ANDROID_SYSTEM : android/com.android.server.PruneInstantAppsJobService | 1000 | 5ms | 0.08 | 69ms | 1
10 | ANDROID_SYSTEM : com.htc.htcpowermanager/.jobservice.BIDataJobService | 1000 | 3ms | 0.23 | 47ms | 3
11 | com.google.android.partnersetup : com.google.android.partnersetup/.InstalledAppJobService | 10029 | 1ms | 0.08 | 17ms | 1

[B][U]CPU Usage By App:[/U][/B]
[B]Ranking | Name | Uid | User Time / Hr | System Time / Hr | Battery Use / Hr | User Time | System Time | Battery Use[/B]
0 | ANDROID_SYSTEM | 1000 | 2s967ms | 3s121ms | 0.00 | 39.296s | 41.337s | 0.00%
1 | ROOT | 0 | 333ms | 5s746ms | 0.00 | 4.42s | 1m16.09s | 0.00%
2 | com.htc.launcher | 2897 | 823ms | 308ms | 0.00 | 10.91s | 4.083s | 0.00%
3 | com.asksven.betterbatterystats_xdaedition | 10157 | 578ms | 254ms | 0.00 | 7.663s | 3.367s | 0.00%
4 | SHELL | 2000 | 476ms | 351ms | 0.00 | 6.306s | 4.657s | 0.00%
5 | GOOGLE_SERVICES | 10023 | 378ms | 252ms | 0.00 | 5.013s | 3.34s | 0.00%
6 | LOGD | 1036 | 351ms | 178ms | 0.00 | 4.66s | 2.36s | 0.00%
7 | SYSTEM_UI | 10020 | 335ms | 140ms | 0.00 | 4.44s | 1.863s | 0.00%
8 | RADIO | 1001 | 227ms | 219ms | 0.00 | 3.01s | 2.903s | 0.00%
9 | com.google.android.inputmethod.latin | 10219 | 258ms | 104ms | 0.00 | 3.42s | 1.38s | 0.00%
10 | com.whatsapp | 10116 | 137ms | 72ms | 0.00 | 1.816s | 960ms | 0.00%
11 | jackpal.androidterm | 10118 | 140ms | 47ms | 0.00 | 1.863s | 633ms | 0.00%
12 | com.google.android.apps.maps | 10098 | 112ms | 47ms | 0.00 | 1.493s | 627ms | 0.00%
13 | com.htc.android.mail | 10051 | 100ms | 48ms | 0.00 | 1.33s | 640ms | 0.00%
14 | com.android.vending | 10057 | 54ms | 17ms | 0.00 | 716ms | 230ms | 0.00%
15 | com.htc.contacts | 10039 | 29ms | 19ms | 0.00 | 393ms | 253ms | 0.00%
16 | CONTACTS_PROVIDER | 10004 | 21ms | 20ms | 0.00 | 290ms | 266ms | 0.00%
17 | AUDIOSERVER | 1041 | 12ms | 25ms | 0.00 | 170ms | 340ms | 0.00%
18 | eu.chainfire.supersu | 10010 | 24ms | 11ms | 0.00 | 323ms | 153ms | 0.00%
19 | com.htc.camera2 | 10015 | 15ms | 17ms | 0.00 | 203ms | 230ms | 0.00%
20 | GOOGLE_CALENDAR | 10085 | 17ms | 10ms | 0.00 | 227ms | 140ms | 0.00%
21 | com.htc.bidhandler | 10035 | 13ms | 8ms | 0.00 | 184ms | 114ms | 0.00%
22 | MEDIA | 10016 | 16ms | 5ms | 0.00 | 213ms | 73ms | 0.00%
23 | com.synology.DSfile | 10122 | 15ms | 5ms | 0.00 | 200ms | 70ms | 0.00%
24 | com.maxmpz.audioplayer | 10220 | 11ms | 7ms | 0.00 | 150ms | 93ms | 0.00%

[B][U]Kernel Wakesources:[/U][/B]
[B]Ranking | Name | Duration / Hr | Count / Hr | Total Duration | Total Count[/B]
0 | NETLINK | 2s40ms | 133.37 | 27.025s | 1766
1 | [timerfd] | 1s915ms | 37.16 | 25.365s | 492
2 | qpnp_fg_sanity_check | 681ms | 3.55 | 9.023s | 47
3 | qpnp-power-on-2 | 379ms | 0.15 | 5.024s | 2
4 | HL | 335ms | 0.30 | 4.446s | 4
5 | ps_read_wake_lock | 315ms | 0.15 | 4.181s | 2
6 | qpnp_fg_memaccess | 240ms | 43.42 | 3.184s | 575
7 | HVDCPD_WL | 228ms | 17.52 | 3.02s | 232
8 | battery | 197ms | 8.91 | 2.613s | 118
9 | PowerManagerService.Broadcasts | 161ms | 0.23 | 2.137s | 3
10 | alarmtimer | 151ms | 0.08 | 2.002s | 1
11 | 6a00000.ssusb | 103ms | 8.53 | 1.372s | 113
12 | PowerManagerService.Display | 101ms | 0.23 | 1.338s | 3
13 | htc_battery | 81ms | 1.21 | 1.079s | 16
14 | usb | 70ms | 8.53 | 928ms | 113
15 | SensorService_wakelock | 69ms | 0.15 | 922ms | 2
16 | qpnp-smbcharger-16 | 18ms | 8.68 | 244ms | 115
17 | qpnp_fg_update_sram | 15ms | 0.60 | 203ms | 8
18 | qpnp_fg_update_temp | 6ms | 1.81 | 90ms | 24
19 | soc:gpio_keys | 6ms | 0.15 | 83ms | 2
20 | event7 | 4ms | 0.30 | 59ms | 4
21 | KeyEvents | 4ms | 1.28 | 57ms | 17
22 | event5 | 4ms | 0.60 | 55ms | 8
23 | eventpoll | 3ms | 151.42 | 51ms | 2005
24 | qcril | 1ms | 0.30 | 19ms | 4
25 | bms | 0ms | 0.15 | 11ms | 2
26 | ipc0000006f_rild | 0ms | 0.15 | 1ms | 2
27 | ipc00000070_rild | 0ms | 0.30 | 1ms | 4
28 | ipc00000082_rild | 0ms | 0.30 | 1ms | 4
29 | mpss_IPCRTR | 0ms | 1.96 | 1ms | 26

[B][U]Kernel Wakeup Reasons:[/U][/B]
[B]Ranking | Name | Duration / Hr | Count / Hr | Total Duration | Total Count | Show Count vs Time[/B]
0 | unknown | 99ms | 8.31 | 1.316s | 110 |
1 | Abort:Last active Wakeup Source: qpnp_fg_sanity_check | 395ms | 0.68 | 5.231s | 9 |
2 | Abort:Last active Wakeup Source: PowerManagerService.WakeLocks | 233ms | 0.38 | 3.092s | 5 |
3 | Abort:Last active Wakeup Source: eventpoll | 193ms | 0.30 | 2.556s | 4 |
4 | Abort:Pending Wakeup Sources: PowerManagerService.WakeLocks | 499ms | 0.15 | 6.609s | 2 |
5 | Abort:Last active Wakeup Source: qpnp_fg_update_sram | 47ms | 0.08 | 631ms | 1 |
6 | Abort:Last active Wakeup Source: qpnp_fg_update_temp | 42ms | 0.08 | 565ms | 1 |
7 | Abort:Some devices failed to suspend, or early wake event detected | 47ms | 0.08 | 625ms | 1 |

[B][U]App Wakeup Alarms:[/U][/B]
[B]Ranking | Name | Uid | Frequency (count/hr) | Count[/B]
0 | ANDROID_SYSTEM | 1000 | 1.43 | 19
1 | GOOGLE_SERVICES | 10023 | 0.91 | 12
2 | com.htc.android.mail | 10051 | 0.53 | 7
3 | com.google.android.partnersetup | 10029 | 0.23 | 3
4 | com.google.android.apps.maps | 10098 | 0.15 | 2
5 | com.whatsapp | 10116 | 0.15 | 2
6 | com.android.vending | 10057 | 0.08 | 1

[B][U]Time Spent In Each App State:[/U][/B]
[B]Name | Uid | Top / Hr | Foreground Service / Hr | Top Sleeping / Hr | Foreground / Hr | Background / Hr | Cached / Hr[/B]
com.htc.launcher | 2897 | 2s454ms | 0ms | 59m29s403ms | 15ms | 197ms | 27s926ms
com.asksven.betterbatterystats_xdaedition | 10157 | 566ms | 0ms | 0ms | 0ms | 59m59s342ms | 10ms
jackpal.androidterm | 10118 | 246ms | 2ms | 0ms | 0ms | 0ms | 929ms
RADIO | 1001 | 0ms | 59m59s999ms | 0ms | 0ms | 0ms | 0ms
NFC | 1027 | 0ms | 59m59s998ms | 0ms | 0ms | 0ms | 0ms
com.htc.htcadaptivesound | 10005 | 0ms | 59m59s998ms | 0ms | 0ms | 0ms | 0ms
SYSTEM_UI | 10020 | 0ms | 59m59s997ms | 0ms | 0ms | 0ms | 0ms
GOOGLE_SERVICES | 10023 | 0ms | 59m59s997ms | 0ms | 0ms | 0ms | 0ms
com.ceco.sbdp.pro | 10154 | 0ms | 59m59s994ms | 0ms | 0ms | 0ms | 0ms
com.android.printspooler | 10104 | 0ms | 146ms | 0ms | 0ms | 0ms | 3ms
org.simalliance.openmobileapi.service | 9987 | 0ms | 0ms | 0ms | 59m59s998ms | 0ms | 0ms
com.android.incallui | 10046 | 0ms | 0ms | 0ms | 59m59s996ms | 0ms | 0ms
com.htc.camera2 | 10015 | 0ms | 0ms | 0ms | 0ms | 59m59s997ms | 0ms
com.htc.contacts | 10039 | 0ms | 0ms | 0ms | 0ms | 59m59s996ms | 0ms
com.synology.DSfile | 10122 | 0ms | 0ms | 0ms | 0ms | 59m59s995ms | 0ms
com.google.android.inputmethod.latin | 10219 | 0ms | 0ms | 0ms | 0ms | 59m59s994ms | 0ms
com.maxmpz.audioplayer | 10220 | 0ms | 0ms | 0ms | 0ms | 59m59s994ms | 0ms
CONTACTS_PROVIDER | 10004 | 0ms | 0ms | 0ms | 0ms | 53m28s113ms | 6m31s884ms
com.htc.android.mail | 10051 | 0ms | 0ms | 0ms | 0ms | 23m57s188ms | 28m39s150ms
eu.chainfire.supersu | 10010 | 0ms | 0ms | 0ms | 0ms | 175ms | 59m59s718ms
com.google.android.apps.maps | 10098 | 0ms | 0ms | 0ms | 0ms | 138ms | 43m14s963ms
com.whatsapp | 10116 | 0ms | 0ms | 0ms | 0ms | 122ms | 59m59s873ms
com.android.vending | 10057 | 0ms | 0ms | 0ms | 0ms | 83ms | 1s847ms
GOOGLE_CALENDAR | 10085 | 0ms | 0ms | 0ms | 0ms | 38ms | 33m37s500ms
com.htc.bidhandler | 10035 | 0ms | 0ms | 0ms | 0ms | 25ms | 34m10s244ms
MEDIA | 10016 | 0ms | 0ms | 0ms | 0ms | 23ms | 1s852ms
SharedUserID(com.htc.bg.uid.shared) | 10006 | 0ms | 0ms | 0ms | 0ms | 17ms | 26m13s729ms
com.htc.power_caoffload | 10103 | 0ms | 0ms | 0ms | 0ms | 11ms | 34m10s268ms
com.htc.iceview | 2898 | 0ms | 0ms | 0ms | 0ms | 3ms | 59m59s995ms
com.google.android.partnersetup | 10029 | 0ms | 0ms | 0ms | 0ms | 1ms | 59m30s573ms
ANDROID_SYSTEM | 1000 | 0ms | 0ms | 0ms | 0ms | 0ms | 59m59s999ms

Now then.... What do we see?

Except from a few App Wakes like my Mail, Whatsapp and Google Maps (i HATE maps!) there is no other stuff than the common google play services and android system. All in all 2min40sec wakelocks isn't that bad for 13h15min.

In the Kernel wakelocks we see a few Netlink and timerfd wakes, but these are not a cause, they are a result. so nothing to do here.

Sadly there are still a ****load of unknown kernel wakeup reasons. (HTC get your **** together?)

The Alarms and In app State are only gonna be interesting when i get another run in SafeMode so i can make a 1:1 comparison.... until then, no comment.

So yeah... i'm gonna edit this post in a few days and then let's see if it's some apps lurking in the background or HTC's fault that standby sucks.

EDIT: Well ****... lost 0% Battery in 10Hours, and to make matters worse, EVEN when connected to Mobile Network i lost 0% Battery in 9h in SafeMode. So we can be certain that some annoying App is causing ALL the batterydrain in Standby.

And reached the 30k Char limit.. so new post.