Giter VIP home page Giter VIP logo

Comments (6)

lazymonkey2 avatar lazymonkey2 commented on July 18, 2024 3

happens to me too.

from betterbatterystats.

maalos avatar maalos commented on July 18, 2024 2

i don't have any stats either

from betterbatterystats.

ssjason123 avatar ssjason123 commented on July 18, 2024 1

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.

sergentum avatar sergentum commented on July 18, 2024

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.

birdie-github avatar birdie-github commented on July 18, 2024

Dupes:

#913
#915
#921

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.

dev

from betterbatterystats.

SiddharthManthan avatar SiddharthManthan commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.