Comments (6)
happens to me too.
from betterbatterystats.
i don't have any stats either
from betterbatterystats.
Not sure if I should open a new issue but I am having the same "No stats have been collected yet" issue, but the stack trace is different:
Build.VERSION.RELEASE: 9
Build.BRAND: lge
Build.DEVICE: lucye
Build.MANUFACTURERLGE
Build.MODEL: VS988
Build.VERSION.SDK_INT: 28
invoking android.os.ServiceManager.getService("batterystats")
android.os.ServiceManager.getService("batterystats") returned a service binder
invoking com.android.internal.app.IBatteryStats$Stub.asInterface
resolving getStatisticsStream(boolean)
FAILED
falling back to getStatisticsStream()
FAILURE: an unhandled exception occured
STACK TRACE
java.lang.NoSuchMethodException: getStatisticsStream []
at java.lang.Class.getMethod(Class.java:2068)
at java.lang.Class.getMethod(Class.java:1690)
at com.asksven.betterbatterystats.DiagnosticsActivity.diagGetService(DiagnosticsActivity.java:192)
at com.asksven.betterbatterystats.DiagnosticsActivity.onResume(DiagnosticsActivity.java:95)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1413)
at android.app.Activity.performResume(Activity.java:7315)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3939)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3979)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1864)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:205)
at android.app.ActivityThread.main(ActivityThread.java:6991)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:884)
from betterbatterystats.
Dupes:
This app is incompatible with Android 14. Here's what the developer says:
you have not heard a lot from me in the last weeks but I have not been inactive: I am just hitting a wall. The way Android was providing access to battery stats in the past has been changed in Android 14, not letting me access BatteryStatsImpl anymore: this class (com.android.server.power.stats.BatteryStatsImpl) still exists but is not in the path of the classLoader anymore, i.e. it can not be loaded.
I have spent days and days trying to find another way to access the stats but am hitting a wall right now. If anyone has connection to any other dev of an app in the same niche and who has achieved supporting Android 14 I would be very happy if you could reach out and establish a direct contact to get things sorted and gain some knowledge. I believe in the community and am confident that we help each other to progress in the fight against google making our lives more difficult with each release.
from betterbatterystats.
I have the same issue:
All rights are granted, the only issue I see: inconsistent tx state lengths
Samsung galaxy s20fe 5g snapdragon, bootloader locked, non rooted.
oneui 5.1, adnroid 13, security level 1 Nov 2023
from betterbatterystats.
I am getting the same error on Android 13, samsung F23 5G. It shows since boot toast and then no stats have been collected yet.
from betterbatterystats.
Related Issues (20)
- crash on opening the settings
- Add screenshots of the application HOT 2
- OutOfMemoryError after giving permission HOT 1
- Reference from or to are empty: (ref_boot, ref_current) HOT 1
- Fallback to 'since boot', No stats have been collected HOT 4
- Android 14 vs BATTERY_STATS HOT 4
- immediate crash on samsung galaxy a54 (android 13) HOT 2
- can't grant BATTERY_STATS DUMP PACKAGE_USAGE_STATS HOT 1
- App cannot be removed HOT 3
- Cant go to app HOT 3
- REQUEST: Battery health
- Not working on Pixel 8 Pro with Android 14 HOT 1
- [DOCS] Add F-Droid badge to Readme HOT 1
- [DOCS] Add Google Play badge to Readme
- [QUESTION] Why there wasnt new lately commits/releases? Is the project dead? HOT 1
- Add link to Github to About page
- adb -d shell settings put global hidden_api_policy 1 still shows Private APIs not granted HOT 4
- Add a shell script to the repository, containing all the adb commands for rootless devices
- Diagnostics shows error: BBS not tracking data HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from betterbatterystats.