Please see my edited post above.
Please see my edited post above.
Please use English or a translation to English while posting on XDA as per Rule 4.All settings for a full-fledged smartphone device are created according to the recommendations in the w3bsit3-dns.com theme, the w3bsit3-dns.com manual has been prepared for the dump, and I am attaching it. Wi-Fi is turned off, almost all applications are closed except for necessary ones, and the list of recent applications is cleared. Tell me what and how else to fight for a better sleep? I really need help, I can't handle it myself. As I myself understand from the dump, the main reason is that it limits Google Play, but I already understood them as soon as I could according to the instructions, WhatsApp, as I understood the synchronization of contacts, I have already disabled for it.
Все настройки для полноценного устройства смартфона созданы по рекомендациям в теме 4pda, на дамп подготовлена инструкция 4pda, и я ее прилагаю. Wi-Fi отключен, закрыты практически все приложения, кроме необходимых, и список недавних приложений очищен. Подскажите что и как еще бороться за лучший сон? Мне очень нужна помощь, я не справляюсь сам. Как я сам понимаю из дампа, основная причина в том, что это ограничивает Google Play, но я их уже понял, как только смог по инструкции, WhatsApp, как понял синхронизацию контактов, я для него уже отключил.
I will take another dump from 85%. The alarms form mi fit app (mi band) have no impact. I had the same overnight drain before i got the mi band. I can try it without mi app and i will get same 0.5-0.7% per hour. The biggest problem i have is drain during the day where i kill every app and clear cache and i get huge drain. Device is awake for like 3+hours with screen off during the day.
Killing everything and clearing cache constantly will drain battery quicker since every time you open a killed app, it has to start from scratch and also build its cache. You kill it again and clear its cache .... the cycle continues.I will take another dump from 85%. The alarms form mi fit app (mi band) have no impact. I had the same overnight drain before i got the mi band. I can try it without mi app and i will get same 0.5-0.7% per hour. The biggest problem i have is drain during the day where i kill every app and clear cache and i get huge drain. Device is awake for like 3+hours with screen off during the day.
So i should just leave them be. Delete miui security cleaner too ? I will try again but the main problem imo is the phone not going to sleep soon after i lock the screen. the day before the attached log it was awake for 3+ hr in 20hr total time. Ill try and update back here. Last resort would be a factory reset cuz this "other apps" is killin me !!Killing everything and clearing cache constantly will drain battery quicker since every time you open a killed app, it has to start from scratch and also build its cache. You kill it again and clear its cache .... the cycle continues.
hi all... apologies for asking again... would love to know if there is a workaround on this issue? really appreciate any helpthat command did not work
i entered that command before entering the permissions commands required for a non-rooted phone
i used the latest bbs version in the link in the 2nd message of this thread
see attached screenshots for the messages that i am seeing
All of the versions of BBS I tried, none of them will work with rooted Pixel 4xl on A12.
Which idle dump file? You haven't posted any.Please analyze my dump file. I have 0 deep sleep, what can this be causing?
I cant attach file
Pastebin is absolutely fine and sufficient. Quite a few people including me have occasionally issues in attaching an idle dump as txt-file. If you zip the file first, it will work, too.I cant attach file
dump - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.pastebin.com
Yes, ZIP file works.Pastebin is absolutely fine and sufficient. Quite a few people including me have occasionally issues in attaching an idle dump as txt-file. If you zip the file first, it will work, too.
Kernel wakelocks.:
Try disabling Tap-to-wake and Lift-to-wake options and check if sleep returns. For some, it seems to work. Or try a factory reset, it worked for another. Seems to be a problem with Mi phones. If not solved, try a different ROM/kernel.
- smp2p-sleepstate (*api*): 1 h 47 m 34 s Cntc/wc/ec)64767/0/0 40,4%
Please reduce the number of widgets or their frequency of updation.
I don't think that any version works with Android 12. Even with Android 11, only the earlier versions work. Please read a couple of pages back.
adb shell settings put global hidden_api_policy 1
The app works somewhat after entering the command, unfortunately the widget still does not update.I saw several posts that it doesn't work on Android 12 and also experienced the same on rooted Pixel 4a.
I opened an issue on Github and now closed it because the same problem was reported earlier (see screenshot) and the fix reported earlier works on Android 12 too (for now at least ) on the latest version (2.6-382) (kernel wake locks don't work though)
View attachment 5451861
Fix is from PC :Code:adb shell settings put global hidden_api_policy 1
More info on this command from Stack overflow https://stackoverflow.com/questions/55970137/bypass-androids-hidden-api-restrictions
YMMV, hope this helps
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.
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