This mod allows you to view an increasing 1,070 battery types, from different users. With a single click, the battery will download and set itself on to the status bar.

Storage space is not affected by thousands of unused .png's. They're stored on a server and the App only downloads the type you use.

 



 


1.Install app. (Do this first or you will get SystemUI FC).

2.Decompile SystemUI.apk and navigate to: res/layout/status_bar.xml (for some older samsung devices: tw_status_bar.xml)

Use apktool v1.5.2 or you may get recompile errors

3. Look for the line that contains:
 

Code:
<android:id="@id/battery

If your line starts with:
 

Code:
<com.android.systemui.BatteryMeterView

Change to the whole line to:
 

Code:
<com.android.systemui.statusbar.policy.MinitBattery android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />

If your line starts with:
 

Code:
<ImageView

Find: 

Code:
android:layout_width="wrap_content" and android:layout_height="wrap_content"

And change to:
 

Code:
android:layout_width="0.0dip" and android:layout_height="0.0dip"

then directly under this line add:
 

Code:
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />

4.Download the mod smali files and place them in smali/com/android/systemui/statusbar/policy folder.

5.Recompile and set permissions.

Here is a how to video made by @carl1961 thanks.

 


You are free to use and bake this mod and app into your rom provided you give full and proper credits and you provide a link to this thread. Also, you cannot alter in any way without permission from me first.

This is not a open source project and I share with you as is. All codes belong to me and are copyrighted.
 


App and smali files