[One (M7) Q&A, Help & Troubleshooting] scoutcow:
Since a couple of weeks I have a heavy battery drain on my HTC One when I'm logged into the unprotected wifi network at my work.

I'm using a custom rom, based on Slimrom 7.8, Android 4.4.4

A strange thing I notice in BestBatteryStats is 126MB use in 7 hours from Google Play-services and 62MB from another source:

10014 (Wifi) (Google Play-services): 126.0 MBytes 62,9%

0 (Wifi) (0): 62.0 MBytes 30,8%

What could be causing this battery drain, and how to fix this?

Internet seems to function fine, I can browse on internet, download and install apps etc.

This is the full BetterBatteryStats log:

===================

General Information

===================

BetterBatteryStats version: 1.16.0.0

Creation Date: 2014-09-17 13:31:28

Statistic Type: Charged to Current

Since 7 h 11 m 44 s

VERSION.RELEASE: 4.4.4

BRAND: htc

DEVICE: m7

MANUFACTURER: HTC

MODEL: One

OS.VERSION: 3.4.82-g9bd7e49

BOOTLOADER: 1.56.0000

HARDWARE: qcom

FINGERPRINT: htc/m7_google/m7:4.4.3/KTU84L.H4/347097:user/release-keys

ID: KTU84L.H4

TAGS: test-keys

USER: kasper

PRODUCT: slim_m7

RADIO: 4A.22.3263.14_10.38n.1157.04L

Rooted: true

============

Battery Info

============

Level lost [%]: Bat.: -87% (100% to 13%) [12,1%/h]

Voltage lost [mV]: (4222-3365) [119,2%/h]

===========

Other Usage

===========

Deep Sleep (): 2 h 11 m 54 s (7914 s) Ratio: 30,6%

Awake (): 4 h 56 m 16 s (17776 s) Ratio: 68,6%

Screen On (): 58 m 11 s (3491 s) Ratio: 13,5%

Wifi On (): 7 h 3 m 6 s (25386 s) Ratio: 98,0%

Wifi Running (): 7 h 3 m 5 s (25385 s) Ratio: 98,0%

No Data Connection (): 6 h 45 m 46 s (24346 s) Ratio: 94,0%

No or Unknown Signal (): 6 h 45 m 46 s (24346 s) Ratio: 94,0%

Good Signal (): 21 m 45 s (1305 s) Ratio: 1,6%

Screen dark (): 53 m 57 s (3237 s) Ratio: 12,5%

Screen dimmed (): 1 m 34 s (94 s) Ratio: 0,1%

Screen light (): (0 s) Ratio: 0,0%

Screen bright (): 2 m 40 s (160 s) Ratio: 0,2%

======================================================

Wakelocks (requires root / system app on Android 4.4+)

======================================================

DirectTrack (1013): 12 m 35 s (755 s) Count:42 2,9%

AudioMix (1013): 6 m 9 s (369 s) Count:515 1,4%

*sync*/com.android.email.provider/com.android.exchange/7e5acb41d8fa1424b941955defee2fca@hotmail.com (com.android.exchange.Exchange Services): 2 m 25 s (145 s) Count:25 0,6%

AudioMix (com.spacegame.forestmania.Forest Mania): 1 m 17 s (77 s) Count:357 0,3%

AlarmManager (Android-systeem): 57 s (57 s) Count:1200 0,2%

ActivityManager-Launch (Android-systeem): 52 s (52 s) Count:658 0,2%

DHCP (Android-systeem): 34 s (34 s) Count:308 0,1%

BBS_WAKELOCK_WHILE_SAVING_REF (com.asksven.betterbatterystats.BetterBatteryStats): 30 s (30 s) Count:12 0,1%

sendinactive (com.whatsapp.WhatsApp): 28 s (28 s) Count:128 0,1%

AudioMix (com.whatsapp.WhatsApp): 25 s (25 s) Count:118 0,1%

GCM_CONN_ALARM (Google Play-services): 25 s (25 s) Count:615 0,1%

DropboxCpuOnlyWakeLock (com.dropbox.android.Dropbox): 23 s (23 s) Count:4 0,1%

lock (org.telegram.messenger.Telegram): 20 s (20 s) Count:6 0,1%

RILJ (Telefoon): 16 s (16 s) Count:101 0,1%

TimedEventQueue (1013): 13 s (13 s) Count:30 0,1%

*sync*/com.android.email.provider/com.android.exchange/709cfbfea84f9a7f47add774e638fde2@amc.uva.nl (com.android.exchange.Exchange Services): 12 s (12 s) Count:37 0,0%

show keyguard (UID): 10 s (10 s) Count:28 0,0%

NetworkStats (Android-systeem): 9 s (9 s) Count:521 0,0%

StartingAlertService (com.android.calendar.Agenda): 9 s (9 s) Count:2 0,0%

Checkin Service (Google Play-services): 8 s (8 s) Count:562 0,0%

AlarmManager (org.yoki.android.buienalarm.Buienalarm): 7 s (7 s) Count:144 0,0%

GpsLocationProvider (Android-systeem): 6 s (6 s) Count:226 0,0%

GCM_CONN (Google Play-services): 5 s (5 s) Count:920 0,0%

SyncLoopWakeLock (Android-systeem): 4 s (4 s) Count:1678 0,0%

*sync*/com.android.email.provider/com.android.email/2d82a5ab500c21be81b637fb992ac4bd@rhovanionofficial.nl (com.android.email.E-mail): 4 s (4 s) Count:49 0,0%

AlarmManager (com.facebook.orca.Messenger): 4 s (4 s) Count:141 0,0%

AudioMix (UID): 3 s (3 s) Count:37 0,0%

AlarmManager (com.facebook.katana.Facebook): 3 s (3 s) Count:146 0,0%

*vibrator* (org.telegram.messenger.Telegram): 2 s (2 s) Count:3 0,0%

SyncManagerHandleSyncAlarm (Android-systeem): 2 s (2 s) Count:105 0,0%

*vibrator* (com.whatsapp.WhatsApp): 2 s (2 s) Count:5 0,0%

ConnectivityService (Android-systeem): 2 s (2 s) Count:1201 0,0%

WifiSuspend (Android-systeem): 2 s (2 s) Count:259 0,0%

*vibrator* (com.android.email.E-mail): 1 s (1 s) Count:12 0,0%

*net_scheduler* (Google Play-services): 1 s (1 s) Count:426 0,0%

SCREEN_FROZEN (Android-systeem): 1 s (1 s) Count:310 0,0%

*vibrator* (com.spacegame.forestmania.Forest Mania): 1 s (1 s) Count:4 0,0%

SnetLaunchService (Google Play-services): 1 s (1 s) Count:935 0,0%

Event Log Service (Google Play-services): 1 s (1 s) Count:733 0,0%

*sync*/com.android.contacts/com.skype.contacts.sync/scoutcow (com.skype.raider.Skype): 1 s (1 s) Count:1 0,0%

================

Kernel Wakelocks

================

"wlan_rx_wake" (): 3 h 53 m (13980 s) Cnt:(c/wc/ec)576/0/575 16,9%

"wlan_wd_wake" (): 2 h 55 m 58 s (10558 s) Cnt:(c/wc/ec)99911/0/0 12,8%

"wlan_wake" (): 11 m 4 s (664 s) Cnt:(c/wc/ec)411392/286/0 0,8%

"PowerManagerService.WakeLocks" (): 6 m 51 s (411 s) Cnt:(c/wc/ec)1678/0/0 0,5%

"msm_hsic_host" (): 2 m 52 s (172 s) Cnt:(c/wc/ec)113/11/0 0,2%

