[Android Q&A, Help & Troubleshooting] Esja:
Hi.

I rooted my HOX+ yesterday, and since then it's been draining the battery like a beast. I expected some "system related" task to cause the battery draining, and when I checked the stock battery usage, it tells me "Android OS" is using 70% of the battery.

So I got BetterBatteryStats to help me out, and when I check the Deep Sleep timer after 1½ hours, it tells me deep sleep has been on for... 8 seconds. No wonder it drained 30% of my battery in such a short time. I check the Kernel Wakelock, and it tells me that "PowerManagerService" is responsible for the chunk of the wakelocks.

I check Partial Wakelock, and it tells me that a couple of tasks have been wakelocking A LOT:

31 m 48s Count: 45

EmailServiceController_PWR_LOCK

com.htc.android.mail.E-post

16 m 17 s Count: 56

*sync*_mail_Account {name=247581g8f918g814918g84186919gf78a, type=com.htc.android.mail}

com.htc.android.mail.E-post

3 m 3s Count: 308

NlpWakeLock

Google Services

2 m 38 s Count: 770

NlpCollectorWakeLock

Google Services

16 s Cout: 645

RILJ

13 s Count: 861

SyncLoopWakeLock

Android System

11 s Count: 590

AlarmManager

Android System

9 s Count: 676

NetworkLocationLocator

Google services

8 s Count 593

ConnectivityService

Android System

7 s Count: 966

WakefulIntentService[GCoreUlrLoocationReceiverService]

Google Services

6 s Count: 513

AlarmManager (again)

Google Services

...and a lot of other applications with a very small runtime, but extremely high count, in the 400-600 range.

I really don't know how to identify the individual apps/tasks causing the extreme power drain, but I've already tried to fix my e-mail stock by removing smart sync and instead having it sync "manually" once every hour. I'm guessing that the rest of the wakelocks have something to do, at least partially, with the GPS/location/Google location services running.

Anyone got any suggestions on what I can do? If it's of any help, my phone feels pretty damn warm like... all the time.

Here's the entire log:

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

General Information

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

BetterBatteryStats version: 1.13.4.0

Creation Date: 2013-08-10 00:42:29

Statistic Type: Unplugged to Current

Since 1 h 48 m 55 s

VERSION.RELEASE: 4.1.1

BRAND: htc_europe

DEVICE: enrc2b

MANUFACTURER: HTC

MODEL: HTC One X+

OS.VERSION: 3.1.10-gf362097

BOOTLOADER: 1.35.0000

HARDWARE: enrc2b

FINGERPRINT: htc_europe/enrc2b/enrc2b:4.1.1/JRO03C/135278.1:user/release-keys

ID: JRO03C

TAGS: release-keys

USER: unknown

PRODUCT: enrc2b

RADIO: 3.1204.168.32

Rooted: true

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

Battery Info

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

Level lost [%]: Bat.: -54% (100% to 46%) [29,8%/h]

Voltage lost [mV]: (4276-3593) [377,3%/h]

===========

Other Usage

===========

Deep Sleep (): 19 m 31 s (1171 s) Ratio: 17,9%

Awake (): 1 h 29 m 23 s (5363 s) Ratio: 82,1%

Screen On (): 46 m 19 s (2779 s) Ratio: 42,5%

Wifi On (): 1 h 48 m 55 s (6535 s) Ratio: 100,0%

Wifi Running (): 1 h 48 m 55 s (6535 s) Ratio: 100,0%

No Data Connection (): 1 h 48 m 55 s (6535 s) Ratio: 100,0%

No or Unknown Signal (): 1 h 48 m 55 s (6535 s) Ratio: 100,0%

Screen dark (): 1 m 1 s (61 s) Ratio: 0,2%

Screen dimmed (): 45 m 17 s (2717 s) Ratio: 41,6%

=========

Wakelocks

=========

EmailServiceController_PWR_LOCK (com.htc.android.mail.E-post): 31 m 48 s (1908 s) Count:45 29,2%

*sync*_mail_Account {name=2479f13a0d08967363073de64ec6178a, type=com.htc.android.mail} (com.htc.android.mail.E-post): 16 m 17 s (977 s) Count:56 14,9%

NlpWakeLock (Google-tjänster): 3 m 48 s (228 s) Count:345 3,5%

NlpCollectorWakeLock (Google-tjänster): 2 m 46 s (166 s) Count:850 2,5%

