I usually have both wifi and 3g enabled (is that what you meant with network providers?) and maybe that's the problem. I have a feeling that the wakelock occurs when I'm not at home so maybe the network location service is going bananas collecting info when wifi is enabled, there's a bunch of wifi networks available but I'm not connected to any of them.What network providers do you have active? just asking because I use Maps latest version (with Latitude set to manual, no places) and use network location without seing that wakelock.
Could be you have other apps that use gmapps location service...check your apps that use location and ensure the settings don't allow to find your location. Also instead of freezing, you can go into menu > settings > applications > maps and clear data. That'll keep maps quiet until you access google maps again. Good luck.
Post some screen shots of your userland wakelocks, kernel wakelocks and alarms
here are the screens.
really dont know why is my phone awake all the time. wondering is it the alarmmanager, that has a count of 2336.
Gorilla, try freezing Juice Defender.
Swyped from my Evo 4G using Tapatalk
You have an SGSII, right? Suspend and events/0 at around 3 minutes are the typical indication of what has been called (a bit misleadingly as it is more complex than that) the SGSII AOS bug. If you check the built-in battery usage do you see Android OS high up there? If so, check this thread for more info. Also, in this case you can do the following to narrow it down a bit:
- Charge full
- Unplug
- Reboot
- Leave the phone alone and go to bed
- Check kernel wakelocks in the morning (or dump BBS stats to file and post it if you can't interpret what's wrong and somebody might be able to help you)
For me, high AOS usage turned out to be caused by wifi wakeups related to my previous home wifi router (D-Link DIR-655). I now have another router and the problem is gone.
thanks for your reply. i've removed my JD haha.
anyway, thinking that maybe its more feasible that i get a widget to manually toggle my data/wifi.
anyway, my AlarmManager still clocked in the highest wakelocks. any idea how do i do the dump thing to check wat are the apps?
thanks for your reply. i've removed my JD haha.
anyway, thinking that maybe its more feasible that i get a widget to manually toggle my data/wifi.
anyway, my AlarmManager still clocked in the highest wakelocks. any idea how do i do the dump thing to check wat are the apps?
Been using BBS for a week now and got my usage down to about 2% per hour. For no apparent reason it has now gone up to about 6 - 7 % an hour. I can't see anything that's changed, could someone please have a look through the Dump and let me know if I've missed anything?
http://pastebin.com/GzRXMNDs
===========
Other Usage
===========
Bluetooth On (): 1 h 16 m 57 s (4617 s) Ratio: 69.3%
Wifi On (): 41 m 19 s (2479 s) Ratio: 37.2%
Awake (): 32 m 3 s (1923 s) Ratio: 28.9%
Screen On (): 6 m 14 s (374 s) Ratio: 5.6%
Phone On (): 1 m 42 s (102 s) Ratio: 1.5%
=========
Wakelocks
=========
*network-location* (nz.co.mobiledevelopment.bluetooth.SpeedEnabledBluetooth.Speed Enabled Bluetooth): 5 m 55 s (355 s) Count:76 5.3%
com.htc.sync.provider.weather.POWER_LOCK (Calendar): 3 m 27 s (207 s) Count:26 3.1%
NetworkLocationLocator (com.google.android.apps.maps.Maps): 1 m 58 s (118 s) Count:110 1.8%
AlarmManager (Android System): 1 m 55 s (115 s) Count:1128 1.7%
>>>>SNIP<<<<
================
Kernel Wakelocks
================
"PowerManagerService" (): 2 h 33 m 29 s (9209 s) Cntc/wc/ec)13730/0/0 10.9%
"kgsl" (): 45 m 33 s (2733 s) Cntc/wc/ec)3527/0/0 3.2%
"deleted_wake_locks" (): 41 m 24 s (2484 s) Cntc/wc/ec)165059/0/4488 2.9%
"alarm_rtc" (): 35 m 57 s (2157 s) Cntc/wc/ec)4414/0/557 2.5%
>>>>SNIP<<<<
=========
Processes
=========
suspend (0): Sys: 3 s (3 s) Us: (0 s) Starts: 0
com.google.android.apps.maps:LocationFriendService (com.google.android.apps.maps.Maps): Sys: (0 s) Us: 2 s (2 s) Starts: 18
*wakelock* (nz.co.mobiledevelopment.bluetooth.SpeedEnabledBluetooth.Speed Enabled Bluetooth): Sys: (0 s) Us: 1 s (1 s) Starts: 0
Bluetooth seems to be on most of the time and being used by some service.
"LocationFriendService" - I think that's Latitude which is a known drainer.
Lots of alarms as well so maybe check under "Actions->Alarms"
===================
General Information
===================
BetterBatteryStats version: 1.4.2.0
Creation Date: 2011-12-05 11:28:42
Statistic Type: (0) Since Charged
Since 1 d 11 h 30 m 15 s
VERSION.RELEASE: 2.3.7
BRAND: samsung
DEVICE: galaxys2
MANUFACTURER: samsung
MODEL: GT-I9100
===========
Other Usage
===========
Wifi On (): 1 d 2 h 18 m (94680 s) Ratio: 74,1%
Awake (): 5 h 9 m (18540 s) Ratio: 14,5%
Screen On (): 1 h 58 m 44 s (7124 s) Ratio: 5,6%
=========
Wakelocks
=========
3gw.ServiceLifeCheckr (net.rgruet.android.g3watchdog.3G Watchdog): 11 m 41 s (701 s) Count:141 0,5%
FacebookService (com.facebook.katana.Facebook): 2 m 27 s (147 s) Count:45 0,1%
BWL (com.levelup.beautifulwidgets.Beautiful Widgets): 2 m 16 s (136 s) Count:35 0,1%
*network-location* (Google Services): 2 m 12 s (132 s) Count:72 0,1%
*network-location* (Android-System): 2 m 8 s (128 s) Count:542 0,1%
ActivityManager-Launch (Android-System): 1 m 55 s (115 s) Count:499 0,1%
AlarmManager (Android-System): 1 m 34 s (94 s) Count:4643 0,1%
DownloadManager (Medien): 1 m 13 s (73 s) Count:3 0,1%
*vibrator* (Android-System): 35 s (35 s) Count:2125 0,0%
NetworkLocationLocator (com.google.android.apps.maps.Maps): 34 s (34 s) Count:9 0,0%
3gw.Service (net.rgruet.android.g3watchdog.3G Watchdog): 30 s (30 s) Count:143 0,0%
RILJ (Telefon): 21 s (21 s) Count:527 0,0%
*sync* (com.google.android.gm.Google Mail): 20 s (20 s) Count:7 0,0%
*network-location* (org.zwanoo.android.speedtest.Speed Test): 19 s (19 s) Count:7 0,0%
SMSDispatcher (Telefon): 17 s (17 s) Count:4 0,0%
GmailProviderProviderChangedBroadcastWakeLock (com.google.android.gm.Google Mail): 13 s (13 s) Count:14 0,0%
Event Log Service (Google Services): 12 s (12 s) Count:143 0,0%
GTALK_ASYNC_CONN (Google Services): 12 s (12 s) Count:4 0,0%
show keyguard (Android-System): 8 s (8 s) Count:31 0,0%
*sync* (Google Services): 8 s (8 s) Count:17 0,0%
*wifi* (Android-System): 5 s (5 s) Count:1629 0,0%
sleep_broadcast (Android-System): 4 s (4 s) Count:703 0,0%
keyguardWakeAndHandOff (Android-System): 4 s (4 s) Count:2174 0,0%
GTALK_CONN (Google Services): 4 s (4 s) Count:495 0,0%
fullsync (com.whatsapp.WhatsApp): 3 s (3 s) Count:5 0,0%
StartingAlertService (com.android.mms.SMS/MMS): 3 s (3 s) Count:20 0,0%
SCREEN_FROZEN (Android-System): 2 s (2 s) Count:1637 0,0%
*vibrator* (com.facebook.orca.Messenger): 2 s (2 s) Count:4 0,0%
*sync* (com.facebook.katana.Facebook): 1 s (1 s) Count:46 0,0%
backupdb (com.whatsapp.WhatsApp): 1 s (1 s) Count:3 0,0%
*vibrator* (com.android.mms.SMS/MMS): 1 s (1 s) Count:4 0,0%
SyncManagerHandleSyncAlarm (Android-System): 1 s (1 s) Count:631 0,0%
================
Kernel Wakelocks
================
"svnet" (): 1 h 30 m 6 s (5406 s) Cnt:(c/wc/ec)5296/0/5296 4,2%
"deleted_wake_locks" (): 58 m 30 s (3510 s) Cnt:(c/wc/ec)56945/0/3647 2,7%
"sec-battery-monitor" (): 58 m 20 s (3500 s) Cnt:(c/wc/ec)5015/668/0 2,7%
"wlan_wake" (): 22 m 37 s (1357 s) Cnt:(c/wc/ec)25006/1743/0 1,1%
"PowerManagerService" (): 22 m 5 s (1325 s) Cnt:(c/wc/ec)6816/0/0 1,0%
"vbus_present" (): 20 m 51 s (1251 s) Cnt:(c/wc/ec)2/0/2 1,0%
"wlan_rx_wake" (): 19 m 53 s (1193 s) Cnt:(c/wc/ec)2959/0/2958 0,9%
"svnet-dormancy" (): 13 m 2 s (782 s) Cnt:(c/wc/ec)140/0/140 0,6%
"alarm" (): 10 m 50 s (650 s) Cnt:(c/wc/ec)2676/0/0 0,5%
"alarm_rtc" (): 5 m 28 s (328 s) Cnt:(c/wc/ec)601/0/159 0,3%
"radio-interface" (): 3 m 3 s (183 s) Cnt:(c/wc/ec)281/0/0 0,1%
"AudioOutLock" (): 35 s (35 s) Cnt:(c/wc/ec)12/0/0 0,0%
"event1-3362" (): 23 s (23 s) Cnt:(c/wc/ec)198/30/0 0,0%
"power-supply" (): 10 s (10 s) Cnt:(c/wc/ec)5016/0/0 0,0%
"sync_system" (): 8 s (8 s) Cnt:(c/wc/ec)39/0/0 0,0%
"vib_present" (): 3 s (3 s) Cnt:(c/wc/ec)1260/0/0 0,0%
"mmc_delayed_work" (): (0 s) Cnt:(c/wc/ec)4888/0/3 0,0%
"KeyEvents" (): (0 s) Cnt:(c/wc/ec)23874/0/0 0,0%
=========
Processes
=========
com.antutu.ABenchMark (com.antutu.ABenchMark.AnTuTu Benchmark): Sys: 4 s (4 s) Us: 1 m 31 s (91 s) Starts: 1
tvout resume wo (0): Sys: 55 s (55 s) Us: (0 s) Starts: 0
suspend (0): Sys: 46 s (46 s) Us: (0 s) Starts: 0
com.facebook.katana (com.facebook.katana.Facebook): Sys: 1 s (1 s) Us: 11 s (11 s) Starts: 4
events/0 (0): Sys: 12 s (12 s) Us: (0 s) Starts: 0
com.vectorunit.blue (com.vectorunit.blue.Riptide GP): Sys: (0 s) Us: 9 s (9 s) Starts: 1
com.android.vending (com.android.vending.Market): Sys: 1 s (1 s) Us: 7 s (7 s) Starts: 6
com.opera.browser (com.opera.browser.Opera Mobile): Sys: (0 s) Us: 6 s (6 s) Starts: 5
com.quoord.tapatalkpro.activity (com.quoord.tapatalkpro.activity.Tapatalk): Sys: (0 s) Us: 5 s (5 s) Starts: 4
mmcqd (0): Sys: 6 s (6 s) Us: (0 s) Starts: 0
netd (0): Sys: (0 s) Us: 5 s (5 s) Starts: 0
com.android.settings (Android-System): Sys: (0 s) Us: 3 s (3 s) Starts: 7
*wakelock* (net.rgruet.android.g3watchdog.3G Watchdog): Sys: 2 s (2 s) Us: 1 s (1 s) Starts: 0
de.androidpit.appcenter (de.androidpit.appcenter.App Center): Sys: (0 s) Us: 3 s (3 s) Starts: 8
org.zwanoo.android.speedtest (org.zwanoo.android.speedtest.Speed Test): Sys: (0 s) Us: 2 s (2 s) Starts: 1
com.facebook.orca (com.facebook.orca.Messenger): Sys: (0 s) Us: 2 s (2 s) Starts: 4
de.spiegel.android.app.spon (de.spiegel.android.app.spon.SPIEGEL ONLINE): Sys: (0 s) Us: 2 s (2 s) Starts: 2
kconservative/0 (0): Sys: 2 s (2 s) Us: (0 s) Starts: 0
dhd_dpc (0): Sys: 2 s (2 s) Us: (0 s) Starts: 0
cm3663_light_wq (0): Sys: 2 s (2 s) Us: (0 s) Starts: 0
irq/328-mxt224_ (0): Sys: 1 s (1 s) Us: (0 s) Starts: 0
org.openintents.cmfilemanager (org.openintents.cmfilemanager.OI Dateimanager): Sys: (0 s) Us: 1 s (1 s) Starts: 2
/init (0): Sys: 1 s (1 s) Us: (0 s) Starts: 0
mali-pmm-wq (0): Sys: 1 s (1 s) Us: (0 s) Starts: 0
com.bvalosek.cpuspy (com.bvalosek.cpuspy.CPU Spy): Sys: (0 s) Us: 1 s (1 s) Starts: 4
com.levelup.beautifulwidgets (com.levelup.beautifulwidgets.Beautiful Widgets): Sys: (0 s) Us: (0 s) Starts: 4
com.cooliris.media (com.cooliris.media.Galerie): Sys: (0 s) Us: (0 s) Starts: 2
com.google.android.apps.maps:NetworkLocationService (com.google.android.apps.maps.Maps): Sys: (0 s) Us: (0 s) Starts: 9
com.whatsapp (com.whatsapp.WhatsApp): Sys: (0 s) Us: (0 s) Starts: 9
========
Services
========
Active since: The time when the service was first made active, either by someone starting or binding to it.
Last activity: The time when there was last activity in the service (either explicit requests to start it or clients binding to it)
See http://developer.android.com/reference/android/app/ActivityManager.RunningServiceInfo.html
com.swype.android.inputmethod (com.swype.android.inputmethod.SwypeInputMethod)
Active since: 17 s
Last activity: 17 s
Crash count:0
com.bel.android.dspmanager (com.bel.android.dspmanager.HeadsetService)
Active since: 23 s
Last activity: 23 s
Crash count:0
com.facebook.orca (com.facebook.orca.server.OrcaService)
Active since: 12 h 42 m 23 s
Last activity: 5 h 26 m 50 s
Crash count:0
com.android.phone (com.android.stk.StkAppService)
Active since: 23 s
Last activity: 34 s
Crash count:0
com.google.process.gapps (com.google.android.location.NetworkLocationService)
Active since: 18 s
Last activity: 18 s
Crash count:0
system (com.google.android.backup.BackupTransportService)
Active since: 15 s
Last activity: 15 s
Crash count:0
system (com.android.internal.service.wallpaper.ImageWallpaper)
Active since: 17 s
Last activity: 17 s
Crash count:0
com.google.android.apps.maps:NetworkLocationService (com.google.android.location.internal.server.NetworkLocationService)
Active since: 26 s
Last activity: 5 h 25 m 44 s
Crash count:0
com.android.systemui (com.android.systemui.statusbar.StatusBarService)
Active since: 15 s
Last activity: 15 s
Crash count:0
de.spiegel.android.app.spon (de.spiegel.android.lib.spon.widget.WidgetService)
Active since: 33 s
Last activity: 5 h 28 m 30 s
Crash count:0
net.rgruet.android.g3watchdog (net.rgruet.android.g3watchdog.net.NetMonitorService)
Active since: 26 s
Last activity: 5 h 25 m 49 s
Crash count:0
com.android.phone (com.android.phone.BluetoothHeadsetService)
Active since: 14 s
Last activity: 19 s
Crash count:0
de.androidpit.appcenter (de.androidpit.app.services.InstallationService)
Active since: 1 d 11 h 45 m 3 s
Last activity: 5 h 25 m 46 s
Crash count:0
com.facebook.orca (com.facebook.orca.push.mqtt.MqttPushService)
Active since: 12 h 42 m 23 s
Last activity: 5 h 28 m 22 s
Crash count:0
com.swype.android.inputmethod:SwypeConnect (com.swype.android.connect.ConnectClient)
Active since: 19 s
Last activity: 5 h 21 m 22 s
Crash count:0
com.google.process.gapps (com.google.android.gsf.gtalkservice.service.GTalkService)
Active since: 19 s
Last activity: 5 h 31 m 10 s
Crash count:0
com.whatsapp (com.whatsapp.messaging.MessageService)
Active since: 28 s
Last activity: 5 h 9 m 6 s
Crash count:0
com.facebook.katana (com.facebook.katana.service.UploadManager)
Active since: 21 s
Last activity: 5 h 25 m 48 s
Crash count:0
BBS is not intended to analyse in-use drain. That said, your wifi accounted for 75% of the drain which in my opinion is too high. The other alarms look normal for in-use (though I am not an expert on in-use stats).Hi guys. I bought a Nothing Phone (2a) and I'm having issues with Google Play Services - at least according to Battery Usage. The battery drain only happens when I'm actively using the phone, it doesn’t happen if it’s on idle. I already disabled "App install optimization" on Google Play Store and every setting I could think of - like Wi-Fi Scanning. I even did a hard reset.
Now, I'm aware that BBS doesn't fully work in Android 14, but I wanted to give it a shot at least. Alarms is the only section working and it shows a lot of wakeups from android itself, dunno if that's a normal amount or not. I have attached the log and some screenshots. Sorry for the incomplete log, but I would be grateful if anybody has any idea of what is going on. Worst-case scenario I will simply return the phone and order a new one, but I would like to keep trying before resorting to that.
*edit: I think screen time is bugged on this phone, since Digital Wellbeing shows more hours of screen time - 5h 12min.
The adb commands are in the same page as in the screenshot. If they don't work, BBS won't work. There is no workaround for these commands AFAIK.I've read about Samsung problems but anyway, please tell me how to grant permissions (if possible):
I am on S4 i9506 ks01lte on LOS 20 (unofficial). I did:
But I get errors (screenshot).Code:adb -d shell pm grant com.asksven.betterbatterystats_xdaedition android.permission.BATTERY_STATS adb -d shell pm grant com.asksven.betterbatterystats android.permission.DUMP adb -d shell pm grant com.asksven.betterbatterystats android.permission.PACKAGE_USAGE_STATS adb -d shell settings put global hidden api policy 1 Argument expected to be 'default' adb -d shell settings put global hidden api policy default
I rebooted but it didn't help.
I installed from F-droid.
Why this app requires permission to make phone calls and manage them? It seems that it has nothing to do with battery.
I feel very sad when I hear this. But anyway, thank you very much for your fast support. All the bestCheck THIS post by the dev. Still remains unresolved. Unless the dev is able to come up with something, you are stuck.
The dump file you attached is not strictly according to requirements. You seem to have used it for 2+ minutes after unlocking but before you saved the file. Please produce another one where the 'screen on' time is in seconds ie save the file as soon as you unlock.Dears,
I hope someone can help me by reading the attached dump file.
Since some days I have a impressive battery drain. This happened from one day to another after having:
- Updated 80 apps
- Free up space in the internal drive
- Updated time zones of the Samsung Watch
Thanks to BBS I uninstalled few apps (Facebook Lite, Amazon Music and Investing) but still I have huge battery drain (35% overnight, during the day 40%/h).
I see many *alarms* wakelocks, but I do not know where they come from.
Thank you!
Please read the last few pages to know why BBS doesn't work with Samsung devices.Hi all.
Please kindly help me solve this problem.
I used adb to grant full permissions as instructed by the application.
But I still can't use it when the app displays "Private APIs not grandted" like picture.
I'm using S22 ultra, Android 13, One UI 5.1
Many thanks
You you mind writing all that together (location settings, autostart settings) in one post. I'd like to add that to the FAQ