"wlan_ctrl_wake" (): 1 m 47 s (107 s) Cnt:(c/wc/ec)116/0/116 0,1%

"suspend_backoff" (): 1 m 9 s (69 s) Cnt:(c/wc/ec)7/0/7 0,1%

"pm8921_eoc" (): 1 m 8 s (68 s) Cnt:(c/wc/ec)3/0/0 0,1%

"alarm_rtc" (): 60 s (60 s) Cnt:(c/wc/ec)129/60/30 0,1%

"htc_battery_8960" (): 59 s (59 s) Cnt:(c/wc/ec)305/0/0 0,1%

"pmic_led" (): 44 s (44 s) Cnt:(c/wc/ec)175/0/175 0,1%

"alarm" (): 35 s (35 s) Cnt:(c/wc/ec)2225/0/0 0,0%

"PowerManagerService.Broadcasts" (): 21 s (21 s) Cnt:(c/wc/ec)68/0/0 0,0%

"gpio_input" (): 5 s (5 s) Cnt:(c/wc/ec)141/13/0 0,0%

"radio-interface" (): 4 s (4 s) Cnt:(c/wc/ec)49/0/0 0,0%

"msm_usb_cable" (): 2 s (2 s) Cnt:(c/wc/ec)5/0/6 0,0%

"KeyEvents" (): 1 s (1 s) Cnt:(c/wc/ec)38803/0/0 0,0%

"proximity" (): 1 s (1 s) Cnt:(c/wc/ec)7/0/7 0,0%

"PowerManagerService.Display" (): (0 s) Cnt:(c/wc/ec)34/0/0 0,0%

"efsks" (): (0 s) Cnt:(c/wc/ec)4/0/0 0,0%

"vbus_lock" (): (0 s) Cnt:(c/wc/ec)6/0/0 0,0%

"qcril" (): (0 s) Cnt:(c/wc/ec)101/0/0 0,0%

"mmc0_detect" (): (0 s) Cnt:(c/wc/ec)515/0/0 0,0%

"mmc1_detect" (): (0 s) Cnt:(c/wc/ec)515/0/0 0,0%

"qmuxd_port_wl_9" (): (0 s) Cnt:(c/wc/ec)807/0/0 0,0%

======================

Alarms (requires root)

======================

android (): Wakeups: 188 (26,2 / hr.)

Alarms: 0, Intent: android.intent.action.TIME_TICK

Alarms: 0, Intent: com.android.server.action.NETWORK_STATS_POLL

Alarms: 34, Intent: android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED

Alarms: 105, Intent: android.content.syncmanager.SYNC_ALARM

Alarms: 49, Intent: android.net.wifi.DHCP_RENEW

Alarms: 0, Intent: android.intent.action.DATE_CHANGED

Alarms: 0, Intent: com.android.server.IdleMaintenanceService.action.UPDATE_IDLE_MAINTENANCE_STATE

com.facebook.katana (): Wakeups: 173 (24,1 / hr.)

Alarms: 95, Intent: com.facebook.push.mqtt.keepalive.KeepaliveManager.ACTION_INEXACT_ALARM.com.facebook.katana

Alarms: 31, Intent: com.facebook.analytics.service.AnalyticsEventUploader.ACTION_ALARM

Alarms: 47, Intent: com.facebook.common.executors.WakingExecutorService.ACTION_ALARM.com.facebook.katana

Alarms: 0, Intent: JewelCountFetcher.INITIATE_BACKGROUND_FETCH cmp={com.facebook.katana/com.facebook.notifications.util.JewelCountFetcher$JewelCountBroadcastReceiver}

Alarms: 0, Intent: {com.facebook.katana/com.facebook.videoads.scheduler.VideoAdsFetchService}

Alarms: 0, Intent: com.facebook.orca.database.ACTION_ALARM cmp={com.facebook.katana/com.facebook.contacts.database.AddressBookPeriodicRunner$LocalBroadcastReceiver}

