[Galaxy S 4 Q&A, Help & Troubleshooting] sirius100:
Seems to me after much searching here and all over the internet I might be the only I9500 owner with this problem, but it's been driving me crazy and making my battery life just ridiculous. Posting in hopes someone might have seen it before.

Got the phone about a month ago, battery life was shorter than I expected from the start, but then it became so short I had to recharge mid morning if I wanted it to last until noon with moderate use. After installing BBS, I found out a massive GPS wakelock, which causes the phone to NEVER enter Deep Sleep after it first appears.

The only solutions I've found so far to stop the wakelock from happening are:

Toggle GPS off and Restart phone

Do a shut down and pull the battery

Use System Tuner Pro to kill GPSD, then kill most system apps

After doing any of those, the phone will enter deep sleep normally if the GPS is switched off. When it's switched on again, sometimes the problem will start again after minutes/hours, sometimes it won't. Something odd about it though, is that if I stay home, it won't happen (can't tell you how many times this has given me false hope the problem was fixed) but if I'm moving around commuting or staying still at any other place, it will randomly start wakelocking the device again.

So far I've done the following to try and fix it:

Flash a couple of different firmwares I got from SamMobile

Factory reset, flash again, factory reset

Flash Adam Kernel

Flash pre-rooted firmware again with a factory reset

Format everything, including /system sdcard and extSD, then flash yet another, different firmware

On the last format I just have the basic apps running, frozen the standard bloatware along with a google apps, yet the problem persists.

Could this be a hardware problem? If I use the GPS with Maps or Waze while the phone is deep sleeping normally, the phone continues to behave as it should, so it seems the GPS radio can be turned on and off without problem, at least while the screen is on.

Does anyone have any other ideas I can test? I don't want to completely disable GPS, that would defeat part of the reason of owning a smartphone, nor does it seem necesary as there are thousands of people using their phone with GPS on and no problems. I haven't used Logcat, but if someone knows what exactly I should be logging, I can search a quick tutorial and give it a go.

Posting here a short version of the BBS log and attaching the full file. For reference, this BBS log was taken from the moment I woke up and unplugged the phone (and it was deep sleeping normally) until mid morning after the problem had reappeared.

General Information

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

BetterBatteryStats version: 1.14.0.0B2

Creation Date: 2013-08-13 11:11:32

Statistic Type: Unplugged to Current

Since 4 h 46 m 4 s

VERSION.RELEASE: 4.2.2

BRAND: samsung

DEVICE: ja3g

MANUFACTURER: samsung

MODEL: GT-I9500

OS.VERSION: 3.4.5-1133023

BOOTLOADER: I9500XWUBMG5

HARDWARE: universal5410

FINGERPRINT: samsung/ja3gxx/ja3g:4.2.2/JDQ39/I9500XWUBMG5:user/release-keys

ID: JDQ39

TAGS: release-keys

USER: dpi

PRODUCT: ja3gxx

RADIO: I9500ZCUCMF3

Rooted: true

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

Battery Info

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

Level lost [%]: Bat.: -33% (100% to 67%) [6.9%/h]

Voltage lost [mV]: (4291-3915) [79.0%/h]

===========

Other Usage

===========

Deep Sleep (): 37 m 26 s (2246 s) Ratio: 13.1%

Awake (): 4 h 8 m 37 s (14917 s) Ratio: 86.9%

Screen On (): 25 m 4 s (1504 s) Ratio: 8.8%

Phone On (): 5 m 11 s (311 s) Ratio: 0.2%

Wifi On (): 4 h 46 m 4 s (17164 s) Ratio: 100.0%

Wifi Running (): 4 h 46 m 4 s (17164 s) Ratio: 100.0%

No Data Connection (): 4 h 3 s (14403 s) Ratio: 83.9%

No or Unknown Signal (): 4 h 3 s (14403 s) Ratio: 83.9%

Moderate Signal (): 5 m 47 s (347 s) Ratio: 0.2%

Good Signal (): 14 s (14 s) Ratio: 0.0%

Screen dark (): 6 m 2 s (362 s) Ratio: 2.1%

Screen dimmed (): 11 m 25 s (685 s) Ratio: 0.3%

Screen medium (): 7 m 35 s (455 s) Ratio: 0.2%

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

Kernel Wakelocks !!! wakeup_sources !!!

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

GPS (): 3 h 39 m 11 s (13151 s) Cnt:(c/wc/ec)3/0/0 6.6%

l2_hsic (): 1 h 13 m 21 s (4401 s) Cnt:(c/wc/ec)8634/4/8634 25.6%

PowerManagerService (): 38 m 38 s (2318 s) Cnt:(c/wc/ec)816/2/0 13.5%

rpm_hsic (): 11 m 24 s (684 s) Cnt:(c/wc/ec)8651/2/0 4.0%

wlan_rx_wake (): 9 m 46 s (586 s) Cnt:(c/wc/ec)636/0/637 3.4%

BT_bt_wake (): 6 m 52 s (412 s) Cnt:(c/wc/ec)60/0/60 0.2%

umts_ipc0 (): 6 m 26 s (386 s) Cnt:(c/wc/ec)928/1/928 2.3%

ssp_wake_lock (): 3 m 31 s (211 s) Cnt:(c/wc/ec)70/0/70 1.2%

BT_bt_wake (): 1 m 52 s (112 s) Cnt:(c/wc/ec)141/0/141 0.1%

