Here's how to completely remove the battery icons on eclipse:
To remove the battery icon from the status bar completely you need to edit the smali code in SystemUI.apk.
Here's my status bar on Eclipse 2.0.4 now:
Decompile SystemUI.apk using apktool, apkmanager, ets. whatever you like.
Then open up \smali\com\android\systemui\statusbar\policy\Statu sBarPolicy.smali
Go to line 4658 and replace this:
Code:
invoke-virtual {v4, v5, v0, v1}, Landroid/app/StatusBarManager;->setIcon(Ljava/lang/String;II)V
with this:
Code:
invoke-virtual {v4, v5, v6}, Landroid/app/StatusBarManager;->setIconVisibility(Ljava/lang/String;Z)V
But if don't want to go though all of that you can take this classes.dex and insert it into your SystemUI.apk using 7zip or winrar. The flash it in or push with adb or whatever method you use.
Here's the classes.dex file. It came from Eclipse 2.0.4 but will probably work with 2.0.3 (probably older version too).
classes.dex
Later
Galaxy S3 - My own BTS ROM 
Galaxy Nexus - My own AOSP ROM JellyWig v3.1 
Nexus 7 - My own AOSP ROM JellyWig v3.1 
Motorola Droid - CM7 (where did I put that thing again?)
|