• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

[Verizon] Get rid of battery icon

Is there any way to get rid of the battery icon? I have looked but there seem to be no mods to do it and I have no idea what i would need to edit to get rid of it.

Thanks,
Nkk

It can be done, but I can't tell you what to edit. There are no mods I know of atm that does this.

I'm learning myself, how to create new battery icons at the UOT kitchen, create to a generic CM7 ROM, extract the images with 7zip and reload into an already put together zip'd battery flashable mod. If you did blank images you'd have a blank space.

If I hear anything or can get any tips from the guys that do this 24/7 I'll be happy to let you know.
 
Upvote 0
I think the easiest way would be using transparent or black PNG files for the battery icons in the systemUI.apk

Unless you are running a mod that moves the clock it will still leave a funny looking space between the signal bars and the clock.

After the apk has been edited you would need to adb push it to /system/app or make a flashable zip.
 
  • Like
Reactions: jbdan
Upvote 0
I was trying to avoid that awkward gap. Does anyone know if the widths for each image are set? If I replace the current images with an image that is 1 pixel wide, would that work? I suspect the image width is defined somewhere else, but if the status bar arrangement is not so static, that might work.

Thanks,
Nkk
 
Upvote 0
I was trying to avoid that awkward gap. Does anyone know if the widths for each image are set? If I replace the current images with an image that is 1 pixel wide, would that work? I suspect the image width is defined somewhere else, but if the status bar arrangement is not so static, that might work.

Thanks,
Nkk

I am not sure. I don't think the gap is set somewhere else but by the icon so the 1 pixel wide image may work fine. Some roms/mods allow for a center clock or a hidden clock so you may want to see if you can find some of those.
 
  • Like
Reactions: nkk
Upvote 0
Sorry I can't be of help, but can I ask why? I am puzzled.

Becuase I can. :p

Really it is because I use battery indicator, which puts up a persistent notification on the left of the notification bar. It is annoying to have two battery indicators, and I like to have all info that I just glance at on the left (mainly weather and battery% and whatever transient notifications I have since I last cleared). Just a personal preference/quirk.

-Nkk
 
Upvote 0
It can be done, but I can't tell you what to edit. There are no mods I know of atm that does this.

I'm learning myself, how to create new battery icons at the UOT kitchen, create to a generic CM7 ROM, extract the images with 7zip and reload into an already put together zip'd battery flashable mod. If you did blank images you'd have a blank space.

If I hear anything or can get any tips from the guys that do this 24/7 I'll be happy to let you know.

The battery icon .png files are located in /res/drawable-hdpi and /res/drawable-xhdpi for me on a CM9 kang in the /system/framework/framework-res.apk file [Edit: It seems these .png files do nothing, but the ones in /system/app/SystemUI.apk are used]

It's been awhile since I've played around in there, and I think the ROM has to be deodexed for it to work (ie: won't work on stock ROM).

I was thinking you may be able to just replace them with 0kb files to get the desired effect.

Sorry I can't be of help, but can I ask why? I am puzzled.

Can't answer for the OP, but I use the Beautiful Widgets battery widget, so the battery icon in the notification panel is a little redundant.
 
Upvote 0
So I did a nandroid and just went and deleted all of the battery images from the SystemUI.apk (under ./res/drawable-xhdpi). It seemed to work.

Before:
Screenshot_2012-01-03-13-43-27.png



After:
Screenshot_2012-01-07-23-54-06.png



There is some sort of awkward gap, but not as large as a regular icon, so I do not know how to get rid of it. Overall, I am happy with how this worked.

Also, note that that before pic is old, so other things like the softkey color have changed, but were not changed with the battery icon.

Next up is to figure out how to make a Battery indicator pro theme apk to make those numbers cyan like everything else. Then, on to the weather.

Thanks for the help,
Nkk

EDIT: I think there are some problems with selections in the app drawer. Cant decide if it is real or my imagination. Will report back soon.

EDIT: So I put back the original SystemUI.apk and it seems the lag was my imagination. It was not even lag, just the smallest hesitation. Anyway, this did work, and I consider it a success.
 
  • Like
Reactions: Yeahha and jbdan
Upvote 0
Making the indicators blue will be more difficult. If you are lucky it will be an XML edit but more than likely is will require a smali edit. It may be easier to contact the dev of the app to see if they will help or give suggestions.

Glad the systemUI edit works. Looks good.
 
  • Like
Reactions: nkk
Upvote 0
Making the indicators blue will be more difficult. If you are lucky it will be an XML edit but more than likely is will require a smali edit. It may be easier to contact the dev of the app to see if they will help or give suggestions.

Glad the systemUI edit works. Looks good.

That is what i thought, but on further investigation it seems the dev of battery indicator has made different themes into apk files and the notification is an image (not text), so all I really have to do is take the apk that he made and replace all of the images with what I want (keeping the names, of course).

Will try later (in a few days).

Thanks for all the help,
Nkk
 
Upvote 0
What ROM are you on, OP? If, by chance, you're on RootzBoat check out this MIUI Battery Bar. If you flash the "no stock icon" the battery bar won't show up until you enable it in the batterybarsettingsv4.apk which would leave you with no battery, but the option to add either the bar or stock image back rather easily

AXI0M 2.4.

can the clock be removed in the same way, that is just yanking out .png's?

I do not think so. Whereas the battery is just a changing static image, the clock is dynamic text (i.e. the text is made on the spot, it is not just displaying a picture of text for a given time). I do know that in my search I found a bunch of ways to get rid of the clock, so that is much better documented. I forget where, but if you do a search of xda (use google and search "remove clock notification android site:xda-developers.com" without quotes) you should find it.

-Nkk
 
Upvote 0
so, for the record, i should be able to do this...

- nandroid
- use UOT kitchen to create battery images the way i want them
- pull systemui.apk
- replace the battery icon images with the ones i want
- push systemui.apk

will that work or is there something else i need to do? i'm stock, rooted, unlocked...
 
Upvote 0
I have not used the UOT, but from what I understand it will give you a flashable zip, not a bunch of image files. So, that may not work.

It would be more like:
Go to UOT
choose mod for battery icons
give applicable files (just systmeui.apk for battery only)
download

Alternatively, just get the image files you want (proper resolution and all). Then copy SystemUI.apk unzip it, replace the old files with new (keeping names for correspoding files the same), zip it up and rename to .apk and push to /system.

-Nkk
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones