Hi, Sorry for the late reply. In older Android versions we were able to look at different parts of the phone to check if any of them contained the battery info we needed. In Android 7 the security has been changed so the workaround is no longer possible. Now the only way left to get the battery info is via the official battery manager API. This is the usual location and works fine on most devices, unfortunately your device manufacturer hasn't implemented this or hasn't implemented it correctly on your particular phone model. We would need the battery information to be available under:
BATTERY_PROPERTY_CURRENT_AVERAGE
or
BATTERY_PROPERTY_CURRENT_NOW
https://developer.android.com/reference/android/os/BatteryManager.html#getIntProperty(int)
When calibration fails it means the manufacturer didn't store the information there. I would recommend that you check with your manufacturer if they are willing to improve on this for future releases. Kind regards, Chad ---
AccuBattery help center: https://accubattery.zendesk.com/hc/en-us Do you like AccuBattery? Please rate us on the Google Play Store:
https://play.google.com/store/apps/details?id=com.digibites.accubattery&referrer=utm_source%3Dandroidworld.nl%26utm_content%3Dbatch Follow us on Facebook, Twitter, or Google+ for the latest news!
Facebook: https://www.facebook.com/accubattery/
Google+: https://plus.google.com/102635134417653686861
Twitter: https://twitter.com/accubatteryapp
|