BBS_WAKELOCK_WHILE_SAVING_REF (com.asksven.betterbatterystats.BetterBatteryStats): 38 s (38 s) Count:10 0,6%

ActivityManager-Launch (Android-system): 32 s (32 s) Count:117 0,5%

*sync*_com.twitter.android.provider.TwitterProvider_Account {name=62099090aeda1c63b19cfd84a69c38e2, type=com.twitter.android.auth.login} (com.twitter.android.Twitter): 25 s (25 s) Count:3 0,4%

*sync*_com.htc.sync.provider.weather_Account {name=5d49c4c35b515309fb3f940145ca3e38, type=com.htc.sync.provider.weather} (HTC Services): 20 s (20 s) Count:33 0,3%

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

RILJ (Nummersändaren): 17 s (17 s) Count:662 0,3%

SyncLoopWakeLock (Android-system): 13 s (13 s) Count:908 0,2%

AlarmManager (Android-system): 12 s (12 s) Count:636 0,2%

FacebookService (com.facebook.katana.Facebook): 12 s (12 s) Count:3 0,2%

*sync*_com.htc.htctwitter_Account {name=62099090aeda1c63b19cfd84a69c38e2, type=com.twitter.android.auth.login} (HTC Services): 11 s (11 s) Count:57 0,2%

NetworkLocationLocator (Google-tjänster): 9 s (9 s) Count:748 0,2%

WakefulIntentService[GCoreUlr-LocationReceiverService] (Google-tjänster): 9 s (9 s) Count:1070 0,1%

*sync*_com.htc.provider.notes_Account {name=2479f13a0d08967363073de64ec6178a, type=com.htc.notes.account} (Anteckningar): 8 s (8 s) Count:3 0,1%

*sync*_com.htc.htctwitter.Users_Account {name=62099090aeda1c63b19cfd84a69c38e2, type=com.twitter.android.auth.login} (HTC Services): 8 s (8 s) Count:43 0,1%

FbClientConnManager (com.facebook.katana.Facebook): 8 s (8 s) Count:12 0,1%

ConnectivityService (Android-system): 8 s (8 s) Count:639 0,1%

*sync*_com.google.android.gms.people_Account {name=ab11ffc85044428d287c5010bf4b222b, type=com.google} (Google-tjänster): 8 s (8 s) Count:117 0,1%

*sync*_gmail-ls_Account {name=ab11ffc85044428d287c5010bf4b222b, type=com.google} (com.google.android.gm.Gmail): 8 s (8 s) Count:2 0,1%

AlarmManager (Google-tjänster): 7 s (7 s) Count:684 0,1%

SmartSyncScreenOnOffTimeReceiver (Android-system): 5 s (5 s) Count:387 0,1%

*sync*_com.htc.socialnetwork.facebook_Account {name=2479f13a0d08967363073de64ec6178a, type=com.facebook.auth.login} (HTC Services): 5 s (5 s) Count:56 0,1%

*sync*_com.android.contacts_Account {name=ab11ffc85044428d287c5010bf4b222b, type=com.google} (Google-tjänster): 4 s (4 s) Count:696 0,1%

*sync*_com.android.calendar_Account {name=ab11ffc85044428d287c5010bf4b222b, type=com.google} (com.google.android.syncadapters.calendar.Synkronisera Google Kalender): 4 s (4 s) Count:2 0,1%

Icing (Google-tjänster): 3 s (3 s) Count:742 0,1%

WakefulIntentService[GCoreUlr-LocationReportingService] (Google-tjänster): 3 s (3 s) Count:700 0,1%

sleep_broadcast (Android-system): 3 s (3 s) Count:216 0,0%

*sync*_com.google.android.apps.books_Account {name=ab11ffc85044428d287c5010bf4b222b, type=com.google} (com.google.android.apps.books.Play Böcker): 3 s (3 s) Count:1 0,0%

AudioOut_4 (1013): 2 s (2 s) Count:1 0,0%

*sync*_com.htc.picasa.DB.PicasaContentProvider_Account {name=ab11ffc85044428d287c5010bf4b222b, type=com.google} (UID): 2 s (2 s) Count:2 0,0%

IdleScreen:event_15 (com.htc.idlescreen.shortcut.Låskärm för låsskärm): 2 s (2 s) Count:65 0,0%

GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint (Google-tjänster): 2 s (2 s) Count:703 0,0%

DownloadManager (Media): 2 s (2 s) Count:2 0,0%

