Problem With Settings/batterie ....


Feb 20, 2017
14
3
15
#1
My Mi Pad crashes if I chose batterie in settings.
Is it a local problem with my pad or can anybody confirm the bug too?

java.util.IllegalFormatConversionException: d != java.lang.String
at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4135)
at java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:2832)
at java.util.Formatter$FormatSpecifier.print(Formatter.java:2786)
at java.util.Formatter.format(Formatter.java:2497)
at java.util.Formatter.format(Formatter.java:2426)
at java.lang.String.format(String.java:2670)
at android.content.res.Resources.getString(Resources.java)
at com.android.settingslib.m.bUQ(BatteryInfo.java)
at com.android.settingslib.m.bUP(BatteryInfo.java)
at com.android.settings.fuelgauge.BatteryHistoryPreference.azG(BatteryHistoryPreference.java)
at com.android.settings.fuelgauge.PowerUsageBase.axM(PowerUsageBase.java)
at com.android.settings.fuelgauge.PowerUsageSummary.axK(PowerUsageSummary.java)
at com.android.settings.fuelgauge.PowerUsageSummary.onResume(PowerUsageSummary.java)
at android.app.Fragment.performResume(Fragment.java)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java)
at android.app.BackStackRecord.run(BackStackRecord.java)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java)
at android.app.FragmentManagerImpl$1.run(FragmentManager.java)
at android.os.Handler.handleCallback(Handler.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
 

ingbrzy

Xiaomi.eu ROM leader
Staff member
Feb 11, 2012
9,153
22,395
322
#4
Is it ok on English language? If yes, report it to your language repository as it's translation issue..

~Tapatalk~
 
Feb 20, 2017
14
3
15
#5
i have tested with english system language an there is no fault with batterie menu,.
when i revert to german the bug is also back .

hopefully it will be fixed in next builds