Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

3Minit Battery Mod Updated: [03/09/14]

OP gharrington

Yesterday, 03:01 AM   |  #2661  
RomeoAlphaDeltaZulu's Avatar
Junior Member
Thanks Meter: 2
20 posts
Join Date:Joined: Jan 2015
Originally Posted by pas2001

How can i add if you no mention what rom?

I dont mean to mess with this Dev.. his great...
Just add the battery please..
PM sent...
Last edited by RomeoAlphaDeltaZulu; Yesterday at 04:48 AM.
Yesterday, 01:40 PM   |  #2662  
FdeKlerk's Avatar
Senior Member
Flag Johannesburg
Thanks Meter: 90
286 posts
Join Date:Joined: Oct 2013
Thumbs up Fixed for TW LolliPop.

So i have struggled to get this working, and my error logs looked similar to some of yours.

So i modified and changed my apktool to rc2 got the correct smali files and managed to get this working 100%.

These three red lines are the only lines to change and add.

<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="@dimen/battery_icon_bottom_margin" android:alpha="0.74" android:layout_marginStart="3.0dip" />
		<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
and then copy the .smali files from the .zip file to:

compile and done!

My .zip file.
Last edited by FdeKlerk; Yesterday at 01:44 PM.
Yesterday, 02:17 PM   |  #2663  
pas2001's Avatar
Senior Member
Flag Bangkok
Thanks Meter: 2,371
2,147 posts
Join Date:Joined: May 2013
Donate to Me
Just wanna tell that update "how to" part in op. so hope you guys no confuse any more.
The Following 2 Users Say Thank You to pas2001 For This Useful Post: [ View ]
Post Reply Subscribe to Thread

3 minit, battery mods
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes