[BetterBatteryStats] hectormartinezub:
[NOT SOLVED] It started working after I submitted this hahah, maybe it is because I charged the mobile fully.. Then it failed after some time.

Hi! New to this, installed a few days ago, and since then I did not see any stats EXCEPT for Alarms and CPU states, so the message "No stats have been collected yet" shows on all views except Alarms and CPU states. This morning I charged the battery, rebooted and took all the debugging info possible from the app. More details:

MODEL: Poco X3 Pro

OS: MIUI EEA 12.5.1

Granted permission to BSS: Yes, via ADB

Autostart: Yes, enabled autostart

Battery saver: Yes, no restrictions

BSS version: 2.6-382 (99) XDA edition, from AppCenter

Rooted: nope

Logcat (couldnt attach): https://cryptpad.fr/pad/#/2/pad/view/vNayXLuR+OJvdblkUQwfgKpanvCzVgIhgZ-QC2s5tTI/

More details:

* I uninstalled several apps via "Xiaomi ADB/Fastboot Tools":

com.android.browser
com.android.chrome
com.android.providers.downloads.ui
com.android.providers.partnerbookmarks
com.android.soundrecorder
com.facebook.appmanager
com.facebook.services
com.facebook.system
com.google.android.apps.googleassistant
com.google.android.apps.subscriptions.end
com.google.android.apps.wellbeing
com.google.android.calendar
com.google.android.feedback
com.google.android.gm
com.google.android.googlequicksearchbox
com.google.android.inputmethod.latin
com.google.android.youtube
com.mi.android.globalFileexplorer
com.mi.android.globalminusscreen
com.milink.service
com.mipay.wallet.in
com.miui.analytics
com.miui.backup
com.miui.bugreport
com.miui.calculator
com.miui.cloudbackup
com.miui.cloudservice
com.miui.cloudservice.sysbase
com.miui.micloudsync
com.miui.compass
com.miui.fm
com.miui.freeform
com.miui.global.packageinstaller
com.miui.mybrid
com.miui.miservice
com.miui.mishare.connectivity
com.miui.msa.global
com.miui.notes
com.miui.phrase
com.miui.player
com.miui.touchassistant
com.miui.videoplayer
com.miui.weather2
com.miui.yellowpage
com.netflix.partner.activation
com.tencent.soter.soterserver
com.xiaomi.discover
com.xiaomi.glgm
com.xiaomi.joyose
com.xiaomi.mi_connect_service
com.xiaomi.midrop
com.xiaomi.mipicks
com.xiaomi.miplay_client
com.xiaomi.payment
com.xiaomi.scanner

Some exceptions and lines I have in the logcat, so this is easier to find on the forums and you can get a preview:

# logcat fragments
[...]
06-27 10:30:38.220 E/tats_xdaeditio( 5707): failed to connect to jdwp control socket: Connection refused
[...]
06-27 10:30:38.964 E/BatteryStatsProxy( 5707): An exception occured in BatteryStatsProxy(). Message: com.android.internal.app.IBatteryStats.getStatisticsStream [boolean]
06-27 10:30:39.009 E/JavaBinder( 5707): !!! FAILED BINDER TRANSACTION !!! (parcel size = 96)
06-27 10:30:39.009 E/BatteryStatsProxy( 5707): An exception occured in BatteryStatsProxy(). Message: Transaction failed on small parcel; remote process probably died
06-27 10:30:39.010 D/BatteryStatsProxy( 5707): getWakelockStats was called with params [iStatType] = 1
06-27 10:30:39.010 W/tats_xdaeditio( 5707): Accessing hidden method Lcom/android/internal/os/BatteryStatsImpl;->computeBatteryRealtime(JI)J (greylist, reflection, allowed)
06-27 10:30:39.011 E/StatsProvider( 5707): An exception occured processing kernel wakelocks. Message: null
06-27 10:30:39.012 E/StatsProvider( 5707): Exception: com.asksven.android.common.privateapiproxies.BatteryInfoUnavailableException
06-27 10:30:39.012 E/StatsProvider( 5707): at com.asksven.android.common.privateapiproxies.BatteryStatsProxy.computeBatteryRealtime(BatteryStatsProxy.java:600)
06-27 10:30:39.012 E/StatsProvider( 5707): at com.asksven.android.common.privateapiproxies.BatteryStatsProxy.getKernelWakelockStats(BatteryStatsProxy.java:2693)
06-27 10:30:39.012 E/StatsProvider( 5707): at com.asksven.betterbatterystats.data.StatsProvider.getCurrentKernelWakelockStatList(StatsProvider.java:1192)
06-27 10:30:39.012 E/StatsProvider( 5707): at com.asksven.betterbatterystats.data.StatsProvider.populateReference(StatsProvider.java:2622)
06-27 10:30:39.012 E/StatsProvider( 5707): at com.asksven.betterbatterystats.data.StatsProvider.setCurrentReference(StatsProvider.java:2493)
06-27 10:30:39.012 E/StatsProvider( 5707): at com.asksven.betterbatterystats.StatsActivity$LoadStatData.doInBackground(StatsActivity.java:912)
06-27 10:30:39.012 E/StatsProvider( 5707): at com.asksven.betterbatterystats.StatsActivity$LoadStatData.doInBackground(StatsActivity.java:901)
06-27 10:30:39.012 E/StatsProvider( 5707): at android.os.AsyncTask$3.call(AsyncTask.java:394)
06-27 10:30:39.012 E/StatsProvider( 5707): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
06-27 10:30:39.012 E/StatsProvider( 5707): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
06-27 10:30:39.012 E/StatsProvider( 5707): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
06-27 10:30:39.012 E/StatsProvider( 5707): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
06-27 10:30:39.012 E/StatsProvider( 5707): at java.lang.Thread.run(Thread.java:923)
06-27 10:30:39.015 I/System.out( 5707): The method is: public abstract long com.android.internal.app.IBatteryStats.computeChargeTimeRemaining() throws android.os.RemoteException
[...]

Any ideas? I searched and part of the problem (!!! FAILED BINDER TRANSACTION !!!) has something to do with arguments being too long or something like that (https://stackoverflow.com/questions/36007540/failed-binder-transaction-in-android, https://stackoverflow.com/questions...hen-putting-an-bitmap-dynamically-in-a-widget)

Thanks!

Edit 1: added more explanation to where the "No stats collected yet" is shown.

Edit 2: added if the phone is rooted or not (it is not rooted).

Edit 3: uploaded logcat file

Edit 4&5: could not upload logcat, pasted into a pastebin (https://cryptpad.fr/pad/#/2/pad/view/vNayXLuR+OJvdblkUQwfgKpanvCzVgIhgZ-QC2s5tTI/)