Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,579 Members 43,913 Now Online
XDA Developers Android and Mobile Development Forum

[XPOSED][2.3+][1.2] X-Battery Stats Colors - Change Battery Graph Colors

Tip us?
 
iamareebjamal
Old
(Last edited by iamareebjamal; 31st July 2014 at 05:00 AM.) Reason: 1.2 released
#1  
iamareebjamal's Avatar
Recognized Contributor / Themer - OP
Thanks Meter 4,701
Posts: 3,604
Join Date: Aug 2012
Location: Batcave
Default [XPOSED][2.3+][1.2] X-Battery Stats Colors - Change Battery Graph Colors

X-Battery Stats Colors




XBSC allows you to change the color of your Battery Stats Graph in Settings>Battery .


You can either write a hex color in text field or choose from the color picker.


You can change the transparency through the slider or manually by typing hex code for transparency in the first text field, and click on the Tick button to preview your changes.

If you want to apply them, click on the Apply button.

Battery Mode

XBSC allows you to change Battery Stats colors according to Battery Level (Now works on ICS+ too)


Choose colors for different battery levels by color picker and click Apply to change to your preference.
You can also click undo button to revert to original colors.







Credits
* @rovo89 for this awesome Xposed which allows us to mess with Android and for his development tutorial, and every other help or resource taken from his works or projects which allowed this module to be completed.

* @GermainZ for bearing my annoying questions and helping me in getting rid of my noobish errors.

* stackoverflow for each and every question that matched mine and each and every answer that helped me.

* @Giupy 99 for helping me miscellaneously and testing the module thoroughly.

* AIDE for providing some time pass on phones too.

* Android Team for adding non-functional APIs since API version 3 and telling to add functionality later.

* @srt99, @amogh420, @Giupy 99, @GermainZ for testing the module.

* Jake Wharthon for ActionBarSherlock, Lars Werkman for HoloColorPicker

* @t2107 for Guide on developing modules on AIDE
The Following 29 Users Say Thank You to iamareebjamal For This Useful Post: [ Click to Expand ]
 
e-note-icon
Old
#2  
e-note-icon's Avatar
Senior Member
Thanks Meter 45
Posts: 138
Join Date: Jan 2013
Thx verry nice one..

Gesendet von meinem SM-N9005 mit Tapatalk
 
zamzameir
Old
#3  
zamzameir's Avatar
Senior Member
Thanks Meter 263
Posts: 284
Join Date: Sep 2013
Location: Kuala Lumpur

 
DONATE TO ME
maybe you can add more later instead of graph only once again, great job

Hammerhead
Mako
Maguro

" Nexus ; lead the way "
The Following User Says Thank You to zamzameir For This Useful Post: [ Click to Expand ]
 
iamareebjamal
Old
#4  
iamareebjamal's Avatar
Recognized Contributor / Themer - OP
Thanks Meter 4,701
Posts: 3,604
Join Date: Aug 2012
Location: Batcave
Quote:
Originally Posted by zamzameir View Post
maybe you can add more later instead of graph only once again, great job
You mean only the Graph and not the bars are themed?

I can't understand what you're saying?
The Following 2 Users Say Thank You to iamareebjamal For This Useful Post: [ Click to Expand ]
 
mauam
Old
#5  
mauam's Avatar
Senior Member
Thanks Meter 6,738
Posts: 4,177
Join Date: Jan 2011
Simply awesome
The Following User Says Thank You to mauam For This Useful Post: [ Click to Expand ]
 
zamzameir
Old
#6  
zamzameir's Avatar
Senior Member
Thanks Meter 263
Posts: 284
Join Date: Sep 2013
Location: Kuala Lumpur

 
DONATE TO ME
Quote:
Originally Posted by iamareebjamal View Post
You mean only the Graph and not the bars are themed?

I can't understand what you're saying?
ah sori. I mean this outside bar
https://app.box.com/s/roz0vkg0n6ddnzd4p3b2

Hammerhead
Mako
Maguro

" Nexus ; lead the way "
 
iamareebjamal
Old
#7  
iamareebjamal's Avatar
Recognized Contributor / Themer - OP
Thanks Meter 4,701
Posts: 3,604
Join Date: Aug 2012
Location: Batcave
Quote:
Originally Posted by zamzameir View Post
ah sori. I mean this outside bar
https://app.box.com/s/roz0vkg0n6ddnzd4p3b2
Ahh. That.

Yeah, it's LinearColorBar, that's also planned for future, but after fixing Battery Mode and adding options for separate colors for Graph and bars
 
chrisch91
Old
#8  
chrisch91's Avatar
Senior Member
Thanks Meter 21
Posts: 248
Join Date: Mar 2013
Not working for me even after rebooting, what am i doing wrong? I'm on stock 4.4
 
iamareebjamal
Old
#9  
iamareebjamal's Avatar
Recognized Contributor / Themer - OP
Thanks Meter 4,701
Posts: 3,604
Join Date: Aug 2012
Location: Batcave
Quote:
Originally Posted by chrisch91 View Post
Not working for me even after rebooting, what am i doing wrong? I'm on stock 4.4
Which phone are you on? Maybe non AOSP manufacturers have changed the Battery Stats code
The Following User Says Thank You to iamareebjamal For This Useful Post: [ Click to Expand ]
 
chrisch91
Old
#10  
chrisch91's Avatar
Senior Member
Thanks Meter 21
Posts: 248
Join Date: Mar 2013
Nexus 5. I'm on aosp.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes