This should be added to post #1 for better reachability.hello,
I have searched for a solution for the "transaction failed on small parcel" error on android 11.
I found something here:
Starting with Android Pie, access to certain hidden classes, methods and fields was restricted. Before Pie, it was pretty easy to use these hidden non-SDK components by simply using reflection. N...stackoverflow.com
bbs seems to work correctly if I use this command:
adb shell settings put global hidden_api_policy 1
Are you using the correct package name of BBS for the adb commands? They differ between the one in Play Store and the one on XDA.can some1 tell me that to do that bbs can read the alarms?
i´ve already tried all adb commands but when i start the app the first line is still red (APPOPS_USAGE_STATS)
The idle dump looks fine with just 0.4%/h drain.Hi guys, could you please help me with my battery life?
I own an OnePlus 8 running the lastest stable OOS (22.214.171.124), with root (Renovate Ice Magisk Module + xXx No Limits Magisk Module) and Radioactive Kernel. I see other users getting 7+h SoT, while I can't go beyond 4h without heavy usage (I play no games, I use only my phone with apps like WhatsApp, Instagram, Facebook, Reddit and YouTube) and I can't understand why. My problems started from my previous phone (Xiaomi Mi 9T Pro), on which I got barely 2:30h of SoT, so I don't think that the problem is strictly related to my OP8 (it only has 1 month of life).
I keep the battery of my phone between 20 and 80%, I set most of apps on "Optimized" in battery settings (in order to stop them running in background), and I disabled their autostart conditions with SD Maid. Even with all these precautions, I get a terrible SoT. I really don't know how to improve the situation. I tried really everything. Could you please help me?
I followed the first post guide in order to post a dumpfile from BBS. I got two dumpfiles with screenshots.
One other strange fact is that usually I turn WiFi off while I sleep, and I lose about 5% battery overnight. This time, while I followed this guide, I left WiFi on and I lost only 3%... Why?
- I used my phone as usual and let discharge the battery from 80% to 22%. I got about 3h of SoT. The screenshots and the dumpfile are set from Unplugged to Current.
- I followed the first post guide (charged the phone to 100%, used it until 95%, left unused for 8h). The dumpfile is from Screen off to Screen on and there are screenshots like the dumpfile and also from Unplugged to Current.
Thanks in advance for your help!
Thanks for your answer! These are the only mods that I use. I'm sure I attached the correct one, because it's the only dump I made (apart the one from 95 to 92%)The idle dump looks fine with just 0.4%/h drain.
But your usage dump seems to start from 65% battery instead of 80% or higher: Level lost [%]: Bat.: -43%(65% to 22%) [2,2%/h]
Do you have attached the correct one?
Do you have any mods that you still using since your prior phone, especially the magisk modules?
(Failing to do that will lead to errors telling you that the battery info service can not be contacted. This is another step by Google to further restrict access to private APIs with SDK29: I stay of the opinion that the only reason is that they don't want to expose how bad their own code is in regards to battery usage).adb shell settings put global hidden_api_policy 1
This is somewhat problematic and I'd really would like to have a conversation with whomever uploads the BBS binaries to F-Droid.Please check on f-droid,it works on my pixel A11
After BBS' disappearing from Google PS I decided today to have a look for it on F-droid, and I didn't want to trust my eyes; actually already since 2021-05-15.Is there a reason I can't find BetterBatteryStats on the Google Play Store anymore? I tried to reinstall it, but it seems to be gone
I had the exact same issue. And that even before having the may patch installed, so it is quite surely connected to the app itself.Samsung Galaxy S20 Ultra Snapdragon variant running One UI V3.1.
BBS version 2.6-378
For the life of me I can't figure out why I started getting "no stats have been collected".
I've checked every battery optimisation setting, including "never sleeping" - And from everything I've checked there's no restrictions on BBS anywhere.
I'm not sure if this started with the May Security Patch?
You you mind writing all that together (location settings, autostart settings) in one post. I'd like to add that to the FAQ