com.facebook.orca (): Wakeups: 158 (22,0 / hr.)

Alarms: 93, Intent: com.facebook.push.mqtt.keepalive.b.ACTION_INEXACT_ALARM.com.facebook.orca

Alarms: 30, Intent: com.facebook.analytics.service.b.ACTION_ALARM

Alarms: 35, Intent: com.facebook.common.executors.ch.ACTION_ALARM.com.facebook.orca

Alarms: 0, Intent: com.facebook.orca.database.ACTION_ALARM cmp={com.facebook.orca/com.facebook.contacts.database.AddressBookPeriodicRunner$LocalBroadcastReceiver}

com.nuance.swype.dtc (): Wakeups: 102 (14,2 / hr.)

Alarms: 102, Intent: {com.nuance.swype.dtc/com.nuance.swype.connect.ConnectClient}

com.whatsapp (): Wakeups: 95 (13,2 / hr.)

Alarms: 0, Intent: ALARM_ACTION

Alarms: 37, Intent: com.whatsapp.messaging.MessageService.CLIENT_PINGER_ACTION

Alarms: 40, Intent: ALARM_CLIENT_PING_TIMEOUT

Alarms: 10, Intent: ALARM_AVAILABLE_TIMEOUT

Alarms: 5, Intent: com.whatsapp.messaging.MessageService.LOGOUT_ACTION

Alarms: 3, Intent: com.whatsapp.MessageService.RECONNECT cmp={com.whatsapp/com.whatsapp.messaging.MessageService}

Alarms: 0, Intent: ALARM_MESSAGES_DB_BACKUP

Alarms: 0, Intent: ALARM_ROTATE_LOGS

org.yoki.android.buienalarm (): Wakeups: 86 (12,0 / hr.)

Alarms: 0, Intent: android.appwidget.action.APPWIDGET_UPDATE cmp={org.yoki.android.buienalarm/org.yoki.android.buienalarm.BuienAlarmWidget}

Alarms: 86, Intent: org.yoki.android.buienalarm.UPDATE_START

com.google.android.gms (): Wakeups: 52 (7,2 / hr.)

Alarms: 24, Intent: com.google.android.intent.action.SEND_IDLE

Alarms: 14, Intent: {com.google.android.gms/com.google.android.gms.checkin.EventLogService$Receiver}

Alarms: 11, Intent: com.google.android.intent.action.MCS_HEARTBEAT

Alarms: 0, Intent: {com.google.android.gms/com.google.android.gms.playlog.uploader.UploaderAlarmReceiver}

Alarms: 1, Intent: {com.google.android.gms/com.google.android.gms.checkin.CheckinService$Receiver}

Alarms: 0, Intent: {com.google.android.gms/com.google.android.gms.common.download.DownloadAlarmReceiver}

Alarms: 0, Intent: com.google.android.intent.action.GCM_RECONNECT

Alarms: 1, Intent: com.google.android.gms.auth.authzen.CHECK_REGISTRATION

Alarms: 1, Intent: {com.google.android.gms/com.google.android.gms.security.snet.SnetService}

Alarms: 0, Intent: com.google.android.gms.icing.INDEX_RECURRING_MAINTENANCE cmp={com.google.android.gms/com.google.android.gms.icing.service.IndexWorkerService}

net.nurik.roman.dashclock (): Wakeups: 14 (1,9 / hr.)

Alarms: 14, Intent: com.google.android.apps.dashclock.action.PERIODIC_ALARM cmp={net.nurik.roman.dashclock/com.google.android.apps.dashclock.PeriodicExtensionRefreshReceiver}

com.ing.mobile (): Wakeups: 7 (1,0 / hr.)

Alarms: 7, Intent: {com.ing.mobile/com.ing.mobile.service.INGService}

com.google.android.apps.maps (): Wakeups: 7 (1,0 / hr.)