wlan_wd_wake (): 1 m 44 s (104 s) Cnt:(c/wc/ec)2382/1/0 0.6%

wlan_ctrl_wake (): 1 m 22 s (82 s) Cnt:(c/wc/ec)94/0/94 0.5%

rmnet0 (): 1 m 2 s (62 s) Cnt:(c/wc/ec)66/0/66 0.4%

ssp_sensorhub_wake_lock (): 30 s (30 s) Cnt:(c/wc/ec)67/0/67 0.2%

wlan_wake (): 18 s (18 s) Cnt:(c/wc/ec)12310/1/0 0.1%

sec-battery-monitor (): 8 s (8 s) Cnt:(c/wc/ec)525/2/0 0.0%

alarm (): 7 s (7 s) Cnt:(c/wc/ec)602/2/0 0.0%

AudioOutLock (): 6 s (6 s) Cnt:(c/wc/ec)9/0/0 0.0%

alarmtimer (): 4 s (4 s) Cnt:(c/wc/ec)2/2/2 0.0%

battery (): 3 s (3 s) Cnt:(c/wc/ec)525/2/0 0.0%

event11-2940 (): 1 s (1 s) Cnt:(c/wc/ec)145/0/0 0.0%

PowerManagerService.Broadcasts (): 1 s (1 s) Cnt:(c/wc/ec)8/0/0 0.0%

KeyEvents (): (0 s) Cnt:(c/wc/ec)12150/2/0 0.0%

client-interface (): (0 s) Cnt:(c/wc/ec)8549/0/0 0.0%

vib_present (): (0 s) Cnt:(c/wc/ec)224/0/0 0.0%

event13-2940 (): (0 s) Cnt:(c/wc/ec)46/0/0 0.0%

mmc2_detect (): (0 s) Cnt:(c/wc/ec)35/2/0 0.0%

mmc0_detect (): (0 s) Cnt:(c/wc/ec)35/2/0 0.0%

autosleep (): (0 s) Cnt:(c/wc/ec)98/0/0 0.0%

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

Alarms (requires root)

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

android (): Wakeups: 69

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

Alarms: 0, Intent: com.android.server.ThrottleManager.action.POLL

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

Alarms: 24, Intent: com.android.internal.policy.impl.Keyguard.LANDSCAPE_WAKE_TIME_LIMIT_EXPIRED

Alarms: 23, Intent: com.android.server.LightsService.action.UPDATE_SVC_LED

Alarms: 9, Intent: android.appwidget.action.APPWIDGET_UPDATE

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

Alarms: 4, Intent: android.app.backup.intent.RUN

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

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

Alarms: 0, Intent: edm.intent.action.elm.cleanrecords

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

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

Alarms: 0, Intent: com.android.server.NetworkTimeUpdateService.action.POLL

com.google.android.gsf (): Wakeups: 64

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

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

Alarms: 10, Intent: {com.google.android.gsf

Alarms: 22, Intent: com.google.android.intent.action.GTALK_RECONNECT

com.google.android.googlequicksearchbox (): Wakeups: 27

Alarms: 18, Intent: com.google.android.apps.sidekick.calendar.CalendarIntentService.UPDATE_CALENDAR_ACTION

Alarms: -33, Intent: {com.google.android.googlequicksearchbox

Alarms: 8, Intent: com.google.android.apps.sidekick.REFRESH

Alarms: -84, Intent: {com.google.android.googlequicksearchbox

Alarms: -100, Intent: {com.google.android.googlequicksearchbox

Alarms: 0, Intent: send_events

com.google.android.gms (): Wakeups: 27

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

Alarms: 0, Intent: com.google.android.gms.icing.INDEX_RECURRING_MAINTENANCE

com.nuance.swype.dtc (): Wakeups: 20

Alarms: 20, Intent: {com.nuance.swype.dtc

com.whatsapp (): Wakeups: 14

Alarms: 0, Intent: ALARM_ACTION

Alarms: 10, Intent: ALARM_AVAILABLE_TIMEOUT

Alarms: 0, Intent: ALARM_ROTATE_LOGS

Alarms: 0, Intent: ALARM_MESSAGES_DB_BACKUP

Alarms: 0, Intent: ALARM_REPORT_SYNCS

Alarms: 4, Intent: com.whatsapp.MessageService.RECONNECT

com.android.providers.calendar (): Wakeups: 12

Alarms: 12, Intent: com.android.providers.calendar.intent.CalendarProvider2

com.sec.chaton (): Wakeups: 12

Alarms: 12, Intent: com.sec.chaton.push.ALARM_TIMER_ACTION

com.sec.esdk.elm (): Wakeups: 4

Alarms: 4, Intent: com.sec.esdk.elm.service.ACTIVATION_DEACTIVATION_RETRY_INTENT

Alarms: 0, Intent: com.sec.esdk.elm.alarm.SAVE_APICALLLOG

com.android.vending (): Wakeups: 2

Alarms: -1, Intent: {com.android.vending

Alarms: -5, Intent: {com.android.vending

com.sec.android.app.clockpackage (): Wakeups: 2

Alarms: 1, Intent: com.samsung.sec.android.clockpackage.alarm.ALARM_ALERT

Alarms: 1, Intent: com.samsung.sec.android.clockpackage.alarm.NOTIFY_ALARM_LOCATION

Thanks for your help