HtcListViewScroll_4.915 (com.htc.android.mail.E-post): 1 s (1 s) Count:45 0,0%

*overflow* (Google-tjänster): 1 s (1 s) Count:506 0,0%

*sync*_com.google.android.location.reporting_Account {name=ab11ffc85044428d287c5010bf4b222b, type=com.google} (Google-tjänster): 1 s (1 s) Count:691 0,0%

IdleScreen_base:remote_15 (com.htc.idlescreen.shortcut.Låskärm för låsskärm): 1 s (1 s) Count:9 0,0%

*sync*_com.android.chrome_Account {name=ab11ffc85044428d287c5010bf4b222b, type=com.google} (com.android.chrome.Chrome): 1 s (1 s) Count:3 0,0%

SyncManagerHandleSyncAlarm (Android-system): 1 s (1 s) Count:180 0,0%

TaskNotification_3 (com.htc.task.Uppgifter): 1 s (1 s) Count:7 0,0%

NlpLocationReceiverService (Google-tjänster): 1 s (1 s) Count:493 0,0%

Event Log Service (Google-tjänster): 1 s (1 s) Count:854 0,0%

BatteryServiceUpdateStats (Android-system): 1 s (1 s) Count:383 0,0%

MAILSERVICE_PWR_LOCK (com.htc.android.mail.E-post): 1 s (1 s) Count:32 0,0%

*sync*_com.google.android.apps.plus.content.EsGooglePhotoProvider_Account {name=ab11ffc85044428d287c5010bf4b222b, type=com.google} (com.google.android.apps.plus.Google+): 1 s (1 s) Count:1 0,0%

WakefulIntentService[GCoreUlr-ExternalChangeService] (Google-tjänster): 1 s (1 s) Count:501 0,0%

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

Kernel Wakelocks

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

"PowerManagerService" (): 39 m 43 s (2383 s) Cnt:(c/wc/ec)450/0/0 36,5%

"baseband_xmm_power" (): 5 m 6 s (306 s) Cnt:(c/wc/ec)254/0/255 4,7%

"wlan_ctrl_wake" (): 4 m 34 s (274 s) Cnt:(c/wc/ec)159/0/159 4,2%

"wlan_rx_wake" (): 4 m 34 s (274 s) Cnt:(c/wc/ec)405/0/405 4,2%

"wlan_htc" (): 1 m 7 s (67 s) Cnt:(c/wc/ec)3/0/3 1,0%

"radio-interface" (): 44 s (44 s) Cnt:(c/wc/ec)57/0/0 0,7%

"alarm_rtc" (): 42 s (42 s) Cnt:(c/wc/ec)75/21/16 0,7%

"wlan_wake" (): 24 s (24 s) Cnt:(c/wc/ec)47380/18/0 0,4%

"alarm" (): 11 s (11 s) Cnt:(c/wc/ec)552/26/0 0,2%

"main" (): 9 s (9 s) Cnt:(c/wc/ec)2/0/0 0,0%

"htc_battery_tps80032" (): (0 s) Cnt:(c/wc/ec)412/0/0 0,0%

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

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

"power-supply" (): (0 s) Cnt:(c/wc/ec)75/0/0 −0,0%

"port_list" (): (0 s) Cnt:(c/wc/ec)3824/0/0 0,0%

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

Alarms (requires root)

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

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

Network (requires root)

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

==========

CPU States

==========

340 MHz (): 0,0%

475 MHz (): 44 s 0,7%

640 MHz (): 42 m 13 s 38,8%

760 MHz (): 0,0%

1,3 GHz (): 35 m 30 s 32,6%

1,6 GHz (): 10 m 55 s 10,0%

1,7 GHz (): 0,0%

Deep Sleep (): 19 m 31 s 17,9%

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

Reference overview

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

ref_unplugged: Reference ref_unplugged created 7 h 46 m 8 s (Wl: 2 elements; KWl: 21elements; NetS: null; Alrm: null; Proc: 0 elements; Oth: 8 elements; CPU: 16 elements)

ref_charged: Reference ref_charged created 7 h 46 m 9 s (Wl: 2 elements; KWl: 21elements; NetS: null; Alrm: null; Proc: 0 elements; Oth: 8 elements; CPU: 16 elements)

ref_current: Reference ref_current created 9 h 35 m 4 s (Wl: 49 elements; KWl: 22elements; NetS: null; Alrm: null; Proc: 22 elements; Oth: 9 elements; CPU: 16 elements)