Alarms: 7, Intent: {com.google.android.apps.maps/com.google.android.apps.gmm.prefetch.PrefetcherService}

com.spacegame.forestmania (): Wakeups: 4 (0,6 / hr.)

Alarms: 1, Intent: 6 cmp={com.spacegame.forestmania/com.zegame.erasegame.AlarmReceiver}

Alarms: 1, Intent: 7 cmp={com.spacegame.forestmania/com.zegame.erasegame.AlarmReceiver}

Alarms: 0, Intent: 2 cmp={com.spacegame.forestmania/com.zegame.erasegame.AlarmReceiver}

Alarms: 2, Intent: 4 cmp={com.spacegame.forestmania/com.zegame.erasegame.AlarmReceiver}

org.telegram.messenger (): Wakeups: 4 (0,2 / hr.)

Alarms: 4, Intent: {org.telegram.messenger/org.telegram.android.NotificationRepeat}

com.android.phone (): Wakeups: 2 (0,3 / hr.)

Alarms: 2, Intent: com.android.internal.telephony.data-stall

Alarms: 0, Intent: com.android.phone.UPDATE_CALLER_INFO_CACHE cmp={com.android.phone/com.android.phone.CallerInfoCacheUpdateReceiver}

Alarms: 0, Intent: com.android.internal.telephony.dataconnection.DataConnection.DC-2.action_retry

com.android.keyguard (): Wakeups: 2 (0,1 / hr.)

Alarms: 2, Intent: com.android.internal.policy.impl.PhoneWindowManager.DELAYED_KEYGUARD

com.agilesoftresource (): Wakeups: 1 (0,1 / hr.)

Alarms: 0, Intent: ALM cmp={com.agilesoftresource/com.avg.toolkit.recurringTasks.RecurringTaskAlarmReceiver}

Alarms: 1, Intent: CSR cmp={com.agilesoftresource/com.avg.toolkit.recurringTasks.RecurringTaskAlarmReceiver}

======================

Network (requires root)

======================

10014 (Wifi) (Google Play-services): 126.0 MBytes 62,9%

0 (Wifi) (0): 62.0 MBytes 30,8%

10123 (Wifi) (com.dropbox.android.Dropbox): 5.0 MBytes 2,8%

10163 (Wifi) (com.spacegame.forestmania.Forest Mania): 2.0 MBytes 1,1%

10073 (Wifi) (org.telegram.messenger.Telegram): 846.0 KBytes 0,4%

10117 (Wifi) (com.facebook.katana.Facebook): 834.0 KBytes 0,4%

10029 (Wifi) (com.android.exchange.Exchange Services): 723.0 KBytes 0,4%

10118 (Wifi) (com.estrongs.android.pop.ES File Explorer): 336.0 KBytes 0,2%

10157 (Wifi) (com.facebook.orca.Messenger): 289.0 KBytes 0,1%

10091 (Wifi) (nl.sanomamedia.android.nu.NU.nl): 275.0 KBytes 0,1%

10044 (Wifi) (com.android.email.E-mail): 271.0 KBytes 0,1%

10052 (Wifi) (com.teslacoilsw.launcher.Nova Launcher): 228.0 KBytes 0,1%

10066 (Wifi) (com.whatsapp.WhatsApp): 220.0 KBytes 0,1%

10133 (Wifi) (org.yoki.android.buienalarm.Buienalarm): 200.0 KBytes 0,1%

10020 (Wifi) (com.android.vending.Google Play Store): 129.0 KBytes 0,1%

10091 (Mobile) (nl.sanomamedia.android.nu.NU.nl): 98.0 KBytes 0,0%

10137 (Wifi) (com.asksven.betterbatterystats.BetterBatteryStats): 82.0 KBytes 0,0%

10074 (Wifi) (com.nuance.swype.dtc.Swype + Dragon): 43.0 KBytes 0,0%

10138 (Wifi) (com.ing.mobile.Bankieren): 39.0 KBytes 0,0%

10117 (Mobile) (com.facebook.katana.Facebook): 31.0 KBytes 0,0%

1014 (Wifi) (1014): 30.0 KBytes 0,0%

1000 (Wifi) (Android-systeem): 29.0 KBytes 0,0%

0 (Mobile) (0): 26.0 KBytes 0,0%

10029 (Mobile) (com.android.exchange.Exchange Services): 22.0 KBytes 0,0%

10128 (Wifi) (com.android.chrome.Chrome): 21.0 KBytes 0,0%

10063 (Wifi) (com.hbwares.wordfeud.full.Wordfeud): 18.0 KBytes 0,0%

10076 (Wifi) (com.skype.raider.Skype): 12.0 KBytes 0,0%

10157 (Mobile) (com.facebook.orca.Messenger): 11.0 KBytes 0,0%

10098 (Wifi) (com.google.android.apps.maps.Maps): 9.0 KBytes 0,0%

10061 (Wifi) (cn.wps.moffice_eng.WPS Office (Kingsoft Office)): 7.0 KBytes 0,0%

10098 (Mobile) (com.google.android.apps.maps.Maps): 7.0 KBytes 0,0%

10073 (Mobile) (org.telegram.messenger.Telegram): 3.0 KBytes 0,0%

10014 (Mobile) (Google Play-services): 2.0 KBytes 0,0%

10133 (Mobile) (org.yoki.android.buienalarm.Buienalarm): 1.0 KBytes 0,0%

10076 (Mobile) (com.skype.raider.Skype): 1.0 KBytes 0,0%

1000 (Mobile) (Android-systeem): 1.0 KBytes 0,0%

10074 (Mobile) (com.nuance.swype.dtc.Swype + Dragon): 1.0 KBytes 0,0%

10146 (Wifi) (com.agilesoftresource.AndroZip File Manager): 1.0 KBytes 0,0%

10043 (Wifi) (com.slim.ota.SlimCenter): 52.0 Bytes 0,0%

==========

CPU States

==========

1,73 GHz (): 2 h 34 m 32 s 35,8%

1,67 GHz (): 23 s 0,1%

1,57 GHz (): 8 m 42 s 2,0%

1,46 GHz (): 2 m 3 s 0,5%

1,35 GHz (): 2 m 3 s 0,5%

1,24 GHz (): 2 m 19 s 0,5%

1,13 GHz (): 2 m 36 s 0,6%

1,03 GHz (): 1 h 12 m 33 s 16,8%

918 MHz (): 2 m 29 s 0,6%

810 MHz (): 2 m 17 s 0,5%

702 MHz (): 2 m 29 s 0,6%

594 MHz (): 2 m 39 s 0,6%

486 MHz (): 2 m 44 s 0,6%

384 MHz (): 41 m 54 s 9,7%

Deep Sleep (): 2 h 11 m 54 s 30,6%

==================

Reference overview

==================

ref_boot: Reference ref_boot created 1 m 13 s (Wl: 0 elements; KWl: 0elements; NetS: 0 elements; Alrm: 0 elements; Proc: 0 elements; Oth: 0 elements; CPU: 11 elements)

ref_charged: Reference ref_charged created 15 h 48 m 3 s (Wl: 1 elements; KWl: 35elements; NetS: 48 elements; Alrm: 21 elements; Proc: 0 elements; Oth: 8 elements; CPU: 15 elements)

ref_unplugged: Reference ref_unplugged created 22 h 58 m 14 s (Wl: 40 elements; KWl: 35elements; NetS: 51 elements; Alrm: 23 elements; Proc: 158 elements; Oth: 12 elements; CPU: 15 elements)

ref_current: Reference ref_current created 22 h 59 m 48 s (Wl: 40 elements; KWl: 35elements; NetS: 52 elements; Alrm: 23 elements; Proc: 159 elements; Oth: 12 elements; CPU: 15 elements)