Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Replacing the battery indicator (Android)

There's an open source battery indicator that I greatly prefer to the default one. I was wanting to modify it to replace the default battery indicator. Is this even possible without building a whole custom ROM?

battery indicator screenshot

like image 426
Jeremy Logan Avatar asked Feb 11 '26 07:02

Jeremy Logan


2 Answers

Yes, it is possible to do without building a new custom ROM, but you still need root access. the .png files for the battery indicator are in the framework-res.apk, you can extract that, replace just the .png files for the battery and put it back with approriate access rights and it will work. kinda like the process to just can change the "Verizon Wireless" (or other carrier) text on the lock screen.

like image 121
John Avatar answered Feb 15 '26 15:02

John


I do not believe it is possible without building a whole custom ROM.

like image 37
CommonsWare Avatar answered Feb 15 '26 15:02

CommonsWare



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!