Dear All

Good Morning!

I am working on the following :

Android ICS 4.0.3

Beagleboard-xm  Rev C , DM37x

I am customizing android 4.0.3 to the native device, where i want to remove the the "batteryicon" which come on the HomeScreen.

i saw in some blogs stating that "batteryIcon" can be removed by adding  the code  " service.setIconVisibility(mBatteryIcon , false);" in the following file.

frameworks/base/services/java/com/android/server/status/ StatusBarPolicy.java.

Followed this link to remove the BatteryIcon: (but of no use)
https://groups.google.com/forum/#!msg/android-porting/TPa4h2o6F30/nk3tuqsNh3MJ

When i searched for the file StatusBarPolicy.java in both Android Gingerbread 2.3.4 and IceCreamSandwich 4.0.3 of Android, i am not able to find the file StatusBarPolicy.java
and there is no folder called "status" where this file should be in any of the "frameworks" folder.


what i want :

Please let me know how to remove the "BatteryIcon" in both GingerBread 2.3.4 and IceCreamSandwich 4.0.3 of android, i.e., in which file and what has be commented
so that "BatteryIcon" should be made non visible.

Regards

Aslam